ERRORWARNING( Code, Message ) – deprecated, use DISPLAYMESSAGE

When all IFRECEIVE instructions have been processed, ERROR instructions are processed next. If Code matches the returned status code from this screen’s procedure call, then the ERROR instruction is executed.

While a status code of 9 indicates an error, the ERROR instruction is not limited to that single code. Any code can be indicated to trigger a new To-Screen to launch.

If a screen has no Procedure defined, then the status code defaults to 1.