Skip to content

delay

Pause program execution.

Declaration

Source position: wincrt.pp line 25

procedure delay(ms: Word);

Arguments

Name Description
ms Number of milliseconds to wait.

Description

Delay stops program execution for the indicated number ms of milliseconds.

See also

Name Description
sound Sound PC speaker.
nosound Stop the speaker.