Originally posted by julian
Code:
....
FOR i IN 1..v_maxPieces LOOP
  ....
  IF v_done THEN
    GOTO all_done;
  END IF;
END LOOP;
<<>>
....
Ahem.... This kind of loop structure must have been copy-pasted from one of Feuerstein's examples of good programing pracztices.