Waits for the specified duration before executing the next command in the procedure. The procedure containing the command is paused until the wait expires.
Parameters
- waitTime
- Wait time in milliseconds.
Return Value
One of the following ReturnCode enum values.
Member |
Description |
Cancelled |
Cancelled. |
Error |
Error. |
PermissionRequired |
Permission is required. |
Success |
Success. |
Timeout |
Timeout condition. |
Truncated |
The text is truncated. |
This example waits 10 seconds and displays a message when the time is up.
Sub WaitBeforeContinuing()
ThisIbmScreen.Wait (10000)
MsgBox "Waited 10 seconds"
End Sub