A bit more examples there it could break.

LB allows integer in IF condition, 0/not 0 style

But with real numbers it breaks (error in itself IMHO)

With this, you can unadvertedly get real number.

BUT once saved in a variable, it turns to normal integer value (no more problems)...

**Code:**'0 is false
'not 0 is true
x = 1
if x then print "true" else print "false"
x = 0
if x then print "true" else print "false"
'now, check for number/not number
x=val("3 penny")
if x then print "true" else print "false"
'!! dies because one cannot use real number as a IF condition
'if val("3 penny") then print "true" else print "false"
'as well as
x=val("pennyless")
if x then print "true" else print "false"
'!! dies because one cannot use real number as a IF condition
'if val("pennyless") then print "true" else print "false"