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

Post Reply
User avatar
Dav
Posts: 279
Joined: Tue Dec 30, 2014 5:12 pm
My devices: iPad Mini, iPod Touch.
Location: North Carolina, USA
Contact:

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

Post 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

Post Reply