FACTOID # 113: In Denmark, more than 50% of the tax collected is personal income tax. In the Netherlands, personal income tax makes up less than 15%.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Object Pascal

Object Pascal is an object oriented derivative of Pascal mostly known as the primary programming language of Borland Delphi. It is also known as the Delphi programming language when describing the dialect used by Borland Delphi. Object-oriented programming (OOP) is a programming paradigm that uses objects to design applications and computer programs. ... Pascal is a structured imperative computer programming language, developed in 1970 by Niklaus Wirth as a language particularly suitable for structured programming. ... A programming language is an artificial language that can be used to control the behavior of a machine, particularly a computer. ... This article or section does not cite any references or sources. ...


Borland used the name "Object Pascal" for the programming language in the first versions of Borland Delphi, but later renamed it to the "Delphi programming language". However, compilers that claim to be Object Pascal compatible are often trying to be compatible with Delphi source code. Borland Software Corporation is a software company headquartered in Austin, Texas. ...


Borland sells integrated development environments (IDEs) that compile the Delphi programming language to Microsoft Windows, the Microsoft .NET Framework and Linux. The open source Free Pascal project allows the language to be compiled for Linux, Mac OS X, Win64, Windows CE, and others. Borland Software Corporation is a software company headquartered in Austin, Texas. ... This article or section does not cite any references or sources. ... Microsoft Windows is the name of several families of proprietary software operating systems by Microsoft. ... The Microsoft . ... Linux (IPA pronunciation: ) is a Unix-like computer operating system. ... Open source refers to projects that are open to the public and which draw on other projects that are freely available to the general public. ... The FreePascal IDE for Linux. ... Linux (IPA pronunciation: ) is a Unix-like computer operating system. ... Mac OS X (official IPA pronunciation: ) is a line of proprietary, graphical operating systems developed, marketed, and sold by Apple Inc. ... Microsoft Windows is a range of commercial operating environments for personal computers. ... Windows CE (sometimes abbreviated WinCE) is a variation of Microsofts Windows operating system for minimalistic computers and embedded systems. ...

Contents

Early history at Apple

Object Pascal is an extension of the Pascal programming language that was developed at Apple Computer by a team led by Larry Tesler in consultation with Niklaus Wirth, the inventor of Pascal. It is descended from an earlier object-oriented version of Pascal called Clascal, which was available on the Lisa computer. Pascal is an imperative computer programming language, developed in 1970 by Niklaus Wirth as a language particularly suitable for structured programming. ... Apple Inc. ... Lawrence G. (Larry) Tesler (born April 24, 1945) is a computer scientist working in the field of human-computer interaction. ... Niklaus E. Wirth (born February 15, 1934) is a Swiss computer scientist, best known for designing several programming languages, including Pascal, and for pioneering several classic topics in software engineering. ... Clascal was an Object-oriented programming language developed in 1983 by the Personal Office Systems (POS) division (later renamed The Lisa Division, still later The 32-Bit Systems Division) of Apple Computer. ... The Apple Lisa was a revolutionary personal computer designed at Apple Computer during the early 1980s. ...


Object Pascal was needed in order to support MacApp, an expandable Macintosh application framework that would now be called a class library. Object Pascal extensions and MacApp itself were developed by Barry Hanes, Ken Doyle, Larry Rosenstein, and tested by Dan Allen. Larry Tesler oversaw the project, which began very early in 1985 and became a product in 1986. MacApp was Apple Computers primary object oriented application framework for the Mac OS for much of the 1990s. ... Dan Allen Dan Allen is a stand-up comedian currently based in New York City. ... Lawrence G. (Larry) Tesler (born April 24, 1945) is a computer scientist working in the field of human-computer interaction. ...


Apple dropped support for Object Pascal when they moved from Motorola 68K chips to IBM's PowerPC architecture in 1994.


The Borland years

In 1986, Borland introduced similar extensions, also called Object Pascal, to the Turbo Pascal product for the Macintosh, and in 1989 for Turbo Pascal 5.5 for DOS. When Borland refocused from DOS to Windows in 1994, they created a successor to Turbo Pascal, called Delphi and introduced a new set of extensions to create what is now known as the Delphi language. The development of Delphi started some time in 1993 and Delphi 1.0 was officially released in the US on 14 Feb 1995. It featured an incompatible syntax using the keyword class in preference to object, the Create constructor and a virtual Destroy destructor (and negating having to call the New and Dispose procedures), properties, method pointers, and some other things. These were obviously inspired by the ISO working draft for object-oriented extensions, but many of the differences to Turbo Pascal's dialect (such as the draft's requirement that all methods be virtual) were ignored. The Delphi language continued to evolve throughout the years to support new language concepts such as 64-bit integers and dynamic arrays. Borland Software Corporation is a software company headquartered in Austin, Texas. ... Turbo Pascal 3. ... Instructions on how to use the directory command. ... Microsoft Windows is the name of several families of proprietary software operating systems by Microsoft. ... This article or section does not cite any references or sources. ...


