Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 2

Pause(Delay)

Delays a program for the specified number of clock ticks.

Clock ticks occur at a default rate of 18.2 times a second unless the FastTimer function is used. A number of 36 would delay a program approximately 2 seconds at the default clock tick rate. This function has the advantage being more precise than a high level language delay loop because it uses an assembly language interface. Use it when you need to delay for a precise number of clock ticks.

Parameters

Delay - Number of clock ticks to delay program. See the FastTimer function for more information on clock ticks.

Examples

BASIC

CALL Pause(20)

PASCAL

Pause(20);