Skip to main content
Previous sectionNext section

PROMPT

Sets the user input prompt.

Synopsis

PROMPT string

Arguments

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

Description

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