tcl.prompt
Prompts to 'continue' or 'quit' process.
Syntax
prompt {prompt.text}
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.
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'.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
