ascot diagnostics

S2839

Warning: {kind} {found} should be written {expected}

A command, intrinsic function or system variable keyword spelled in a form or case the style’s command, function or variable rule, or a per-keyword command<Name>, function<Name> or variable<Name>, doesn’t allow: s under {"form":"long"}, SET under {"case":"pascal"}. IRIS compiles every spelling alike; write the one the message gives.

IRIS compiles the example. Checked with the style {"command":{"form":"long","case":"pascal"},"function":{"form":"long","case":"pascal"},"variable":{"form":"long","case":"upper"}}.

Class Demo.KeywordStyle
{

ClassMethod FirstName(fullName As %String) As %String
{
    s first = $Piece(fullName, " ") //! S2839
    Set first = first _ $h //! S2839
    Quit $zcvt(first, "U") //! S2839
}

}

All diagnostics