Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
EXTRN
◄Directive Summary► ◄Summary► ◄Example►
──────────────────────────────────────────────────────────────────────────────
Syntax: EXTRN [langtype] name:type [,[langtype] name:type]...
Defines one or more external variables, labels, or symbols, each
having a name and a specific type. The symbol must be defined and
declared PUBLIC in another module in the program.
langtype C, BASIC, PASCAL, or FORTRAN. The C langtype appends an
underscore to the name as output to the object file.
name A unique symbolic name
type The same type given to the item in the module where defined:
i.e., NEAR, FAR, PROC, BYTE, WORD, DWORD, QWORD, TBYTE, or ABS
See Also: PUBLIC, COMM
-♦-