ascot diagnostics

A5268

Error: {function} takes no by-reference argument

$ZF(-3), $ZF(-5) and $ZF(-6) have no by-reference arguments: a .x in the call is a syntax error IRIS refuses to compile. Pass the value itself and take what the function returns.

IRIS rejects the example.

Class Demo.ByRefArgumentNotAllowed
{

ClassMethod Call() As %Integer
{
    Quit $ZF(-3, "mylib", "Func", .out) //! A5268
}

}

All diagnostics