ascot diagnostics

A5780

Hint: ZQUIT unwinds here only because this procedure block has no private variables; with any, it fails with <COMMAND>

ZQUIT stands in a procedure block that has no private variables. IRIS compiles it and lets it unwind. The same block with any private variable, whether a formal argument or a local, also compiles, but its ZQUIT raises <COMMAND> when it runs. The code works as it stands, until a variable is added to the block.

IRIS compiles the example.

Class Demo.ZQuitWithoutPrivates
{

ClassMethod Unwind()
{
    Write "unwinding", !
    ZQuit 1 //! A5780
}

}

All diagnostics