ascot diagnostics

A7095

Error: This value is undefined{expr}

The variable has no value on any path that reaches this use: nothing assigns it, or every assignment is killed or skipped on the way here. IRIS compiles the code and raises <UNDEFINED> when it runs. Assign it first, or read it through $Get.

IRIS compiles the example, and do ##class(Demo.Undefined).Total() raises <UNDEFINED> when it runs.

Class Demo.Undefined
{

ClassMethod Total() As %Integer
{
    Set sum = 0
    Quit sum + count //! A7095
}

}

All diagnostics