Warning: {kind} {found} should be written {expected}
This command, function or special variable is spelled in a form or case the style does not
allow. s breaks {"form":"long"}, and SET breaks {"case":"pascal"}. The command,
function and variable rules apply to every keyword of their kind. A commandSet,
functionPiece or variableHorolog rule applies to that one keyword. Write the spelling
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
}
}