gitwalrus [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=14554 Strange syntax error... <p>if state==0 then<br /> if btn(5) then state=1 end<br /> elseif state==1<br /> ...<br /> end</p> <p>^ This gives me a syntax error for an unknown reason... It says: syntax error line 11: if btn(5) then state=1 end 'then' expected near 'if'.</p> <p>What is that all about?</p> https://www.lexaloffle.com/bbs/?tid=3896 https://www.lexaloffle.com/bbs/?tid=3896 Thu, 21 Jul 2016 19:46:12 UTC