Thank you westfw!
That is what I'm looking for. A simple use of GOTO.
int testValue = 900; //-----------------------------------------------------change
int b;
void setup() {
Serial.begin(9600);
}
void loop() {
for (b = 0; b < 100; b++) {
if (testValue > 100) { //----------------------------------------------
goto bailout;
}
Serial.println(b);
}
Serial.println("\n\n *********** End of Loop *********\n");
delay(500);
return;
bailout:
Serial.println("\n========= Bailout works ===========");
delay(1000);
}