Name
ReadConsoleStr -- read console string (V10.0)
Synopsis
s$ = ReadConsoleStr()
Platforms
Linux, macOS, Windows

Function
This function reads a string from the current console window and returns it. In contrast to ReadConsoleKey(), ReadConsoleStr() isn't compatible with the Delay option of SetConsoleOptions(). It will only work correctly if Delay is set to True, which is also the default. This implies that ReadConsoleStr() is always meant to block until there's some input on the console.

You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.

Inputs
none

Results
s$
string read from the console

Show TOC