The Program Uses Clause The uses clause lists those units that are incorporated into the program. These units may in turn have uses clauses
of their own. For more information on the uses clause within a unit source file, see Unit References and the Uses Clause, below.
The uses clause consists of the keyword uses, followed by a comma delimited list of units the project file directly
depends on.
The Block The block contains a simple or structured statement that is executed when the program runs. In most program files,
the block consists of a compound statement bracketed between the reserved words begin and end, whose
component statements are simply method calls to the project's
Application
object. Most projects have a
global
Application
variable that holds an instance of TApplication, TWebApplication, or TServiceApplication. The
block can also contain declarations of constants, types, variables, procedures, and functions; these declarations
must precede the statement part of the block.