Discussion: The PAUSE statement temporarily pauses processing of the current program for a specified period of time. The numeric-argument represents the specified period of time expressed in 1/18ths of a second. The numeric-argument is a simple numeric value (constant or variable).
Example 1: PAUSE(18)
This statement causes the current program to pause for one second. Example 2:
PRINT (0) "PLEASE ENTER THE PAUSE VALUE (IN SECONDS):" INPUT (0) TIME HOLD = 18 * TIME PAUSE(HOLD)
In this example, the pause value is a variable. The program prompts the user for a pause value, stores the value in the numeric variable called TIME, multiplies that value by 18 (to convert the time to the proper unit of measure), and pauses the program for the specified length of time (in seconds).