|LUA development tools not running in order [message #1014567]
||Mon, 25 February 2013 23:08
| austin anderson
Registered: February 2013
Hello people of the internet|
i recently got started working with lua, and the LuaDevelopmentTools are a big help. the only problem is, it doesn't run in the right order whenever I use io.read. whenever I use io.read, the program asks for input before any of the other code runs.
i tried a simple code, and it wouldn't work:
print("Enter a Number ")
x = io.read()
print(Your Number is: " .. x)
i even tried it using io.write instead of print
thanks for any help!
P.S: i don't know if i posted this on the right forum, so sorry if I did
Powered by FUDForum
. Page generated in 0.06615 seconds