tcl.prompt Verb: Access/TCL

tcl.prompt

Command tcl.prompt Verb: Access/TCL
Applicable release versions: AP
Category TCL (746)
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.
Syntax prompt {prompt.text}
Options
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".
Purpose
Related macros
prompt.chars.ap
tcl.display