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; a brace-less If, Else or For and the commands it governs count as one. IRIS reads the line as it would the commands on separate lines; give each its 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