The value of $ECODE can be SET, and when it is set to a non-NULL value, error processing starts.
![]() | Note |
---|---|
See ChapterA 13: a??Error Processinga?? to learn about $ECODE's role in error processing. |
IF $ECODE[",M61," WRITE "Undefined local variable"
![]() | Note |
---|---|
The leftmost character of the value of $ECODE is always a comma. This means that every error code that is stored in $ECODE is surrounded by commas. If $ECODE was to contains the error code without the commas (that is, "M61"), the variable would check for subset "M6" as well. Thus, it is recommended that you include the commas in the value to check. For example; check whether $ECODE contains ",M61,". |