Difference between revisions of "Borland Delphi"
(Basic concepts) |
(Break compatibilities in separate section) |
||
| 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, | + | '''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. |
| + | |||
| + | == Compatibilities == | ||
| + | Although the core code is highly compatible with the earlier Borland Pascal and Turbo Pascal products, Windows-specific parts of Delphi are incompatible with previous Pascal products from Borland that used Object Windows Library (OWL). Other incompatibilities related to proprietary function libraries also caused upgrade problems. Nevertheless, VCL is much improved over OWL. | ||
| + | |||
| + | Because of the managed code environment, .NET applications introduced some incompatibilities with non-.NET code. | ||
| + | |||
| + | Version 1 generated 16-bit Windows applications; version 2, and later, generate 32-bit Windows applications. Version 8 generated .NET applications, but was not 100% compatible with the feature set of Delphi 7 VCL. | ||
== Basic concepts == | == Basic concepts == | ||
Revision as of 13:35, February 18, 2008
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.
Compatibilities
Although the core code is highly compatible with the earlier Borland Pascal and Turbo Pascal products, Windows-specific parts of Delphi are incompatible with previous Pascal products from Borland that used Object Windows Library (OWL). Other incompatibilities related to proprietary function libraries also caused upgrade problems. Nevertheless, VCL is much improved over OWL.
Because of the managed code environment, .NET applications introduced some incompatibilities with non-.NET code.
Version 1 generated 16-bit Windows applications; version 2, and later, generate 32-bit Windows applications. Version 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
- Version 1 - February 14 1995
- Version 2 - February 10 1996
- Version 3 - August 5 1997
- Version 4 - June 17 1998
- Version 5 - August 10, 1999
- Version 6 - May 21 2001
- Version 7 - August 9 2002
- Version 8 - December 22, 2003
- Version 2005 - August 12 2004
- Version 2006 - August 10 2005
- Version 2007 - March 19 2007