Is CHR$(0) a valid character in iOS?
Posted: Sat Feb 07, 2015 4:06 am
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.
- Dav
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$)