set variable equal to the user input lua -


When I was watching it use IO.read () to get input for a simple run until I

  name = io.read () print (name)   

it just produces word zero

As far as this goes, there are two easy ways.

You can of course use the variable.

  name = io.read () print (name)   

Or, I personally write

  io.read ())   

Fairly simple, indeed.

Comments

Popular posts from this blog

mysql - where clause in inner join query -

java - Why my included JSP file won't get processed correctly? -

php - MySQL Query for Advanced Search multiple criteria -