if I run the code
for i=1,2...127 I obtain what I expect, that is to display the same value I stored in "CurrentCharacter". After 127 however things start getting weird. For i=128 for example it returns me 65408, for 256 it returns an empty variable, while for 257 it returns 1.
I know 127 are the ASCII character, but is there a way to avid this behavior?
The reason I want to set
is that in the middle of a script I have a "" loop with
I would like to set a popup menu with the callback
in order to trigger an option in the while loop. Of course I want to set a character that the user will NEVER trigger by itself and char(65401) was actually a good candidate...