Log In  
Follow
gitwalrus
[ :: Read More :: ]

if state==0 then
if btn(5) then state=1 end
elseif state==1
...
end

^ 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'.

What is that all about?

P#25696 2016-07-21 19:46 ( Edited 2016-07-21 23:46)