ascot diagnostics

A9399

Error: ${name} is not a recognized special variable{suggestions}

$NAME without an argument list is a special variable, and IRIS has none of this name, so the compiler refuses the code (Invalid special variable); the message suggests the nearest names. A $Z name is the exception IRIS compiles, for ^%ZLANGV00 to define: undefined, it raises <SYNTAX> when it runs.

IRIS rejects the example.

Class Demo.UnknownSpecialVariable
{

ClassMethod Owner() As %String
{
    Quit $USER //! A9399
}

}

All diagnostics