ascot diagnostics

A9399

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

ObjectScript has no special variable of this name, which is usually a misspelling, and the message suggests the nearest names. IRIS refuses to compile the code (ERROR #1032: Invalid special variable). A name starting with $Z is the exception, a user-defined special variable for ^%ZLANGV00 to define. IRIS compiles that code and raises <SYNTAX> when it runs if ^%ZLANGV00 does not define the variable. Spell the special variable as ObjectScript names it.

IRIS rejects the example.

Class Demo.UnknownSpecialVariable
{

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

}

All diagnostics