E
eBob.com
How do you make a loop iterate early without using a GoTo? (I guess
I've done too much structured programming and I really don't like
using GoTos.)
Here's my code ...
For Each Thing As OFI In FileInfo
If Thing.Displayed <> True Then
GoTo Iterate 'skip this entry; try next one
End If
If yada yada yada Then
TextBox2.Text = Thing.Name
End If
Iterate:
Next Thing
I'm thinking that there has to be some way to do this without using
GoTo but I've not been able to find it.
Thanks, Bob
I've done too much structured programming and I really don't like
using GoTos.)
Here's my code ...
For Each Thing As OFI In FileInfo
If Thing.Displayed <> True Then
GoTo Iterate 'skip this entry; try next one
End If
If yada yada yada Then
TextBox2.Text = Thing.Name
End If
Iterate:
Next Thing
I'm thinking that there has to be some way to do this without using
GoTo but I've not been able to find it.
Thanks, Bob