Arduino Programming Language: Goto

Name

goto

Description

Transfers program flow to a label in the program.

Syntax

label: //some name

goto label; //jump to label

Usage

Application

Examples

if(note != 0) {
digitalWrite(LedPin, HIGH);
}else{
goto label1;
}

...

label1:


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc