Waits until the X () or X SYSTEM or other X indicator has been removed from the Operator Information Area (OIA) status line.
ret = WaitForNoX (timeout)
ret | Integer, output |
0 = OK | |
Non zero = Timed Out | |
timeout | Integer, input |
The number of seconds to wait before indicating a time out condition. |
If the X is still present on the OIA after the number of seconds specified, the function will return with the return code indicating a timeout error condition.
This is a PASSPORT command.
Example
Sub
ZMain()
WaitForNoX 10
End Sub