|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
next / next x differenceI've tried testing this to see if there is any difference but couldn't find
any... is there any difference in doing a For - Next loop with/without a value after the 'Next' at the end? e.g. --> For x in 1 to 10 'statements Next versus For x in 1 to 10 'statements Next x thx for any help. [VB.NET 2003 / .NET 1.1] "new q." <nom***@nomail.com> schrieb: No.> I've tried testing this to see if there is any difference but couldn't > find > any... is there any difference in doing a For - Next loop with/without > a > value after the 'Next' at the end? -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> readability perhaps ?? although it confused me when i saw it the first
time regards Michel Posseth [MCP] Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:O1z4s$TGGHA.3984@TK2MSFTNGP14.phx.gbl... > "new q." <nom***@nomail.com> schrieb: >> I've tried testing this to see if there is any difference but couldn't >> find >> any... is there any difference in doing a For - Next loop with/without >> a >> value after the 'Next' at the end? > > No. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> "m.posseth" <mich***@nohausystems.nl> schrieb: Personally I prefer 'Next <variable name>' because it's more > readability perhaps ?? although it confused me when i saw it the first > time self-documenting. However, unfortunately VS.NET 2003 doesn't automatically rename the variable in the 'Next' line if the loop variable gets renamed, which will reduce maintainability of the code. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
How to Exit an application properly on Error
Regional settings cause runtime crash How would I make this into a class ? simple program HELP. [VB.NET express 2005] - Regular expressions Tabbed MDI Interface Sharing source code between Vs2003 and Vs2005 IDE How to send an Email in VB.NET After Select.......not really? Namespace not available... Microsoft Jet40 |
|||||||||||||||||||||||