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: