It's not SELECT CASE that's being skipped, but rather the FOR...NEXT.
_CONTINUE will work anywhere in a loop as far as I know, but just be careful where you place it. Since it short circuits the loop it is in, it will skip all subsequent code that occurs after it until the NEXT/LOOP/WEND. You just have to make sure you're not doing something important in the loop after the _CONTINUE.
_CONTINUE will work anywhere in a loop as far as I know, but just be careful where you place it. Since it short circuits the loop it is in, it will skip all subsequent code that occurs after it until the NEXT/LOOP/WEND. You just have to make sure you're not doing something important in the loop after the _CONTINUE.
Code: (Select All)
PRINT
PRINT
FOR x = 1 TO 10
SELECT CASE x
CASE 2
_CONTINUE
CASE 8
_CONTINUE
END SELECT
PRINT x;
NEXT
DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:
sha_na_na_na_na_na_na_na_na_na: