IMPORTS Statement

Syntax:

IMPORTS
  importdefinitions

This statement defines the names of the functions imported for the application or library.

Note: The term import refers to the process of declaring that a symbol is defined in another run-time module (a dynamic-link library).

Typically, LINK386 uses an import library to resolve external references to dynamic-link symbols. However, the IMPORTS statement provides an alternative for resolving these references within a module.

The IMPORTS keyword marks the beginning of the import definitions. This keyword is followed by one or more import definitions, each on a separate line. Each import definition corresponds to a particular function.

Import-Definition Syntax

[internalname=]modulename.entry