in reply to Trouble with do{}while LABELS

You can also put the code between LOOP: { ... } into a sub and call it when ever needed.

Replies are listed 'Best First'.
Re^2: Trouble with do{}while LABELS
by aquinom (Sexton) on Aug 09, 2011 at 20:52 UTC
    putting it in a sub and telling the code to back to LABEL: { sub } calls the same error, no Label found for "redo LABEL"
Re^2: Trouble with do{}while LABELS
by aquinom (Sexton) on Aug 09, 2011 at 20:23 UTC
    I'm trying to put it into a sub right now to see if I can go to a LABEL with a sub in the block, but I still need to go back to that LABEL: position in the original code I can't call the sub where I have "next LABEL" because I need the program to continue from that point onward.