ASC and CHR$ functions
Posted: Sun Nov 01, 2015 2:39 pm
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
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