Pascal Programming LanguagePascal Programming Language

Pascal programming language was created in late 1960s by a Swiss computer scientist Niklaus Wirth. It is based on the ALGOL programming language and named after the French mathematician Blaise Pascal. Initially, it was intended to teach computer programming because it encourages structured programming and using data structures. This is how the famous "hello world" program looks like:

Program HelloWorld (Output);

Writeln ('Hello, world!');

Definitions for data types and structures are simple and clear. Language provides an orthogonal and recursive approach to data structures. You can declare arrays of arrays (multidimensional arrays), arrays of records, records containing arrays, file elements can be records, arrays, records containing arrays of records, etc. Some examples: 


TDay = 1..31;
TMonth = 1..12;
SimpleArray = Array [1..1000] of Integer;
2D_Array = Array [1..1000, 0..3] of Real;
Friend = (Barbara, Alice, Rebecca, Laura);

DateType = Record
Day: TDay;
Month: TMonth;
Year: Integer;

Var Birthday: Array [Friend] of DateType;

The first major milestone in Pascal history was Turbo Pascal. Based on the compiler written by Anders Hejlsberg, the product was licensed to Borland, and integrated into an IDE. It was also available on the CP/M platform, but the biggest success Borland achieved with Turbo Pascal for DOS. Borland continued the tradition of successful Pascal compilers with Delphi. Delphi is a visual rapid application development environment using Object Pascal as programming language. There is also an open-source compiler available: Free Pascal. It is a 32 and 64-bit compiler for various processors like Intel x86, Amd64, PowerPC, Sparc and ARM. Pascal is also used for development of embedded systems. Compilers are available for microcontrollers like 8051, AVR and ARM.

In 1983 the language was standardized as IEC/ISO 7185. In 1990 an extended standard was created as ISO/IEC 10206. The ISO Pascal is somehow limited because it lacks some features like strings and units. The most known and used syntax is the Borland Turbo Pascal syntax which added necessary features to fill the gaps in the ISO standard. There is also a derivative of Turbo Pascal known as Object Pascal (used in Borland Delphi) which was designed for object oriented programming.

Today, Pascal is still popular in various areas but not that much it was decades ago. It was replaced mainly with C which is available for almost any platform. Nevertheless, there is still a large community that finds Pascal programming language an excellent choice. It is easy to learn and easy to read. If you give your identifiers meaningful names you can read the program almost like a plain English text. Therefore it is very easy to transfer any algorithm into program. In addition to this the language is not case sensitive which is another step closer to English language.

There are endless debates and comparisons of Pascal and C programming languages. Some favor Pascal, other like C. There is no winner. Both languages are used to describe an algorithm. It is up to the programmer to choose his preferred language.

by Igor Funa
References and Bibliography
Igor Funa is a hobby programmer and a big fan of Pascal programming language. He is also the author of Turbo51 - Pascal compiler for 8051 microcontrollers.
Rated:NR/0 Votes
Add To My Article Reading List
Add To My Article Reading List
Print Article
More Article By Igor Funa
More Article by Igor Funa
More Articles From Pascal
More Articles From Pascal
Related Articles and Readings
Pascal Compiler For 8051 Microcontrollers By: Igor Funa
The 8051 core is one of the widely used microcontroller cores. It is about 30 years old and still very popular. Originally designed by Intel in late 1970s, 8051 core found its way into many popular microcontroller families manufactured by Atmel, Silicon Labs, NXP, and many others. ...
Turbo Pascal - A Brief History By: Igor Funa
Turbo Pascal is a famous Pascal compiler developed by Borland in early 1980s. It was the first compiler that included also an Integrated Development Environment (IDE). ...
Increase Productivity by Using Tools to Compare Pascal Programs By: Sam Miller
The Pascal programming language was designed in the 1970s by Niklaus Wirth as a language to facilitate the study of good programming practices. ...
Turbo Pascal Download - How to Compile Old Projects By: Igor Funa
Pascal programming language is now rarely used in schools, but for some programmers it is still very popular and many old projects are still maintained. ...
Sorting in Pascal Programming By: Dewayne Weiss
In this article I discuss sorting in Pascal programming language. Sorting is a very useful technique that is used vastly in various programs. This is a programming technique that is used to sort a list of pre-stored data list in a descending or ascending order according to a preset criterion. ...
The information provided in this article and/or the comments is the sole responsibility of their respective authors and does not necessarily reflect the opinion of  does not endorse any article and/or comments published by our web users unless otherwise noted. 

Member Panel

login to submit articles and more


  • » Active Categories: 419
  • » Active Articles:252096
  • » Active Authors:32163
  • » Active Members: 35787
  • » Statistics Updated:
    - Sat Aug 11th, 2018 01:04PM EST