Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
values returned by comparations
#3
programandala.net Wrote:
Code:
print len(text)=1 ' prints 0!

It prints 255, not 0. That was my fault, sorry. The original test had a former line that modified the variable:

Code:
let text=text( to len(text)-2+(len(text)=1)) ' doesn't work because:
print len(text)=1 ' prints 0!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)