Raised This Month: $ Target: $400
 0% 

for loop question.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-13-2010 , 22:29   for loop question.
Reply With Quote #1

I thought these 2 loops do the same thing. But the first one doesn't work like it should and the second one works fine. Could someone explain this?

1
Code:
for( new i = 1; i <= playerCount; i++ )
2
Code:
for( new i = 0; i < playerCount; i++ )
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode