WAIT - wait for a specified interval.


call wait(isec)


is an integer indicating the number of seconds to sleep.


WAIT suspends the execution of the program for the given number of seconds. In TSS, the program may be awakened from such a "WAIT" by pressing the BREAK key.

GCOS does not guarantee that your program will WAIT for exactly that number of seconds. External events may cause GCOS to wake the program up before the time has elapsed, while swapping and memory contention may result in the program waiting longer than expected.

Copyright © 1996, Thinkage Ltd.