Skip to main content


Sets the user input prompt.


PROMPT string


string A quoted string of one or more characters to use as the user input prompt.


The PROMPT statement sets the user input prompt to the character (or characters) specified in string. The default prompt is the question mark (?) character.

The user input prompt is used by the INPUT statement. However, if a DATA statement is specified, INPUT does not display the input prompt.

See Also

FeedbackOpens in a new tab