ReadConsoleInput (open)
Get a single line of text from the console
Syntax
LOADLIB "wh::os.whlib";
STRING FUNCTION ReadConsoleInput()
Return value
STRING
A line of text read from the console, excluding any terminating \n or \r. If an empty string was returned, check IsAtEndOfStream(0) before calling the function again
Description
This function will cause an error if executed without an active console (ie, not started by runscript). Also, if this function is recalled after it returned an empty string and IsAtEndOfStream(0) would have returned 'true', it will generate an error to prevent a loop on ReadConsoleInput()