x=27
y=27
if x=y then print "The same!" else print "Different!"
end
results in: "Comparaison between string and number!" on lines 2 and 3.
x=0
y=0
x=27
y=27
if x=y then print "The same!" else print "Different!"
end
gives the same error on lines 2, 4 and 5. However...
x = 27
y = 27
if x=y then print "The same!" else print "Different!"
end
results in "The same!" (ie the correct result)
According to the latest documentation,
Spaces are don’t care :
A = 5 + 3 is the same as a=5+3
Clearly this is not the case!
Phil