Sign Guestbook
View Guestbook
Invite Your Friends
Website Awards
Message Forum
Source Codes
About Me
Lesson 1 - The first few steps in Pascal Programming
Lesson 2 - Variables, Constants and the Assignment Statement
Lesson 3 - Special Functions: ClrScr(), GotoXy(), etc...
Lesson 4 - Program Control
Lesson 5 - The CASE-OF Statement
Lesson 6 - Logical Operators and Boolean Expressions
Lesson 7 - Procedures and Functions
Lesson 8 - BGI Graphics
Lesson 9 - File Handling
Lesson 10 - Arrays
Lesson 11 - Record Data Structure
Lesson 12 - Strings

Add this site to your Favourites

Your contribution is highly appreciated!

eg. "Linked Lists"
Recommend this website on

Welcome to Pascal Programming Website - a website which is particularly developed to help you learn the pascal programming language very quickly and interactively! Enjoy surfing this website and get yourself reading the lessons built purposely for those who would like to get themselves familiar and capable of writing structured Pascal programs.

The Pascal Programming Language - Is it for me?

If you stepped into the site to start learning Pascal, you are on the right track! There are'nt any special pre-requisites to learn Pascal. Thus, you can start learning it straight away! Pascal is a very easy language, and helps beginners to introduce them to other languages, before they can start to learn C or C++ or any other advanced language (such as JAVA) - it is the doorstep to other high level programming languages (and talking from experience I have first learnt Pascal which made it very easy for me to migrate to other programming languages).

What is PASCAL?

Pascal is a high-level procedural programming language which is widely used as a beginner or as a teaching language. Sometimes Pascal is preferred to other languages, and could be useful to solve technical problems. It is not necessary to learn any other easier language to start learning Pascal, or any of that sort. It is a very easy programming language and helps you to understand the basics of the world of programming. Also, it greatly helps you to start learning the C programming language. I had different experiences, one of which I learned Pascal, and then moved to C programming very easily. The Pascal programming language has its structure and syntax very similar to that of the C programming language. The successor language of Pascal is Delphi which is the object oriented version of Pascal.

A General Overview of Low-Level and High-Level Languages

There are two main categories of programming levels; these are low-level and high-level languages. The terms 'low' and 'high' does not mean that a group of 'low-level' languages are inferior to the 'high' ones. A low-level language consists of machine-oriented programming. For example, machine code is the only language with which the CPU understands. The other most-common low-level language, is the Assembly language. The Assembly language has a structure of machine-oriented programming. The Assembly Language, in other words, has a major control of the computer hardware. The Assembly Language makes use of mnemonics and has a better relationship with the memory and the CPU unit far more than that of other programming languages. The Assembly language is sometimes used as part of the source code written in Pascal.

A high-level language consists of all those languages which are problem-oriented. A low-level language is not user-friendly, that is, makes it hard for the user to understand the structure of the program. Pascal, C/C++, BASIC, COBOL, Fortran, etc.. are examples of high-level programming languages. High-level languages represent their source code in such a way that it is more understandable to the programmer.

Machine code is a language which uses binary coding in its source codes. What do you understand by 0001001011 010101 1001110? It's machine code - the only language which is understandable by the CPU.

Interpreters and Compilers

Every high-level language has its own source which needs to be translated into the CPU's language - machine code. These translators are referred to as interpreters and compilers. A high-level language package contains either an interpreter, or a compiler, with which a high-level language uses to translate the source code into object code.

An interpreter is more slower than a compiler, the fact that it has to be loaded into memory till the end of the translation of the program. It is less practical than the compiler. However, the interpreter can be helpful for correcting out errors in programs i.e. it is ideal for debugging. A compiler is faster due to its single, complete translation of the program into object code. A compiler, compiles the source code (with no syntax errors) and makes a copy of it. This copy is called the 'object code'. After it has been compiled, it does not need a recompilation (unless the source code is changed and a recompilation is required to affect the change). The object code used by the OS in order to execute the compiled program.

Where Can I Get A Compiler?

For any student who tends to learn Pascal, starting from today, the best thing he should do is to search for a Pascal compiler, before he start learning Pascal. If you would like a compiler which runs under windows environment and GUI, then you can click here. The most famous compiler is the latest Borland Turbo Pascal 7.0, and is highly difficult to find it out on the market. However, the 'museum of traditional pascal' of Borland is giving out (pascal) compilers for free because of their old age. [ Note: It is important to use the Borland's Pascal Compiler because it is widely used ]

Turbo Pascal 5.5 is free: CLICK HERE TO DOWNLOAD

Ready to start?
When you are ready to start, choose lesson 1 from the navigation bar menu or click here.

Are you looking for some more advanced and applied concepts of the pascal programming language such as sorting, pointers and linked lists? Then the articles section is just the section for you. Articles provide discussions about advanced concepts of the language which you can integrate into your programs and use them wisely.

Why don't you have a look at the articles section by clicking here or choose an article from the table below:

Article # Article Title
1. Sorting
2. The Stack Data Structure
3. Pointers
4. Linked Lists
5. Recursion
6. Object Oriented Programming - Part 1

Errors in Programs

Mistakes can be found in some of my source codes around this site. Should this happen, please send me an e-mail and inform me immediately, and obviously state where should this mistake be found. You will be doing a favour for yourself and other students. Anyways, thank you if you spot and obviously report any errors in my pascal programs.


Any Problems?

If you would like to discuss any problems with me and other users, then don't hesitate to register with our forums and posting your problem using the POST NEW TOPIC feature. If you are not registered, the register by clicking the link below:

I will be very glad and looking forward to help you through our forums!

Translations of this Website in other Languages

Serbo-Croatian language by Jovana Milutinovich from Geeks Education

Link To Us

We greatly appreciate your help to get this site more useful and let others benefit from the best pascal programming resource site on the net. Great effort was done to greatly improve this site's environment for every visitor to this site to be comfortable in.

For those who would like to include a link to our site, they might use a cute logo like the one provided to you below linking to (right-click on the image and choose save as to save the image to your computer):

Pascal Programming Site Logo

One may hot link to the image using:

Comments are no longer accepted due to a defeated battle against an overwhelimg amounts of incoming spam! Apologies for any inconvenience.


mail to:

Last modified: May 2015

© Victor John Saliba 2006
| Privacy Statement | Disclaimer | Contact Us |
  © Victor John Saliba 2015