ascot diagnostics

A6587

Error: Invalid macro argument: {reason}

This argument to a macro whose body uses ##expression or ##safeexpression, as $$$ERROR does, is not an expression. Most often the argument is a message that lost its quotes. IRIS refuses to compile the method (ERROR #1010: Missing right parenthesis in the example). Quote the text, or pass an expression.

IRIS rejects the example.

Class Demo.InvalidMacroArgument
{

ClassMethod Save() As %Status
{
    Quit $$$ERROR($$$GeneralError, Not implemented) //! A6587
}

}

All diagnostics