How would I accomplish the following?
for (x=0;x<3;x++) {
for (y=0;y<3;y++) {
if (z == 1) {
// jump out of the two for loops
}
}
}
// go on to do other things
If z=1, both for loops should stop and it should continue on with some other code. This obviously is an oversimplified example of what I'm trying to accomplish. (In other words, I know I need to initialize variables, etc...)