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 is counted in seconds.
If the value is greater than 19, the pause time is counted in milliseconds.
- Returns
- 0 for success; or a non-zero error code. Refer to Error codes for
a complete listing of error code descriptions.
- Remarks
- For example, in Example 1 below, a value of 3 causes the script
to pause for 3 seconds. In Example 2, a value of 500 causes the script
to pause for 500 milliseconds which is equal to half a second.
- Example 1
Set bzhao = CreateObject( "BZWhll.WhllObj" )
bzhao.Pause 3
- Example 2
Set bzhao = CreateObject( "BZWhll.WhllObj" )
bzhao.Pause 500