public static native input(prompt as String, inputStream as TextReader) 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 the trailing newline.