Pause

Suspends script execution based on the value as noted below.

Parameters:

PauseTimeVal  -  Value to pause.  If the value is less than 19, the pause time will be counted in seconds.  If the value is greater than 19, the pause time will be counted in milliseconds.

Returns:

0 for success; or a non-zero error code.  See Error Codes for a complete listing of error code descriptions.

Remarks:

For example, in Example 1 below, a value of  3 will cause the script to pause for 3 seconds.  In Example 2, a value of 500 will cause the script to pause for 500 milliseconds which is equal to half a second.

Example 1:

Set Host = CreateObject( "BZWhll.WhllObj" )

Host.Pause 3

 

Example 2:

Set Host = CreateObject( "BZWhll.WhllObj" )

Host.Pause 500