17.07.2013, 21:08
Basically I am having a hard time how to get for looping posted below to return 0 or 1 while it still loops through i
right now this code only goes to i = 0. nothing else.
I have tried break; but that also keeps i at 0
Код:
for(new i = 0; i < 17; i++)
{
if(List[i][Position] < 16)
{
if(List[i][Number] == -1)
{
//code
List[i][Position] ++;
}
else
{
//code
List[i][Position] ++;
}
return 0;
}
}
I have tried break; but that also keeps i at 0


