Dim ledCount As Integer = <your number here> Dim i As Integer = 0 Dim j As Integer = ledCount Do While (i < ledCount) i += 1 j -= 1 Loop
-----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Peter Suter Sent: Thursday, February 22, 2007 12:42 To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] pls help convert nested(?) for loop I'd appreciate some help in converting this to vb.net for(int i=0, j=ledCount; i<ledCount; i++, j--) { } thanks ps =================================== This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com