Getting input from the user in Lua?

How can I get an input from user in Lua (like scanf in C)? For example, the program ask user his name, then he write...

rotation of the line by 30 degrees?

Sometimes A can be below line BC and sometimes above -> so sometimes rotate clockwise and sometimes countercloc...

Moai grid with tile colors?

I'm trying to create a grid for a game using the Moai SDK. Each tile in the grid should have the ability to be fille...

Getting input from the user in Lua?

How can I get an input from user in Lua (like scanf in C)? For example, the program ask user his name, then he write...