Basic rules of grammar

Text of the program consists of three parts. This is the title, description, operators. The program header contains the name of the program. For ETH version, you must specify the source and destination data for the program – files for input and output. By default, the input file is associated with a computer keyboard, and file output – to the monitor screen. In Turbo Pascal header has ornamental value and its use is not mandatory.

Descriptions – are symbolic structures for describing the properties of objects in the program. All objects of the program it is necessary to specify in this part of the program. Operators – this character design for the description of the program of action on objects. Operators must be between the words begin and end. These words are considered staples

In one line of text, you can place multiple statements or descriptions. Therefore, it is necessary between operators to put a separator character. Used to separate statements with a semicolon (;). After the last statement does not necessarily put a separator.

Small and large letters are considered equivalent to (equivalent). The name of any object in the program recording may contain only letters, numbers, and the underscore character (_). The name can not start with a digit. No other types of characters in the record names are not allowed.


Pascal (named after Blaise Pascal) – this is a purely procedural programming language often used for teaching structured programming.

Pascal was developed by Niklaus Wirth in 1970; contrary to popular belief, he was not only learning the language and intended for practical use. Served as the prototype Algol. The original language is compiled into byte code language like Java.

In 1983 he passed the first language standard, ISO 7185:1983, which is also called Standard Pascal. This standard does not add new elements to the language, but only formally described the existing features of the language. In 1990 he was accepted standard ISO / IEC 10206, defines the so-called Extended Pascal. The main change was the addition of modularity.

Features of the language is strongly typed and the availability of structural (procedural) programming. Pascal was one of the first such language. According to N. Wirth language had to contribute to the discipline of programming, however, along with the strong typing in Pascal minimized possible syntactic ambiguity, and the syntax is intuitive, even on first acquaintance with the language. It is easier to write compilers.

Moreover, the language provides a number of built-in data structures: records, arrays, files, and set pointers.

Nevertheless, the original language has many drawbacks: the inability to transfer functions varrays, lack of normal means of dynamic memory, limited IO library, lack of funds to connect the functions written in other languages​​, the lack of separate compilation, etc.

Dialect of Object Pascal, developed in 1985, supports object-oriented programming. There are several modern compilers and language currently quite popular.


I try every day to learn something new. It helps me to expand my horizons, be aware of all relevant topics. Today a major supplier of information for me is the Internet. At this point, I’m interested in most IT topics.

Interesting blog about SEO. Me as a newbie in this field, much has become clear. I would like to continue to read here are the interesting posts!