Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
skip an iteration in a loop without using if condition...
#5
Solved: 11 Years, 3 Months, 3 Weeks ago
Sorry if my reply is so stupid....

if the requirement is not to use 'IF' and 2 for loops...

i will do something like this

Code:
For iterationNo =1 to 100
      Select Case iterationNo
        Case N    ' condition to be skipped
                'Skipping
        Case Else
                ' continues
     End Select
Next
Reply


Messages In This Thread
RE: skip an iteration in a loop without using if condition... - by vIns - 10-13-2011, 08:50 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)