ascot diagnostics

S7442

Warning: Join these conditions with {wanted}

Under {"conditionAnd":"double-ampersand"}, the conditions of an If, ElseIf or While joined by a comma, If a, b; under "comma", ones joined by &&. To IRIS the two mean the same; join them as the message says.

IRIS compiles the example. Checked with the style {"conditionAnd":"double-ampersand"}.

Class Demo.AndOperator
{

ClassMethod InRange(n As %Integer, low As %Integer, high As %Integer) As %Boolean
{
    If n >= low, n <= high Quit 1 //! S7442
    Quit 0
}

}

All diagnostics