Delay Command

Purpose

interrupts a program for a number of seconds.

Syntax

Delay a

a:aexp

Description

Delay a interrupts a program for 'a' seconds.

Example

OpenW 1

Print "This window will stay open for 5 seconds only"

Delay 5

CloseW 1

Remarks

In contrast to Pause (dependent on the operating system) the time specified with Delay is portable. Delay uses the system clock.

See Also

Pause

{Created by Sjouke Hamstra; Last updated: 28/09/2014 by James Gaite}