Warning: Label ‘{label}’ is inside braces, where ascot does not follow labels, so the checks after it may be incomplete
The label Next stands inside the braces of an If or similar block in a routine or method
body. IRIS compiles and runs such code, and any Goto or Do in the body reaches the
label. ascot does not follow a label inside braces, so the checks after it may be
incomplete. Move the label to the top level of the body, or replace the Goto with a
While loop.
IRIS compiles the example.
ROUTINE Demo.LabelInBlock
Main(count)
If count > 0 {
Next //! A7408
Write count, !
Set count = count - 1
If count > 0 Goto Next
Quit
}
Quit