LuaEdit is an IDE, debugger and editor of Lua scripts.
Questions tagged [lua-edit]
4 questions
3
votes
1 answer
read line on Gideros without carriage return
I tested the following code on LuaEdit and stores a string just like I want it.
local lineVal = myFile:read("*line")
However when I test it in Gideros, it stores a string with the line plus a carriage return, which I don't need. How do I get only…

Adocad
- 731
- 1
- 11
- 27
2
votes
1 answer
Simple script doesn't show anything on the Output in LuaEdit
I've just started learning Lua by my own. I'm working with LuaEdit And I can't test this simple script:
print (5)
Nothing shows on the output. Please help.
Aditional info:
I'm following this tutorial http://lua.gts-stolberg.de/en/Mathe.php. And it…

Adocad
- 731
- 1
- 11
- 27
1
vote
0 answers
luaedit 3..0.10 will not show output from simple script
I am trying to get output from my first script in luaedit 3.0.10 and not having much success. I'm using the sample script from the online tutorial at http://lua.gts-stolberg.de/en/Mathe.php to wit:
a = 2 + 1
print (a)
I'm running luaedit under…

Jeff Mullen
- 31
- 2
1
vote
1 answer
Why if-elseif-else statement in Lua is not working in function?
I have a problem with elseif, which is used in Lua function. I am using LuaEdit 2010 on Windows and in case of first code, the program freezes. The second one works but is pretty ugly and incase of more elseifs also pretty unusable. I think it…

Hrablicky
- 143
- 1
- 9