Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
20
Task/Show-ASCII-table/Draco/show-ascii-table.draco
Normal file
20
Task/Show-ASCII-table/Draco/show-ascii-table.draco
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
proc write_item(byte n) void:
|
||||
*char chrstr = "* ";
|
||||
chrstr* := pretend(n, char);
|
||||
write(n:3, " : ",
|
||||
case n
|
||||
incase 32: "Spc "
|
||||
incase 127: "Del "
|
||||
default: chrstr
|
||||
esac)
|
||||
corp
|
||||
|
||||
proc main() void:
|
||||
byte row, col;
|
||||
for row from 32 upto 47 do
|
||||
for col from row by 16 upto 127 do
|
||||
write_item(col)
|
||||
od;
|
||||
writeln()
|
||||
od
|
||||
corp
|
||||
Loading…
Add table
Add a link
Reference in a new issue