public static input(prompt as String = "", inputStream as TextReader = Application.in) as String
Reads a line from the given input stream, after optionally printing a prompt.
name = Application.input("Name: ", Application.in)
print("Hello", name)| Parameter | Description |
|---|---|
prompt | Prompt text (default: empty). |
inputStream | Input stream (default: Application.in). |
The line read, without its trailing line terminator, or an empty string when the supplied reader reaches the end of the stream.