ascot diagnostics

S5260

Warning: The style allows {max} command(s) per line; this is one more

Under {"maxCommandsPerLine":N}, each command past the Nth on one line is reported. An If, Else or For without braces counts as one command together with the commands it governs. Move the extra commands to lines of their own.

IRIS compiles the example. Checked with the style {"maxCommandsPerLine":1}.

Class Demo.CommandsPerLine
{

ClassMethod Greet(name As %String)
{
    Set greeting = "Hello, " _ name Write greeting, ! //! S5260
}

}

All diagnostics