I need to set up 26 keyboard characters in code.
I can't seem to find an equivalent of
for "loop" = 0 to 25 do
KeyboardLetter set text chr(loopindex+97)
How can I do the chr bit?
Develop games in your browser. Powerful, performant & highly capable.
this will result in a string.
try str() to convert a string to a number.
Sorry, I wasn't clear I want the number to be converted to its ascii character
i.e., 65 would be "A" and 97 would be "a"
Ok I am not sure if this is the best way but this seems to work
where temp goes from 97 to (97+26)
Browser.ExecJS("String.fromCharCode("&temp&")")