M
Marc Miller
Is there any way in VB to force the next iteration in a For ... next loop
other than
using a GoTo?
I notice that in C++ you can use 'continue' and in other languages there are
syntax for this. Am I missing something?
For an example, if a = false I don't want the if b = true to execute.
for i = 1 to 10
if a = true
do stuff
else
'go to next iteration
end if
if b = true
do some more stuff
end if
next i
TIA,
Marc Miller
other than
using a GoTo?
I notice that in C++ you can use 'continue' and in other languages there are
syntax for this. Am I missing something?
For an example, if a = false I don't want the if b = true to execute.
for i = 1 to 10
if a = true
do stuff
else
'go to next iteration
end if
if b = true
do some more stuff
end if
next i
TIA,
Marc Miller