User`s manual

Dynamic C Users Manual digi.com 201
enum
Defines a list of named integer constants:
enum foo {
white, // default is 0 for the first item
black, // will be 1
brown, // will be 2
spotted = -2, // will be -2
striped, // will be -3
};
An enum can be declared in local or global scope. The tag foo is optional; but it allows further declara-
tions:
enum foo rabbits;
To see a colorful sample of the enum keyword, run /samples/enum.c.
extern
Indicates that a variable is defined in the BIOS, later in a library file, or in another library file. Its main use
is in module headers.
/*** BeginHeader ..., var */
extern int var;
/*** EndHeader */
int var;
...