Information: The label exists, but ascot does not follow the offset, so the call is not checked
Do Report+2 calls the label Report at an offset. The call enters the routine at the
second line after the label, counted in the compiled routine rather than the source. IRIS
compiles and runs the call, unless Report starts a procedure block (A7217). ascot confirms
that the label exists but does not follow the offset, so the call’s arguments and result are
not checked. A call without the offset is checked in full.
IRIS compiles the example.
ROUTINE Demo.LabelOffset
Main
Do Report+2 //! A5213
Quit
Report
Write "heading", !
Write "details", !
Quit