rjpcomputing / luaforwindows

Lua for Windows is a 'batteries included environment' for the Lua scripting language on Windows. NOTICE: Looking for maintainer.
2.93k stars 485 forks source link

IF Without THEN while THEN is present #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by aandrewr...@gmail.com on 3 Jan 2012 at 8:45

GoogleCodeExporter commented 9 years ago
oops sorry pressed enter... -_- /facepalm
What steps will reproduce the problem?
1. type in either scite or lua.exe a phrase such as "if n = nil then..."

What is the expected output? What do you see instead?
it should be using then to output a specific circumstantial return however no 
matter what i try it says "lua: mathlib.lua:2: 'then' expected near '='"

What version of the product are you using? On what operating system?
latest release on windows 7 x86

Please provide any additional information below.
I am such a fan of the luaforwindows series and i would highly appreciate if 
not donate if you get it back up again... please? :{

Original comment by aandrewr...@gmail.com on 3 Jan 2012 at 8:48

GoogleCodeExporter commented 9 years ago
if n==nil then

Original comment by mahuja...@gmail.com on 27 Jan 2012 at 11:10

GoogleCodeExporter commented 9 years ago
yes thanks a bunch for responding lol... quite a stupid mistake I found it
out like the very next day

Original comment by aandrewr...@gmail.com on 28 Jan 2012 at 6:57