Raised This Month: $ Target: $400
 0% 

Continue in 2 loops


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 04-26-2006 , 12:06   Continue in 2 loops
Reply With Quote #1

If I have this code:

Code:
for(new a = 0; a < SOME_DEFINE; a++) {     for(new b = 0; b < SOME_OTHER_DEFINE; b++)     {         if(!bla[a][b])             continue;     } }

When bla[a][b] is not true, would it continue with the first or the second loop?
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 04-26-2006 , 12:19  
Reply With Quote #2

with the 2nd loop
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-26-2006 , 13:08  
Reply With Quote #3

if you wan't it to continue with the first use 'break'
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Reply



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 05:13.


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