Rhys,
Now I understand. Some code is worth a thousand words :)
VFP's
loop is exactly the same as C#'s
continue (or vice versa). I have been looking through the docs now for about 10-15 minutes and I am unable to find the equivalent in VB.NET.
Einar
>Well its a lot of code but in a nutshell Im looking for something in .net that will do what "Loop" does in foxpro. Something like this:
>
>For n=1 to 100
> *--lots of code
> if n=50
> loop
> endif
>
> *--lots of code
> if x=20
> loop
> endif
>
> *--lots of code
>Endfor
>
>
>
>The foxpro way is just easy to read but its just one condition statement in the middle. I guess in .net I will just wrap the whole thing in an IF ELSE IF statement.
Semper ubi sub ubi.