next up previous contents index
Next: 9.27 plot() Up: 9 Commands Previous: 9.25 path()

9.26 pause()

Description
Write a message to the screen, and suspend the program until the user hits any key on the keyboard. This is often useful to put in macros or load()ed files that will perform multiple plotting tasks.
Input Program Variables
&screen_echo, which determines whether messages are sent to the screen, and &pause_ignore, which sets whether or not to ignore all pause() commands, will influence the operation of this command.
Keywords/Values
pause() takes one argument - a string that is printed to the screen to prompt the user to `hit any key'. The default string is `- hit any key to continue - '.
Output Program Variables
None.
Notes
In order for the pause() command to actually be executed, &screen_echo must be 1 and &pause_ignore must be 0. Thus, setting &pause_ignore to 1 will suppress the command, which may be useful for batch processing or scripts.
Examples

 
  Iff> pause '>> hit any key to see chi(k) <<'
See also
echo()(Section 9.8), print()(Section 9.32).


next up previous contents index
Next: 9.27 plot() Up: 9 Commands Previous: 9.25 path()
Matt Newville
2004-02-09