Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 936 Bytes

externdef.md

File metadata and controls

26 lines (18 loc) · 936 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: EXTERNDEF
EXTERNDEF
12/06/2019
EXTERNDEF
EXTERNDEF directive
95a10de6-c345-4428-a2f2-90f7d411dc86

EXTERNDEF

Defines one or more external variables, labels, or symbols called name whose type is type.

Syntax

EXTERNDEFlanguage-typename:type,language-typename:type ...⟧

Remarks

The language-type argument is valid in 32-bit MASM only.

If name is defined in the module, it is treated as PUBLIC. If name is referenced in the module, it is treated as EXTERN. If name is not referenced, it is ignored. The type can be ABS, which imports name as a constant. Normally used in include files.

See also

Directives Reference
MASM BNF Grammar