externX

externX <namelist>

The externX macro defines one or more names that will be the labels of external variables or functions.

Parameters

X

Specifies the storage size or function type. This parameter can be one of the following types:

Type Description

A Constant value declared with the EQU and = directives in a separate file
B Byte
W Word
D Doubleword
Q Quadruple word
T 10 bytes
CP Code pointer (one word for small and compact models)
DP Data pointer (one word for small and medium models)
NP Near-function pointer
FP Far-function pointer
P Near for small and compact models; far for other models

namelist

Specifies the list of the names of the variables or functions.

Examples

The following examples demonstrate the usage of the externX macro:

externB <DataBase>
externFP <SampleRead>