ascot diagnostics

A6037

Information: ${name} is not documented for IRIS, so the call is not checked

The call uses a function that IRIS does not document. $ZOBJEXPORT, $ZOBJVAL, $ZOBJNEW, $ZOBJNEXT, $ZOBJOID, $ZOBJMOD and $ZOBJMODS are internals of the object system that IRIS’s generated code uses. $MV is a MultiValue function. ascot checks documented ObjectScript only, so it checks the arguments but not the call, and does not type the result. Prefer the documented function or class method that does the job.

IRIS compiles the example.

Class Demo.UndocumentedFunction
{

ClassMethod Export(text As %String) As %String
{
    Quit $ZOBJEXPORT(text, 5) //! A6037
}

}

All diagnostics