If the current ErrorMode is @CANCEL (the default), any WIL errors encountered while processing a WIL program cause the item to be canceled with an error message. Minor errors are ignored if the current ErrorMode has been set to @OFF. If the error mode is @NOTIFY the user has the option of continuing with the WIL program or canceling it. For moderate errors, if the ErrorMode is @NOTIFY or @OFF, the user has the option of continuing with the WIL program or canceling it. All Minor, Moderate and Fatal errors can be handled using IntControl 73. For an example of trapping an error message, see the function LastError |
§ Step by step guide to learning WIL § Notes
|