Raised This Month: $ Target: $400
 0% 

neatest way to have 2 for loops co-exist


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
akysiev
Junior Member
Join Date: Mar 2006
Location: Earth
Old 03-24-2006 , 07:08  
Reply With Quote #3

Actually if the inner for loop is the only block of code within the outer for loop in the second way, then it should be fine. Anyways, go with the first. The variable assignment isn't exactly taxing but its still nice to keep a good scope hierarchy.
akysiev is offline
 



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 16:41.


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