04-19-2010, 07:52 PM
I realized that some comparations with string lenghts return different values than in Sinclar Basic:
Why?
Code:
dim text as string
let text="A"
print len(text)=1 ' prints 0!
print len(text)=len(text) ' prints 255!
print 2=2 ' prints 1 as expected
Why?
Marcos Cruz
http://programandala.net
http://programandala.net