Version 3

Delphi 3.0 documentation says it works with Microsoft Windows 95, NT 3.51 (SP5+), or NT 4.0 Workstation. It came with a Delphi-edition of Install Shield Wizard. Depending on options installed, 50 to 170 MB of disk space on the developer's machine were required. Required hardware was shown as: Image File history File links Download high-resolution version (600x763, 235 KB) Low resolution image of a Version 3 Delphi user manual used to illustrate an article about the Delphi product. ...

  • Windows 95; 80486 or better processor; 8Mb of system memory (12 recommended); VGA (640x480 pixel) or higher resolution monitor; CD-ROM drive; and a pointing device.
  • Windows NT; 80486 or better processor; 16Mb of system memory; VGA (640x480 pixel) or higher resolution monitor; CD-ROM drive; and a pointing device.

Version 3 had options for native database connectivity with Oracle, Sybase Db-Lib, Microsoft SQL Server, Informix, DB/2, and InterBase back-ends. Some packages were bundled with Borland's InterBase SQL which was supposed to run on either Windows 95 or NT. This development version of Interbase was limited to four simultaneous users.


A complete copy of Delphi 1.0 was included on the CD for those still doing 16-bit Windows 3.1 development.


Compilers

There are a number of compilers that are more or less compatible with the Object Pascal language from Delphi. Many of these were created to enable the use of Object Pascal source code on different platforms and under various licenses.

  • Borland Delphi is probably the best known compiler. It targets Win16, Win32 and .Net 1.x.
  • Borland Kylix is a Linux variant of Delphi, and only targets Intel 32-bit Linux using Qt. It's not updated anymore and starting to show its age. Modern distributions often don't work out of the box with this tool.
  • Free Pascal is command-line compiler aimed at source compatibility with the core feature set of both the Turbo Pascal and the Delphi dialects. The current version, 2.0(.4), is highly Delphi6/7 compatible. FPC operates on most x86 operating systems, including Linux, FreeBSD, Mac OS and Mac OS X (including an Xcode implementation) on the PowerPC family and x86( 2.1.1+), and Linux on AMD64, SPARC and Acorn RISC Machine.
  • GNU Pascal (A separately distributed part of the GNU Compiler Collection) While formally not aimed at the Borland dialects of Pascal, it does contain a Borland Pascal compatibility mode, and is very slowly incorporating a few Delphi language features. It is not suitable for recompiling large bodies of Delphi code directly. It is the most prolific compiler in terms of operating systems and processors though, and therefore deserves mentioning as a last resort.
  • Virtual Pascal is a x86 32-bit Turbo Pascal and Delphi compatible compiler aimed mainly at OS/2 and Windows, though it developed a DOS+ Extender and an experimental Linux cross-compiler too. The compiler is stuck at about the level of Delphi V2, the site is down for nearly one and an half year now, and development of Virtual Pascal has stopped. Nevertheless, of the free alternatives, it is still the one with the best polished IDE and debugger, though Free Pascal is catching up.
  • Chrome programming language. Chrome is an Object Pascal plug-in compiler for Visual Studio and as a native .NET/Mono command-line compiler. Target .NET and Mono platforms.

This article or section does not cite any references or sources. ... The Microsoft . ... Kylix is a Linux version of the Borland Corporations Delphi and C++ Builder development environments for Microsoft Windows. ... The FreePascal IDE for Linux. ... x86 or 80x86 is the generic name of a microprocessor architecture first developed and manufactured by Intel. ... Linux (IPA pronunciation: ) is a Unix-like computer operating system. ... FreeBSD is a Unix-like free operating system descended from AT&T UNIX via the Berkeley Software Distribution (BSD) branch through the 386BSD and 4. ... This article or section does not adequately cite its references or sources. ... Mac OS X (official IPA pronunciation: ) is a line of proprietary, graphical operating systems developed, marketed, and sold by Apple Inc. ... Xcode is Apple Computers IDE for developing applications and other software for Mac OS X. It is shipped free with Mac OS X. First introduced on October 24, 2003 along with the release of Mac OS X v10. ... PowerPC is a RISC microprocessor architecture created by the 1991 Apple-IBM-Motorola alliance, known as AIM. The PowerPC was the CPU portion of the overall AIM platform, and is the only part to exist to date. ... x86 or 80x86 is the generic name of a microprocessor architecture first developed and manufactured by Intel. ... Linux (IPA pronunciation: ) is a Unix-like computer operating system. ... AMD64 Logo AMD64 (also x86-64 or x64) is a 64-bit microprocessor architecture and corresponding instruction set designed by Advanced Micro Devices. ... Sun UltraSPARC II Microprocessor Sun UltraSPARC T1 (Niagara 8 Core) SPARC (Scalable Processor Architecture) is a RISC microprocessor instruction set architecture originally designed in 1985 by Sun Microsystems. ... The ARM architecture (previously, the Advanced RISC Machine, and prior to that Acorn RISC Machine) is a 32-bit RISC processor architecture developed by ARM Limited that is widely used in a number of embedded designs. ... The GNU Compiler Collection (usually shortened to GCC) is a set of programming language compilers produced by the GNU Project. ... Virtual Pascal is a free 32-bit Pascal compiler, IDE and debugger for OS/2 and Windows, with some limited Linux support. ... Chrome is a programming language for the Common Language Infrastructure developed by RemObjects Software. ...

