NET/MASTER Network Control Language (NCL) Programmer's Guide
The Structure of an NCL Procedure
Initial NCL Procedure Development
4–6 106160 Tandem Computers Incorporated
Table 4-1 lists the characters that you can use in labels.
Table 4-1. Valid Label Characters
Character Name Restrictions
A-Z a-z Letters Lowercase letters are converted to uppercase letters.
0-9 Digits None.
. Period None.
_ Underscore None.
@ At sign None.
# Number sign None.
$ Dollar sign None.
" " ' ' Quotes Quotes must match and must surround all other characters
except the colon.
Other characters Varies Only within a quoted string.
: Colon Colon must be the last character in the label.
Here are some examples of valid labels:
this_is_a_label:
"this_is_a_label":
123456:
"123456":
LABEL_1:
label_17:
ABC1$:
POSITION_1:
LABEL1:LABEL2:LABEL3:
The following table shows some examples of invalid labels:
Invalid Label Reason
label(1): A symbol cannot contain parentheses.
LABEL&1 A symbol cannot contain ampersands.
Begin_Loop:: A label is suffixed by only one colon.
"POSITION1:" The colon must suffix the quoted string.
'313233343536'x: This quoted string represents a hexadecimal number.
"0011000100110010"B: This quoted string represents a binary number.