Skip to main content



      Home
Home » Archived » Lua Development Tools » LUA development tools not running in order(LuaDevelopmentTools not running in order)
LUA development tools not running in order [message #1014567] Mon, 25 February 2013 23:08 Go to next message
Eclipse UserFriend
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
Re: LUA development tools not running in order [message #1014777 is a reply to message #1014567] Tue, 26 February 2013 07:55 Go to previous message
Eclipse UserFriend
Hi Austin,

It's the right forum Smile

LDT execute code in the right order, it's just that your stdout buffer policy is not configurate for your need.

More information on this topic: http://www.eclipse.org/forums/index.php/mv/msg/453033/1009733/#msg_1009733

Marc
Previous Topic:LDT doesn't show up (ubuntu)
Next Topic:Help understanding code assist
Goto Forum:
  


Current Time: Thu Mar 20 23:31:22 EDT 2025

Powered by FUDForum. Page generated in 0.04518 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top