Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
17
Task/Show-ASCII-table/Objeck/show-ascii-table.objeck
Normal file
17
Task/Show-ASCII-table/Objeck/show-ascii-table.objeck
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
class AsciiTable {
|
||||
function : Main(args : String[]) ~ Nil {
|
||||
for(i := 32; i <= 127 ; i += 1;) {
|
||||
if(i = 32 | i = 127) {
|
||||
s := i = 32 ? "Spc" : "Del";
|
||||
"{$i}:\t{$s}\t"->Print();
|
||||
}
|
||||
else {
|
||||
c := i->ToChar();
|
||||
"{$i}:\t{$c}\t"->Print();
|
||||
};
|
||||
if((i-1) % 6 = 0 ) {
|
||||
"\n"->Print();
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue