ŒEM Error Matrix


ŒEM contains the current error message as a character matrix. The initial value of ŒEM is 3 0½' ' and it is reset to this value by )RESET or )SICLEAR. Note that the error message can originate from calculator mode errors or errors within defined functions. ŒEM is implicitly localised in that it shows the error message which relates to the most currently pendent function on the SI stack - see the earlier chapter on Error Handling for more details.

             )RESET
             ½ŒEM                    (Default value of ŒEM)
       3 0
             45×'NAME'               (Standard error report)
       DOMAIN ERROR
             45×'NAME'
             ^
             ½ŒEM                    (Size of ŒEM after the error)
       3 15
             ŒEM                     (Contents of ŒEM are the same as the
       DOMAIN ERROR                   error message above)
             45×'NAME'
             ^
             )RESET                  (Clear ŒEM)
             ½ŒEM
       3 0

Topic: APLX Help : Help on APL language : System Functions & Variables : ŒEM Error Matrix
[ Previous | Next | Contents | Index ]