|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB.NET For/Next loopsWhat is the difference between these?
For i = 0 To 9 ... Next For i = 0 To 9 ... Next i Does putting "Next i" instead of just "Next" at the end make a difference? microsoft.public.dotnet.languages.vb is a better group for VB.NET
syntax questions. >Does putting "Next i" instead of just "Next" at the end make a difference? Not to the compiled code. Some may argue that it affects thereadability of your source code. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. > microsoft.public.dotnet.languages.vb is a better group for VB.NET Oh okay, thanks.> syntax questions. > Not to the compiled code. Some may argue that it affects the Great, exactly what I need to know. Thanks for all your help.> readability of your source code. Show quote "Mattias Sjögren" wrote: > microsoft.public.dotnet.languages.vb is a better group for VB.NET > syntax questions. > > > >Does putting "Next i" instead of just "Next" at the end make a difference? > > Not to the compiled code. Some may argue that it affects the > readability of your source code. > > > Mattias > > -- > Mattias Sjögren [C# MVP] mattias @ mvps.org > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com > Please reply only to the newsgroup. > |
|||||||||||||||||||||||