Product SiteDocumentation Site

8.65. SysSleep


>>-SysSleep(secs)----------------------------------------------><

Pauses a Rexx program for a specified time interval.
Parameter:
secs
The number of seconds for which the program is to be paused. You can specify up to seven decimal places in the number.

Example 8.36. RexxUtil - SysSleep

Say "Now paused for 2 seconds ..."
Call SysSleep 2
Say "Now paused for 0.1234567 seconds ..."
Call SysSleep 0.1234567

Call SysSleep 0.12345678 -- Error 40: Incorrect call to routine