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
- 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
Pause 3
- Example 2
Pause 500