Difference between revisions of "MC-Basic:SLEEP"
m (1 revision) |
(Added cross reference to Continuetask) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:SLEEP}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 12: | Line 13: | ||
This command delays the task for a specified period of time (in milliseconds). The delay starts when the preceding command ends. | This command delays the task for a specified period of time (in milliseconds). The delay starts when the preceding command ends. | ||
− | Sleep can be terminated (task is awaken) by ContinueTask command . | + | '''Sleep can be terminated (task is awaken) by ContinueTask command''' . |
|TYPE= | |TYPE= | ||
Line 30: | Line 31: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Write | + | Write only |
|EXAMPLE= | |EXAMPLE= | ||
Line 36: | Line 37: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:DELAY|DELAY]] |
− | + | * [[MC-Basic:CONTINUETASK|ContinueTask]] | |
+ | [[Category:MC-Basic:Task Control|SLEEP]] | ||
}} | }} |
Latest revision as of 06:05, 17 July 2018
Language: | English • 中文(简体) |
---|
This command delays the task for a specified period of time (in milliseconds). The delay starts when the preceding command ends.
Sleep can be terminated (task is awaken) by ContinueTask command .
Syntax
Sleep
Availability
All versions
Type
Long
Range
1 to MaxLong
Scope
Task
Limitations
Write only
Examples
Sleep 100 ‘Delay task for 100 msec
See Also