Changes

Jump to navigation Jump to search
1,395 bytes added ,  13:58, February 17, 2008
Basic concepts
Line 1: Line 1:  
'''Borland Delphi''' is an implementation of the [[Pascal programming language]] developed and sold by CodeGear (originally Borland) for Microsoft Windows.  It is an Integrated Development Environment (IDE) with editor, compiler, linker, and debugger.  Like Visual BASIC, Delphi is a Rapid Application Development (RAD) environment.  Delphi is the successor to [[Borland Pascal]] and [[Turbo Pascal]].  The Pascal language has been extended, including support for huge strings with a theoretical maximum size of 2 Gb (version 2 and later only).  It uses the Visual Control Library (VCL) as an abstraction to the Microsoft Windows API, which makes it incompatible with previous Pascal products from Borland that used Object Windows Library (OWL).  Other incompatiblities related to proprietary function libraries also caused upgrade problems.  Nevertheless, VCL is much improved over OWL.  Version 1 generated 16-bit Windows applications; version 2, and later, generate 32-bit Windows applications.  Verison 8 generated .NET applications, but was not 100% compatible with the feature set of Delphi 7 VCL.
 
'''Borland Delphi''' is an implementation of the [[Pascal programming language]] developed and sold by CodeGear (originally Borland) for Microsoft Windows.  It is an Integrated Development Environment (IDE) with editor, compiler, linker, and debugger.  Like Visual BASIC, Delphi is a Rapid Application Development (RAD) environment.  Delphi is the successor to [[Borland Pascal]] and [[Turbo Pascal]].  The Pascal language has been extended, including support for huge strings with a theoretical maximum size of 2 Gb (version 2 and later only).  It uses the Visual Control Library (VCL) as an abstraction to the Microsoft Windows API, which makes it incompatible with previous Pascal products from Borland that used Object Windows Library (OWL).  Other incompatiblities related to proprietary function libraries also caused upgrade problems.  Nevertheless, VCL is much improved over OWL.  Version 1 generated 16-bit Windows applications; version 2, and later, generate 32-bit Windows applications.  Verison 8 generated .NET applications, but was not 100% compatible with the feature set of Delphi 7 VCL.
    +
== Basic concepts ==
 +
 +
Delphi programs are compiled from a number of source files, the main ones being ''units'' and ''forms''.
 +
A ''unit'' is a text file, with a .pas extension, that contains Delphi code, organised into ''interface'' and ''implementation'' sections.
 +
 +
The ''interface'' section contains declarations that can, for the most part, be referred to by other units.
 +
These declarations include constants, variables, "types" and headers of ''procedures'' and ''functions''.
 +
"Types" include ''classes'' (objects) or ''sets''.
 +
 +
The ''implementation'' section contains code for each of the procedures and functions, including the ''methods'' of objects, that are in the ''interface'' section, or other procedures and functions declared in the ''implementation'' section.
 +
These latter procedures and functions are not "visible" to other units.
 +
 +
Units can also list other units so that code within the units can call code contained in other units (if it is declared in the other units' ''interface'' section).
 +
 +
A ''form'' is an encapsulation of a Windows window, on which various ''controls'' can be placed when designing the program.
 +
The design of each form is contained in a text or binary file with a .dfm extension.
 +
The ''form'' is declared as an object (class) in an accompanying unit that is also created.
 +
Code associated with that form is written in the unit associated with that form.
    
==Release History==
 
==Release History==
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu