Please enable JavaScript to view this site.

A-Shell Reference

SLEEP seconds

Puts the job to sleep for the specified number of seconds.

The sleep time may be a fractional number of seconds, with the smallest theoretical unit of time .0001—a tenth of a millisecond. There is no maximum.

The SLEEP statement is exactly equivalent to Xcall SLEEP, seconds. However, unlike the subroutine, it requires the /X:1 switch or higher.

See Also

Xcall WAKNO to wake up a sleeping job
SLEEPR.LIT to sleep until a specified time