On Thu, 28 Oct 2004 18:01:29 +0200, "Herfried K. Wagner [MVP]"
<hi***************@gmx.at> wrote:
"Roberto Carcione" <ro********@supereva.it> schrieb: i need to know if there is a statement in vb like "continue" in c++; to
use
in statements loop. I'm using vb net but i think the question is the same
for vb 6 language.
In addition to the other reply: You can "fake" 'Continue' using 'GoTo' and
a code label:
\\\
Do
Start:
...
If...Then
GoTo Start
End If
...
Loop While...
///
I think you want the loop condition to be tested after the
"continue".. the way it is done in C++ etc..
So you want it more like this:
Do
..
..
If xyz Then
'Continue Loop
Goto CONTINUE:
End If
..
..
CONTINUE:
Loop While (Condition)
// CHRIS