Log In  


@zep This maybe isn't a bug, but it feels very weird to me:

cls()
if (1)<2 print"a"
print"b"

this prints a b, but I would expect a syntax error instead -- the condition is "1<2" but the if-shorthand parens are only surrounding the 1, instead of the whole condition.

(if you change it to if (1)<0 then it only prints "b", which verifies that the condition isn't being interpreted as just if (1) or something like that)

oh, and my system is pico8 0.2.6b / linux

4



[Please log in to post a comment]