Information: The label exists, but ascot does not follow the offset, so the call is not checked
Label+n enters the label’s code n lines down, where its formal list no longer applies,
and which line that is depends on the compiled routine. ascot confirms the label exists but
leaves the call untyped and the offset unchecked; IRIS compiles and runs it, unless the line
is a procedure block’s (A7217). The code is not in question, only how far ascot can check
it; a call without the offset is checked in full.
IRIS compiles the example.
ROUTINE Demo.LabelOffset
Main
Do Report+1 //! A5213
Quit
Report
Write "heading", !
Write "details", !
Quit