Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By matherp
#32766 Hi

Please could you consider adding the normal Basic ASC and CHR($) functions to the interpreter.
ASC returns the ascii value of the first character in a string
CHR returns a single character string that represents the ascii character interpretation of the number in the brackets

mystr = "01"
print asc(mystr) ' outputs 48
mystr = chr(48)
print mystr ' outputs 0

thanks
User avatar
By Mmiscool
#32791 Functions added. Grab the latest version.

asc() and chr() have been added.


Have fun.