Old code:
loop start
if "bart&LOOPCOUNT&" = -1 "bartLoop5Continue"
if "bart&LOOPCOUNT&" = "desiredBartValue" "bartLoop5Abort"
. "bart manipulation here"
. "purposely obtuse logic so I can fit an abort loop in"
if "bart&LOOPCOUNT&" != "otherDesiredBartValue" "bartLoop5Continue"
abort loop
: "bartLoop5Continue"
loop "('barts'-1)"
. "create a new bart since since I didn't like any of the other ones"
inc "barts" 1
: "bartLoop5Abort"
. "do something here"loop start
if "bart&LOOPCOUNT&" = -1 "$$continue"
if "bart&LOOPCOUNT&" = "bartValue" "$$abort"
. "bart"
. "purposely obtuse logic so I can show an alternative to abort loop"
if "bart&LOOPCOUNT&" = "bartValue#2" "$$continue"
goto "$$abort"
loop "('barts'-1)"
. "create a new bart since *IF* I didn't like any of the other ones"
inc "barts" "('LOOPCOUNT'='barts')"
. "do something here"

Help
This issue is locked
