qp.hlp (Table of Contents; Topic list)
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.
UNIT Keyword
  Keywords Contents Index                                   Back
 
  UNIT <identifier>
 
  Description
 
    The keyword UNIT marks the beginning of a unit. A unit is a
    separately compiled body of code that gathers together constants,
    types, variables, functions, and procedures that support some
    common task. For instance, the Crt unit defines both data
    structures and an interface that allow enhanced access to the
    keyboard and monitor of the computer. A unit has two parts: an
    interface part and an implementation part. The interface part
    defines an interface to the implementation part. The implementation
    part contains the code that does the work the unit is designed
    to do.
 
    Use the identifier associated with UNIT when specifying a unit in
    a USES clause.
 
  See also:  IMPLEMENTATION, INTERFACE, USES