PC-Dmis 2010 MR3 Object Library | Send comments on this topic. | See Object Hierarchy Chart
Sleep Method
See Also

Collapse All Expand All

seconds
  The number of seconds to pause. Any precision beyond milliseconds is ignored.

# Description

Wait until execution catches up to script, then wait for a number of seconds Pauses execution for the specified number of seconds after the previous feature has finished executing.

# Syntax

Visual Basic

    Public Sub Sleep( _
       ByVal seconds As Single _
    )

# Parameters

seconds
  The number of seconds to pause. Any precision beyond milliseconds is ignored.

# Remarks

Sleep calls the Wait function to ensure that the sleeping does not begin before all previous features have been executed.

# See Also

OldBasic Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.