A label is a unique identifier for a program line. A label must appear in column 1; it cannot be indented. A label can be on a line by itself, or be followed by an MVBasic command on the same line.
The following are the naming conventions for labels:
A label can contain letters, numbers, the period (.), dollar sign ($), and percent sign (%) characters. The first character of a label must be a letter or a number. If the first character of the label is a letter, the label can contain the underscore (_) character. The underscore character cannot be the last character in a label.
A label is followed by a colon (:). This colon can be omitted if all of the characters of the label are numbers.
Letters in labels are case-sensitive.
A label can be of any length, but only the first 31 characters are significant. The label must be unique within the first 31 characters.
Labels are used by the GOTO statement. This statement may be abbreviated as the GO statement.
A label cannot be used on a program line containing a SUBROUTINE or FUNCTION command.