Your American History Reference Guide!
- Turbo Pascal

HistoryMania Information Site on Turbo Pascal American History American History Search        American History Browse welcome to our free resource site for all enthusiasts!

Turbo Pascal

Turbo Pascal, is a powerful IDE for the DOS environment. The name Borland Pascal was generally reserved for the high end packages (with more libraries and standard library source code) whilst the original cheap and widely known version was sold as Turbo Pascal. The name Borland Pascal is also used more generically for Borland's dialect of Pascal.

As its name suggests it uses the Pascal programming language. The compiler component of Turbo Pascal was based on the Blue Label Pascal compiler originally produced for the NasSys cassette-based operating system of the Nascom microcomputer in 1981 by Anders Hejlsberg. This was first rewritten as the Compass Pascal compiler for the CP/M operating system and then as the Turbo Pascal compiler for DOS and CP/M. A version of Turbo Pascal was available for the Apple Macintosh from about 1986 but was eventually discontinued around 1992.

When the first version of Turbo Pascal appeared in 1983, the type of IDE which it used was relatively new. On its debut in the American market, Turbo Pascal retailed for $49.99 US. The integrated Pascal compiler also was of very good quality compared to other Pascal products and was affordable above all. The "Turbo" name alluded to its compilation speed.

The IDE was incredible for it's day. It was simple, and obvious to use. It had a menu system that was rather well organized. It has the ability to instantly look up the definitions of the keywords of the language just by putting your cursor over a keyword and hitting the help button. The definitions also frequently included example code that used the keyword. This enabled the inexperienced programmer to learn pascal simply by using the IDE, without actually requiring help from a book.

It had a wonderful ability to easily integrate assembler language within Pascal. You could single step through a program quite easily, and when it got to the assembler part, you could single step through that too. All the while you could add 'watches' on variables and registers quite easily in a well placed window in the IDE. Even programs using IBM PC graphics mode would flip to graphics mode then flip back to text mode while you were single stepping. With a single keypress you could flip back and forth to graphics mode at will.

On top of all this, it included a code profiler that was very good about telling you which parts of your program were using the most time. The books included with Borland Pascal had detailed descriptions of the Intel assembler language, going so far as to provide the clock cycles required of each instruction. Overall this system, as a whole, made for a relatively pleasant experience when trying to optimize the speed of your code; you never had to leave the IDE. This all worked 'out of the box' and was put together so simply that a high school kid could use it.

MAny of these features are still not in the IDEs that followed. The documentation for most of the languages is often poorly written, disorganized, and incomplete. The code profilers work sporadically and its quite easy to crash your system trying to single step through code. Inlining assembler is considered something unusual and freakish to do. These problems are particularly painful in the 'open source' IDEs but even Microsoft Visual Studio is a morass of confusion in comparison to the old Borland product. IDEs of the later years may never achieve the level of simplicity or integration as Borland Pascal, simply because the underlying systems of the newer IDEs are thousands of times more complex than the system Borland Pascal was written on - the IBM PC hardware and MS DOS software.

The IBM PC game The Bards Tale was written in Pascal.

In the early 1990s, it was used in several universities to teach the fundamental concepts of programming.

It is likely that Microsoft Pascal was dropped because of the competition provided by Turbo Pascal's good quality and low price. Another theory is that Borland made an agreement with Microsoft to drop development of Turbo BASIC, a BASIC IDE that stems from Turbo Pascal, if Microsoft would stop developing Microsoft Pascal.

Over the years Borland enhanced not only the IDE but also the programming language. From version 5.5 onwards some object oriented programming features were introduced. Some people call these extensions Object Pascal although that is more commonly used as a name for the language underlying Delphi (which has two totally separate OOP systems). The last version released was version 7. Borland Pascal 7 contained an IDE and compilers for creating DOS, extended DOS and Windows 3.x programs. Turbo Pascal 7 on the other hand could only create standard DOS programs.


By 1995, Borland had dropped Turbo Pascal and replaced it with the RAD environment Delphi, which included the language Object Pascal. Native 32-bit Delphi versions still support the more portable Pascal enhancements (read: that are not 16-bit centric) of the earlier products including the earlier static object model.

See also

External links

The contents of this article are licensed from Wikipedia.org under the
GNU Free Documentation License. How to see transparent copy
Search | Browse | Contact | Legal info