Page 1 of 1

Is CHR$(0) a valid character in iOS?

Posted: Sat Feb 07, 2015 4:06 am
by Dav
I noticed working in smart basic that CHR$(0) doesn't register as a byte. Coming from PC, CHR$(0) is a useable byte. Is CHR$(0) not a character in iOS?

Example below, in PC basics, a$ holds a length of 1 byte, but in smart basic it is 0.

Code: Select all

a$=chr$(0)
Print len(a$)
- Dav