ascot diagnostics

A5780

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

ZQUIT in a procedure block without private variables, where IRIS lets it unwind; the same block with any, an argument or a local, fails with <COMMAND> when it runs. The code works as it stands; the hint points at that fragility, since a variable added later changes the block’s error handling.

IRIS compiles the example.

Class Demo.ZQuitWithoutPrivates
{

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

}

All diagnostics