io.Read
From ComputerCraft
Jump to navigation
Jump to search
io.read Function | |
---|---|
Syntax io.read() | |
Returns | string textEntered |
API | io |
Source | CC:Tweaked |
See read.
|
|||
Asks a user to enter some text | |||
Code | local str = io.read()
|
|
|||
Inputs a hidden string. | |||
Code | local str = io.read("*")
|
|
|||
Inputs with auto and hist | |||
Code | local str = io.read(nil, {"A"}, function() return "X" end)
|
Retrieved from "https://wiki.computercraft.cc/index.php?title=Io.Read&oldid=5472"