Page 1 of 1

For... Except ? !

Posted: Sat Feb 11, 2006 4:57 pm
by josku_x
Hello!

I really want this feature to be added, that you can use an exception in a For loop..

Like if you do:

Code: Select all

For var=1 To 10 Except 5, 6
 Debug var
Next
It would output this in the debugger output:

Code: Select all

1
2
3
4
7
8
9
10
So, it would loop everything except the exceptions.

If this will be added I love PB more than more!
Thanks!