VB 2005 has "Continue For", but the following (produced with our Instant VB
C# to VB.NET converter) is the equivalent in VB 2002/2003 - not very pretty
with the goto but it is the equivalent:
For i As Integer = 0 To 9
If i=7 Then
GoTo Continue1
End If
...
Continue1:
Next i
--
David Anton www.tangiblesoftwaresolutions.com
Home of:
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant J#: VB.NET to J# Converter
Continue is considered structured. It has a very specific meaning - jump to
the end of the loop and follow the instruction there. If there is a "GO" in
the middle, do not pass it and do not collect $200.
Mike Ober.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.