Skip to main content

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

FeedbackOpens in a new tab