Label

Top  Previous  Next

This marks a line to be jumped to by a $Goto statement as discussed in the Conditional Compilation chapter.  It is employed using the syntax

 

$label internallabel

Notes:

Any number of labels can be used in files and not all of them need to be referenced.
Re-declaration of a label identifier will not generate an error, and only the first occurrence encountered by the GAMS compiler will be used for any $Goto references.