1.7 Labels

A label is a name for a location in the source code to which can be jumped to from another location with a goto statement. A Label is a standard identifier with the exception that it can start with a digit.

_________________________________________________________________________________________________________Label
--label--|digit sequence--------------------------------------------
        ---identifier---
___________________________________________________________________

Remark: The -Sg or -Mtp switches must be specified before labels can be used. By default, Free Pascal doesn’t support label and goto statements. The {$GOTO ON} directive can also be used to allow use of labels and the goto statement.