Table of Contents

DELAY

Published ByDateVersionKnowledge LevelKeywords
Revelation Technologies14 NOV 19892.XEXPERTDELAY

DELAY

DELAY is a subroutine that provides a way to pause execution of a routine for a specified number of seconds.

DELAY(seconds)

Using DELAY

DELAY is an empty loop which executes for the number of seconds specified.

seconds

Place a value in seconds to indicate the number of seconds to delay.

Values returned

None.

Correct Use of DELAY

* The following code displays a message for the number of 
seconds specified.

DECLARE SUBROUTINE DELAY, MSG

* Display a message for the specified delay time

seconds = 10

MSG("This message will be up for 10 seconds.", "UB", response, "")

DELAY(seconds)

MSG("", "DB", response, "")