24.07.2011, 23:12
Well, if you use return, it's the same as using break, it will break the loop.
pawn Код:
for (new a = 0; a < 3; a++)
{
if (a == 1) return 0; // Will be called first
printf("a = %d", a); // Won't be called
}