10-23-2022, 04:58 PM
Well, this is a CASE where _CONTINUE isn't even needed. Also, if you want to make the cases simplified, try...
Now all examples will do the same thing, but if you start to get into 100's or 1000's of lines of code, keep in mind smaller routines make for easier understanding and debugging.
Pete
Code: (Select All)
PRINT
PRINT
FOR x = 1 TO 10
SELECT CASE x
CASE 1, 3, 4, 6, 7, 9, 10
PRINT x;
END SELECT
NEXT
Now all examples will do the same thing, but if you start to get into 100's or 1000's of lines of code, keep in mind smaller routines make for easier understanding and debugging.
Pete