When talking about computer languages, there are basically three major terms that will be used.
Microprocessors can only run machine language programs directly. Assembly language programs are assembled, or translated into machine language. Likewise, programs written in high-level languages, like Pascal, must also be translated into machine language before they can be run. The technical terminology for this operation is compiling (aka compilation).
The program that accomplishes the translation is called a compiler. This program is rather complex since it not only creates machine language instructions from lines of code, but often also optimizes the code to run faster, adds error-correction code, and links the code with subroutines stored elsewhere. For example, when you tell the computer to print something to the screen, the compiler translates this as a call to a pre-written module. Your code must then be linked to the code that the compiler manufacturer provides before an executable program results.
With high-level languages, there are again three terms to remember:
The de facto standard in DOS and Windows-based compilers is Borland Pascal. Before it came out, most Pascal compilers were clumsy and slow, strayed from the Pascal standard, and cost several hundred dollars. In 1984, Borland introduced Turbo Pascal, which sold for less than $100, compiled an order of magnitude faster than existing compilers, and came with an abundance of source code and utility programs.
This product was an instant success. However, in 1993, the last version of Turbo Pascal, version 7 for DOS, came out. After that, the demand for DOS programs plummetted and Borland (now renamed Inprise) focused on producing Windows compilers.
This tutorial will only deal with console-based programming, where the computer prints lines of data to the screen and the user interacts with the program using a keyboard. The goal of the tutorial is to teach how to program in Pascal. Once you've learned that, you can easily look at a reference book or another web page and pick up graphics and windowing systems on your own. Thus, old versions of Borland Pascal will work fine. For example, you can visit the Borland Museum to download an old copy of Borland Pascal. The latest free version available is 5.5.
Because of Borland's dominance in the market, there are few other commercial Pascal compilers for DOS/Windows computers. There, are however, some shareware and freeware compilers. Check The Open Directory category on Pascal Compilers for more information.
For non-DOS computers, there are also very few commercial compilers. Metrowerks, until very recently, supported Pascal in its flagship product for Macintosh computers, Metrowerks Codewarrior. However, Codewarrior now concentrates on C, C++, and Java. If you have a Macintosh computer, you can grab an old copy of Symantec Think Pascal, which is about as old as Borland Pascal (as seen by the fact that it produces 68k code rather than PowerPC code). See The Free Country's Free Pascal Compiler List for more information.
Several varieties of UNIX, including Linux, include C, C++, FORTRAN, and Pascal compilers. The Pascal compiler on UNIX is generally named "pc." This will be good enough for you to learn Pascal with, but it is very limited in terms of power and you will quickly outgrow it. The GNU compiler, gpc, expands as much upon pc as GNU C++ does upon the standard C++ compiler.
The open-source revolution started with Linux has yielded superb free Pascal compilers as well. As noted above, GNU Pascal is available. However, due to the overwhelming dominance of Borland Pascal in days long past, there exists another open-source Pascal compiler: Free Pascal Compiler. This compiler is almost 100% compatible with Borland Pascal, and is available for Linux, DOS, OS/2, Win32, and Amiga platforms.
Useful pages at the Free Pascal site:
I suggest downloading the compiler in one big package unless you pay for timed Internet access. This takes a while, but it has the virtue of making it very simple to install and giving you all the parts of the compiler, including optional example code.
Installation is relatively straightforward, but does assume a certain knowledge with computers. For DOS, OS/2, and Windows, simply unZIP the ZIP file that you downloaded, then run the INSTALL program. Linux and Amiga users are likely expert in computer use already; instructions are available on the Free Pascal web site if needed.
A note about the Free Pascal compiler: it does assume some knowledge about computers to make it work. Unless you've used Borland Pascal before, don't expect to get a program to work perfectly right off the bat. If you've never programmed before, it may take quite a while just to get used to the interface and the process.