Is there a status like Exit For , but instead of exiting the loop, it just moves on to the next element.
For example:
For Each I As Item In Items If I = x Then ' Move to next item End If ' Do something Next
I know it can just add Else to the If statement so that it reads the following:
For Each I As Item In Items If I = x Then ' Move to next item Else ' Do something End If Next
Just wondering if there is a way to go to the next item in the Items list. I'm sure most of them will ask correctly, why not just use the Else operator, but for me, wrapping the "Do Something" code seems less readable. Especially when there is a lot more code.
Sean Taylor May 6 '09 at 1:53 pm 2009-05-06 13:53
source share