Show ASCII table: Difference between revisions

Content added Content deleted
 
Line 4,136: Line 4,136:
for .j = 31 + .i ; .j < 128 ; .j += 16 {
for .j = 31 + .i ; .j < 128 ; .j += 16 {
val .L = switch(.j; 32: "spc"; 127: "del"; cp2s .j)
val .L = switch(.j; 32: "spc"; 127: "del"; cp2s .j)
write $"\{.j:3} : \{.L:-4}"
write "{{.j:3}} : {{.L:-4}}"
}
}
writeln()
writeln()
}
}</syntaxhighlight>
</syntaxhighlight>


{{out}}
{{out}}