Unit
Go Up to Projects and Units Index
A unit is a named set of one or more source files that provide one aspect of the functionality of your project. In terms of modular programming, units are modules.
A basic unit has the following set of files:
Delphi:
- Source file (
<unit name>.pas
)
C++:
- Header file (
<unit name>.hpp
) - Implementation file (
<unit name>.cpp
)
Other types of units, such as forms, may consist of a different set of files.
See Also
- Adding a Unit Reference
- Finding Units (Delphi)
- Programs and Units (Delphi) (Delphi)