ascot diagnostics

A3850

Error: ${name} is not a recognized function{suggestions}

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

IRIS rejects the example.

Class Demo.UnknownFunction
{

ClassMethod Size(text As %String) As %Integer
{
    Quit $LENGHT(text) //! A3850
}

}

All diagnostics