ENUM - auto-numbering of manifests.

Usage:

enum   symbol,value,increment

Description:

ENUM is used for defining a sequence of manifest symbols. The first call to ENUM must specify a starting "value" that is used as the value of the symbol being defined. Subsequent calls to ENUM will assign symbols a value equal to the "value" given in the previous call, plus the "increment". If no "increment" is specified, the default is 1. For example,

enum   A,0,1
enum   B
enum   C,,2
enum   D
enum   E

defines:

A == 0
B == 1
C == 2
D == 4
E == 5

Specifying a new "value" starts a new sequence.

Copyright © 1996, Thinkage Ltd.