Create your own ASCII chart
Posted: Sun Sep 03, 2006 8:12 pm
Code updated For 5.20+
A small snippet that i used to create the ASCII chart in my book.
Might be useful for people who want to create their own for docs/webpages/etc...
A small snippet that i used to create the ASCII chart in my book.
Code: Select all
If CreateFile(1, "ASCII Table.txt")
For x = 0 To 255
WriteStringN(1, Chr(x) + #TAB$ + Str(x) + #TAB$ + RSet(Hex(x), 2, "0") + #TAB$ + RSet(Bin(x), 8, "0"))
Next x
CloseFile(1)
EndIf