Interpreters

Pascal Script (formerly known as InnerFuse) is a open source Object Pascal interpreter/scripting engine written in Delphi. Supports limited subset of Object Pascal.


Hello world example delphi 87651

Apple's Object Pascal

 program ObjectPascalExample; type THelloWorld = object procedure Put; end; var HelloWorld: THelloWorld;
procedure THelloWorld.Put; begin WriteLn('Hello, World!'); end;
begin New(HelloWorld); HelloWorld.Put; Dispose(HelloWorld); end.

Turbo Pascal's Object Pascal

 program ObjectPascalExample; type PHelloWorld = ^THelloWorld; THelloWorld = object procedure Put; end; var HelloWorld: PHelloWorld; { this is a pointer to a THelloWorld }
procedure THelloWorld.Put; begin WriteLn('Hello, World!'); end;
begin New(HelloWorld); HelloWorld^.Put; Dispose(HelloWorld); end.

Delphi's Object Pascal

 program ObjectPascalExample; type THelloWorld = class procedure Put; end; var HelloWorld: THelloWorld;
procedure THelloWorld.Put; begin WriteLn('Hello, World!'); end; begin HelloWorld := THelloWorld.Create; HelloWorld.Put; HelloWorld.Free; end.

Chrome's Object Pascal

 namespace ObjectPascalExample; interface type ConsoleApp = class class method Main; end; THelloWorld = class method Put; end; implementation method THelloWorld.Put; begin Console.WriteLine('Hello, World!'); end; class method ConsoleApp.Main; begin var HelloWorld := new THelloWorld; HelloWorld.Put; end; end. 

Chrome is a programming language for the Common Language Infrastructure developed by RemObjects Software. ...

Object Pascal in the Software Market

Although .NET, C++ and Java dominate the software industry market, Delphi has a considerable market share in areas that it proves its strong presence[citation needed].


See also

Programming languages are used for controlling the behavior of a machine (often a computer). ...

External links

CodeGear

Introduction to Object Pascal:

Delphi's Object Pascal Language guide:

  • Delphi 5 "Object Pascal Language Guide"  (PDF, Windows Help)
  • Delphi 1.0 Object Pascal Language Reference Guide
  • Object Pascal Style Guide

Free Pascal Object Pascal reference guide: The FreePascal IDE for Linux. ...

GNU Pascal: GNU Pascal (GPC) is a Pascal compiler comprised of a frontend to GCC, similar to the way Fortran and other languages were added to GCC. GNU Pascal is ISO 7185 compatible, and it implements most of the ISO 10206 Extended Pascal standard (according to the manual). ...

paxCompiler:


  Results from FactBites:
 
Object Pascal - definition of Object Pascal in Encyclopedia (1084 words)
Delphi 8, which compiles Object Pascal code for the.NET framework, changed its IDE for the first time since its conception to a look and feel similar to Microsoft's Visual Studio for.NET.
GNU Pascal (http://www.gnu-pascal.de) (Separately distributed part of the GNU Compiler Collection) While formally not aimed at the Borland dialects of Pascal, it does contain a Borland Pascal compatibility mode, and is slowly absorbing Delphi language features, though not yet directly suitable for recompiling large bodies of Delphi code.
Virtual Pascal (http://www.vpascal.com/) is a x86 32-bit Turbo Pascal and Delphi compatible compiler mainly aimed at OS/2 and Windows, though it developed a DOS+Extender and an experimental Linux cross-compiler too.
Object-Oriented Extensions to Pascal (10956 words)
Within a constructor or destructor, the object referenced by Self is considered to be an object of the type for which the constructor or destructor was defined.
Because an object being constructed or destroyed is inherently incomplete, features defined by a subclass of the class in which the constructor or destructor is defined are inaccessible within the activation of the constructor or destructor.
Although constant objects appear in the real world, and there would have been some value in having them, they were rejected because it was decided that their cost did not justify their benefits.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.