which will be stoped?
#3

Quote:
Originally Posted by AiRaLoKa
Посмотреть сообщение
hi all...

i have a question here. if i make a loop inside of loop, and then i break the second loop. will it stop the first loop?

i meant like this

pawn Код:
new i;
while(i < 100)
{
          for(new c; c < 20; c++)
          {
                  if(player[c] == 1) break;
          }
}
will it stop the "while" loop? or only stop the "for" loop?
the "for"
Edit: Always late tho :/
Reply


Messages In This Thread
which will be stoped? - by AiRaLoKa - 02.08.2014, 02:49
Re: which will be stoped? - by Cannary2048 - 02.08.2014, 03:16
Re: which will be stoped? - by youssefehab500 - 02.08.2014, 03:19
Re: which will be stoped? - by AiRaLoKa - 02.08.2014, 03:50
Re: which will be stoped? - by youssefehab500 - 02.08.2014, 03:53

Forum Jump:


Users browsing this thread: 1 Guest(s)