I tried the example in the Corona’s docs, but it does not work. It looks like the io.read() (line 5) is asynchronous and the suposed input used in the line 8 says the variable content is nil.
Here is the example in API
-- Prompt the user on the terminal
io.write( "Enter you age: " )
-- User enters answer on the terminal
local answer = io.read()
-- Display the answer on the terminal
io.write( "Your age is ", answer, "\n" )
ty in advance
Andrey [import]uid: 66709 topic_id: 29107 reply_id: 329107[/import]