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

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

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