ConsoleReference
rconsoleinput
Read one line from the native console.
Aliases
consoleinputDetails#
Read one line from the native console. Input without trailing CR/LF, up to the 4095-byte input buffer. Console initialization failure returns an empty string.
Signature#
rconsoleinput(): stringReturns#
Input without trailing CR/LF, up to the 4095-byte input buffer. Console initialization failure returns an empty string.
Examples#
Local example
rconsoleprint("Enter a local label:")
local label = rconsoleinput()
rconsoleprint(label)