This macro may be used to break out of .foreach loops.
.break
Example:
.set_value(_hasMain, false, new) .foreach_item(Operations) .if (%Code% == main) .set_value(_hasMain, true) .break .endif .next %_hasMain%