The prompt statement indicates the single character to display during subsequent input statements that prompt for input from the keyboard.
Syntax
prompt character.exp |
Parameter(s)
character.exp |
Specifies the single character to display during subsequent input statements that prompt for input from the keyboard. |
Description
The default prompt character is ?. The prompt character remains defined until another prompt statement is executed.
NOTE |
If a string is passed to prompt, all characters beyond position 1 are ignored. |
Example(s)
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.
prompt "" |
See Also