logo Goto jump to a label

Return to Introduction     

goto label

 

Where:

 

labelis a label in the script file.  Labels are identified by a colon in column 1. Do not precede the label name with a colon in the goto command.

 

Examples:

 

goto next

goto test

 

Sample Script:

 

goto BypassComments

* Sample script using the "goto" command.

* The goto on the first line bypasses these

* comments so they do not appear in the log file.

:BypassComments

* Download test.txt.

get test.txt