SourcePoint Intel Help

Table of Contents

sleep

Pause a macro for a specified time.

Syntax

sleep(expr)

Where:

expr

specifies the number of seconds to sleep.

Discussion

The sleep command pauses a macro for a specified number of seconds. ย A decimal point is allowed. ย Resolution is good to 1 ms. ย The maximum sleep time allowed is 60 seconds. ย A sleep command may be ended early by pressing ctrl+break.

Example 1

To sleep for 5 seconds:

Command input:

sleep(5) ย ย 

Example 2

To sleep for 250 ms:

Command input:

sleep(.250) ย ย ย 

Related Topics: