ascot diagnostics

A6851

Error: Cannot find label ‘{label}’ in {routine}

Do Label, $$Label(), Goto Label or Set $ZTRAP = "Label" names a label the routine or body doesn’t declare, or Label^Routine names one that routine lacks. IRIS refuses to compile a reference to a label the routine itself lacks, and raises <NOLINE> when a call into another routine reaches one it lacks; spell the label as it is declared.

IRIS rejects the example.

ROUTINE Demo.MissingLabel
Main
    Do Reprot //! A6851
    Quit
Report
    Write "report", !
    Quit

All diagnostics