User-Defined Words

The types of user-defined words are listed below, with the rules that must be followed in forming them.

Types of User-Defined Words General Rules

alphabet-name
class-name
condition-name
constant-name
data-name
file-name
index-name
locale-name
mnemonic-name
program-name
  (for contained programs and
   outermost programs that are
   called using the PROCEDURE
   linkage convention)
record-name
routine-name
type-name

Each word must contain at least one letter.

library-name
program-name
   (for outermost programs that
   are called using the PROGRAM
   linkage convention)
text-name

Each word must contain at least one letter. The first 10 characters must form a unique word.

paragraph-name
section-name

The word need not contain an alphabetic character.

Level-numbers:  01-49,66,77,88
Segment-numbers:  00-99

Each word must be a 1- or 2-digit integer; it does not have to be unique. (Segmentation information is syntax checked only.)

The function of each user-defined word is described in the clause or statement in which it appears.