MC-Basic:SLEEP

From SoftMC-Wiki
Revision as of 06:05, 17 July 2018 by Rasty (talk | contribs) (Added cross reference to Continuetask)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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