Edited by Dark Slipstream, 16 August 2009 - 10:51 PM.
iBotModz CBox
(C#) Loops
Started by Dark Slipstream, May 11 2009 09:44 PM
5 replies to this topic
#1
Posted 11 May 2009 - 09:44 PM
Removed.
#2
Posted 11 May 2009 - 09:56 PM
Should just be called a for loop not "for next". While your at it why not cover do while (they can be helpful) and foreach.
Edited by dschu012, 11 May 2009 - 09:58 PM.
#3
Posted 11 May 2009 - 09:57 PM
LOL doesn't everyone know this?
Ima post how to do if then statements for more posts.
Ima post how to do if then statements for more posts.
#4
Posted 11 May 2009 - 10:03 PM
While is in there, look further down.
#5
Posted 12 May 2009 - 12:00 PM
I mean a "do while" loop.While is in there, look further down.
int i = 0; do { i++; }while(i < 10);
That example really doesn't prove to be helpful. But it can be very helpful whenever you need to do something atleast once, then repeat the action based on the results.
Edited by dschu012, 12 May 2009 - 12:00 PM.
#6
Posted 12 May 2009 - 12:08 PM
While and Do While are the same thing.
One is just more effort lol.
One is just more effort lol.