PickBASIC / FlashBASIC
sleep statement
.mdThe sleep statement places a process to sleep for a specific number of seconds, or, until a specific time.
Synonymsrqm
Syntax
sleep {num.exp} sleep {"time.exp"}
Parameter(s)
| num.exp | Time to sleep in seconds. |
| time.exp | Time to sleep in military time format (hh:mm:ss). |
Description
Example(s)
This puts the process to sleep for one hour.
sleep 3600
This puts the process to sleep, leaving a wakeup call for 8:00 AM.
until.wakeup.time = "08:00" sleep until.wakeup.time
See also
Referenced by
2 topics mention sleep statement in its description.