| Syntax |
PROMPT character.expression
|
| Category |
BASIC
|
| Type |
Statement
|
| Description |
indicates the single character to display during subsequent "input" statements which prompt for input from the keyboard.
The default prompt character is "?" (question mark). The prompt character remains defined until another "prompt" statement is executed.
|
| Options |
|
| See Also |
statements & functions INPUT prompt characters
|
| Example |
prompt ""
This statement sets the prompt character to null so that no character is output when an "input" statement is executed. This is useful when working with serial devices.
|
| Warnings |
If a string is passed to "prompt", all characters beyond position 1 are ignored.
|
| Compatibility |
D3 7.0 R83 AP
|