prompt

prompt


prio (R83) Index Level :
Syntax prompt {prompt.text}
Category TCL
Type Verb
Description prompts the user with a given text string.

The user is then given the option to either continue (by entering the letter "c", or stopping the process (by entering the letter "q"). No other characters are allowed.

The "prompt.text" has the same conventions and syntax as the "display" command. See "display" for more information.
Options
See Also macros display prompt characters
Example mactest    
001 n      
002 display Starting file save
003 prompt Insert first reel
004 save (fts

In this example, after displaying "Starting file save", the user is prompted with:

Insert first reel -- Quit/Continue (q/c) ?

If a "c" is provided, the "save" command is executed. The macro stops immmediately if a "q" is provided. Only "c" or "q" are accepted by "prompt".
Warnings
Compatibility D3 7.0 AP
prio (R83) Index Level :