Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
16
Task/Show-ASCII-table/Wren/show-ascii-table.wren
Normal file
16
Task/Show-ASCII-table/Wren/show-ascii-table.wren
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import "/fmt" for Fmt
|
||||
|
||||
for (i in 0...16) {
|
||||
var j = 32 + i
|
||||
while (j < 128) {
|
||||
var k = "%(String.fromByte(j))"
|
||||
if (j == 32) {
|
||||
k = "Spc"
|
||||
} else if (j == 127) {
|
||||
k = "Del"
|
||||
}
|
||||
System.write("%(Fmt.d(3, j)) : %(Fmt.s(-3, k)) ")
|
||||
j = j + 16
|
||||
}
|
||||
System.print()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue