Correct usage of break.
#1

Hello all.
I'm having a few problems with my script, i searched everywhere in the script, still i'm thinking that i did'nt use the "break" correctly.

For example
PHP код:
PlayaInfo[playerid][0][1]==0
So ..
PHP код:
for(new i=0i<=3i++)
        {
            if(
PlayaInfo[playerid][0][i]==0) break;
            
thebiz=i;
        } 
The loop above will return a value of '1' and place it in the array 'thebiz" ?
Or no?
Reply


Messages In This Thread
Correct usage of break. - by Alvin007 - 08.02.2015, 23:35
Re: Correct usage of break. - by Schneider - 08.02.2015, 23:44
Re : Correct usage of break. - by Alvin007 - 08.02.2015, 23:46
Re: Correct usage of break. - by PowerPC603 - 08.02.2015, 23:48
Re : Correct usage of break. - by Alvin007 - 09.02.2015, 00:06
AW: Correct usage of break. - by Nero_3D - 09.02.2015, 01:41
Re : Correct usage of break. - by Alvin007 - 09.02.2015, 01:46
Respuesta: Correct usage of break. - by CuervO - 09.02.2015, 03:31
Re: Correct usage of break. - by Vince - 09.02.2015, 06:42
Re : Correct usage of break. - by Alvin007 - 09.02.2015, 11:48

Forum Jump:


Users browsing this thread: 1 Guest(s)