Pascal programming language was created in late 1960 by a Swiss scientist Niklaus Wirth computing. It is based on the programming language Algol and the name of the French mathematician Blaise Pascal. Originally scheduled to teach computer programming, as it encourages structured programming and use of data structures. Thus the famous "hello world" program is:
Program HelloWorld (output);
begins
Writeln ('Hello, world! ");
at the end.
Definitions of data types and structures are simple and clear. Language provides an orthogonal approach and recursive data structures. You can declare arrays of arrays (multidimensional arrays), arrays of records, records containing arrays may file elements may be lines, tables, documents containing tables of records, etc. Some examples:
Type
Tday = 1 .. 31;
TMonth = 1 .. 12;
simple array = Array [1 .. 1000] of Integer;
2D_Array = Array [1 .. 1000, 0 .. 3] Real;
= Friend (Barbara, Alicia, Rebecca, Laura);
DateType = log
Updated: tday;
Month: TMonth;
Year: Integer;
end;
Var Date of birth: Array date [friend] and type;
The first milestone in the history of Pascal Turbo Pascal. Based on the compiler written by Anders Hejlsberg, the product was allowed to Borland, and integrated into an IDE. It was also available on the CP / M platform, but the most success with Borland Turbo Pascal for DOS. Borland has continued the tradition of success with Delphi Pascal compilers. Delphi is a visual environment for rapidly developing applications that use the object as a programming language Pascal. There is also an open source compiler available: Free Pascal. This is a 32 and 64-bit compiler for various processors such as Intel x86, AMD64, PowerPC, Sparc and ARM. Pascal is also used for the development of embedded systems. Compilers are available for Microchip in 8051, AVR and ARM.
In 1983, the language standard IEC / ISO 7185. In 1990, the rule has been extended to ISO / IEC 10206. ISO Pascal is rather limited in that it lacks some features, such as springs and unity. The best known and used in the Borland Turbo Pascal syntax is the syntax to add the features needed to fill gaps in ISO. Turbo Pascal is a derivative also known as Object Pascal (used in Borland Delphi), which is designed for object-oriented programming.
Today, Pascal is still popular in various fields, but not so for decades. He was replaced mainly with C, which is available for most platforms. However, there is still a great community that is the programming language Pascal an excellent choice. It is easy to learn and easy to read. If you give meaningful names entry, you can read the program almost as an English text. Therefore, it is very easy to transfer any algorithm in the program. In addition to this language is not sensible, which is another step towards the English language.
There are endless debates and comparisons of Pascal and C programming languages Some argue Pascal, others such as C. There is no winner. Both languages are used to describe an algorithm. It's the programmer to choose his preferred language.