PAUSE

BASin

PAUSE

Statement/Command

PAUSE can be used to suspend a program for a definite or indefinite time.

How to use PAUSE

PAUSE is normally used to form a statement in a program. It is followed by a numeric value, for example

130 PAUSE 100

The value following PAUSE is rounded to the nearest integer and may then range from 0 to 65535. It defines the delay that occurs as this number of frames of the television picture, so that a value of 50 produces a pause of 1 second in th UK and europe where the frame frequency is 50Hz.

However, note that any pause may be cut short by pressing any key and that PAUSE 0 gives an unlimited pause that lasts until a key is pressed.

Format

  • PAUSE int-num-expr

See also

Chapter 18.