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ə18/294
tarix02.01.2022
ölçüsü0,84 Mb.
#41395
1   ...   14   15   16   17   18   19   20   21   ...   294
DelphiLanguageGuide

Programs and Units
A Delphi program is constructed from source code modules called units. The units are tied together by a special
source code module that contains either the program, library, or package header. Each unit is stored in its own file
and compiled separately; compiled units are linked to create an application. Delphi 2005 introduces hierarchical
namespaces, giving you even more flexibility in organizing your units. Namespaces and units allow you to
Divide large programs into modules that can be edited separately.
Create libraries that you can share among programs.
Distribute libraries to other developers without making the source code available.
This topic covers the overall structure of a Delphi application: the program header, unit declaration syntax, and the
uses clause. Specific differences between the Win32 and .NET platforms are noted in the text. The Delphi compiler
does not support .NET namespaces on the Win32 platform. The Delphi 2005 compiler does support
hierarchical .NET namespaces; this topic is covered in the following section, Using Namespaces with Delphi.

Yüklə 0,84 Mb.

Dostları ilə paylaş:
1   ...   14   15   16   17   18   19   20   21   ...   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