Go to the first, previous, next, last section, table of contents.


2.9 pause

The section 2.9 pause command displays any text associated with the command and then waits a specified amount of time or until the carriage return is pressed. section 2.9 pause is especially useful in conjunction with section 2.8 load files.

Syntax:

      pause <time> {"<string>"}

<time> may be any integer constant or expression. Choosing -1 will wait until a carriage return is hit, zero (0) won't pause at all, and a positive integer will wait the specified number of seconds. `pause 0` is synonymous with section 2.11 print.

Note: Since section 2.9 pause communicates with the operating system rather than the graphics, it may behave differently with different device drivers (depending upon how text and graphics are mixed).

Examples:

      pause -1    # Wait until a carriage return is hit
      pause 3     # Wait three seconds
      pause -1  "Hit return to continue"
      pause 10  "Isn't this pretty?  It's a cubic spline."


Go to the first, previous, next, last section, table of contents.