Syntax: #PR varname caption EchoChar

Displays a dialog box to prompt you for the value of the specified varname. Do not specify the @ in front of the variable name. The optional caption is displayed as the question for the prompt. The optional EchoChar is used to echo the characters that are typed. Use a EchoChar of * for standard password prompts.

PROMPT examples

#PR tank
Displays a dialog box asking you to enter the value for the @tank variable. The current value of the variable is the default.

#PR tank "Enter the name of the tank"
Same as above but provides a more useful prompt to the user

#PR password "Enter a password" "*"

Displays a prompt where the characters typed are echoed as * characters

Add comment

Login or register to post comments