Delphi Language Guide Delphi for Microsoft Win32 Delphi for the Microsoft. Net framework



Yüklə 0,84 Mb.
Pdf görüntüsü
səhifə21/294
tarix02.01.2022
ölçüsü0,84 Mb.
#41395
1   ...   17   18   19   20   21   22   23   24   ...   294
DelphiLanguageGuide

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.

Yüklə 0,84 Mb.

Dostları ilə paylaş:
1   ...   17   18   19   20   21   22   23   24   ...   294




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin