ascot diagnostics

A6587

Error: Invalid macro argument: {reason}

An argument of a compile-time macro (one IRIS evaluates with ##expression or ##safeexpression, such as $$$ERROR) that doesn’t parse as an expression, typically a message that lost its quotes. IRIS pastes the evaluated body in and refuses to compile the result. 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