331 posts
Posted 19 August 2013 - 04:09 AM
how do I get all characters in CC, I know you have to use string.char(byte) but how do you only get the ones in CC
758 posts
Location
Budapest, Hungary
Posted 19 August 2013 - 05:40 AM
What do you mean by "the ones in CC"? Anyways, here's
a 7-bit ASCII chart (don't mind the first 32 characters, those are not printable) (nor is #127, DEL). Based on that, a capital A has the ASCII value of 65, so "A" is the same as string.char(65).
331 posts
Posted 19 August 2013 - 06:32 AM
thanks I thought I tried this before and it errored and I could only use for I = 1, 26 do print(string.char(64+i)) end to get all letters