benanders / LuaIDE

An in-game IDE for ComputerCraft
MIT License
43 stars 9 forks source link

&& crash in if statement #42

Closed mees- closed 10 years ago

mees- commented 10 years ago

when using "&&" signs in an if statement the in-app error aid will show up saying there's something wrong and luaIDE wont run the file

benanders commented 10 years ago

That's because && is invalid syntax in lua. && as an and statement doesn't exist like in most other languages. You have to use "and"