SpSleep: Difference between revisions
Appearance
m Martini moved page OS2 API:spSleep to OS2 API:SPUTILS:spSleep |
mNo edit summary |
||
Line 12: | Line 12: | ||
CALL spSleep ms | CALL spSleep ms | ||
[[Category: | [[Category:SpUtils]] |
Revision as of 23:53, 26 February 2017
Suspends the current thread for a specified time interval.
Syntax: CALL spSleep msec
Parameter: msec – time to suspend in milliseconds
Example Code:
/* msleep.cmd (spUtils Example Code) */ /* Waits the given number of milliseconds */ CALL RXFUNCADD 'spSleep','spUtils','spSleep' PARSE ARG ms rest CALL spSleep ms