GOTO
goto <i> | <text>} | <nvar>
Function
Move control to another command within a batch macro command file.
Parameters
|
i |
A statement label. i is an integer. Label 0 is always the start of the current command file. |
|
text |
The label name, a string that must start with a letter and has a maximum of 16 characters. |
|
nvar |
The name of a numeric variable the value of which is defined as the label number. |
Examples
goto 5
goto error
goto try_again
Notes
Label <i> or Label <text> must exist in the command file for this command to work.
This command is available in batch macro mode only.
If the execution of a GOTO necessitates jumping into a block level greater than the current one, Eagle gives a warning because some variable definitions could be lost.
If the execution of a GOTO necessitates jumping in a block level lesser than the current one, Eagle automatically frees all variables defined in the skipped block levels, i.e. it simulates all intermediate '}'.
See also