User Input Lua

[Solved] User Input Lua | Lua - Code Explorer | yomemimo.com
Question : user input lua

Answered by : adxm

 s = io.read("*n") -- read a number s = io.read("*l") -- read a line (default when no parameter is given) s = io.read("*a") -- read the complete stdin s = io.read(7) -- read 7 characters from stdin x,y = io.read(7,12) -- read 7 and 12 characters from stdin and assign them to x and y a,b = io.read("*n","*n") -- read two numbers and assign them to a and b

Source : https://stackoverflow.com/a/12070331/14107715 | Last Update : Wed, 01 Sep 21

Question : input in lua

Answered by : abdullah-0kvpuik7ilzv

local input = io.read()

Source : | Last Update : Sat, 24 Jul 21

Question : user input lua

Answered by : thacuber

input = io.read()

Source : | Last Update : Sat, 12 Feb 22

Answers related to user input lua

Code Explorer Popular Question For Lua