E
Edwin
Guest
Hey!
I already posted many topics where I asking about for loops because I'm very dumb at programming. I regret this.
Create Event:
Press any key Event:
Goal:
I want to break the loop if it already found the array that equals 0, but I have no idea how to make it.
I already posted many topics where I asking about for loops because I'm very dumb at programming. I regret this.
Create Event:
Code:
array[0] = 0;
array[1] = 0;
array[2] = 0;
Code:
for (i=0; i < array_length_1d(array); i += 1) {
if (array[i] == 0) {
array[i] += 1;
}
}
I want to break the loop if it already found the array that equals 0, but I have no idea how to make it.