Difference between revisions of "MC-Basic:SLEEP"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Write-Only" to "Write only")
Line 36: Line 36:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:DELAY|DELAY]]
+
* [[MC-Basic:DELAY|DELAY]]
  
 
[[Category:Axystems:MC-Basic:Task Control|SLEEP]]
 
[[Category:Axystems:MC-Basic:Task Control|SLEEP]]
 
}}
 
}}

Revision as of 08:37, 22 May 2014

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