Skip to content

Diagnostic Message R←⎕DM

This niladic function returns the last reported APL error as a three-element vector, giving error message, line in error and position of caret pointer.

Example


      2÷0
DOMAIN ERROR
      2÷0
     ^

      ⎕DM
 DOMAIN ERROR        2÷0       ^

The value of this system constant can be reset using ⎕SIGNAL.

⎕DM DM