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.
Interface Section of Unit
◄Keywords► ◄Contents► ◄Index► ◄Back►
INTERFACE
[ USES Clause ]
[ CONST Declarations ]
[ TYPE Declarations ]
[ VAR Declarations ]
[ PROCEDURE Headings ]
[ FUNCTION Headings ]
[ INLINE Directive ]
Description
The interface section of a unit defines an interface to a unit's
services. The interface can contain declarations of constants,
types, variables, functions, and procedures. These declarations
are public information; that is, a program using a unit has
direct access to anything that is declared in that unit's
interface. The actual definitions of the functions and procedures
declared in a unit's interface are contained in the unit's
implementation section.
TIP: To see working examples of unit interface sections, take
a look at the QuickPascal standard units (System, Crt, Dos,
MSGraph, and Printer). Simply place the cursor on any one of the
unit names and press F1 to see the associated interface section.
See also: IMPLEMENTATION, UNIT, USES