Delphi Pascal is a Slightly Different Language

Borland created their own version of Object Pascal as part of their Delphi product. While this language had many similarities to the language defined by Apple, there were also some notable differences. Classes in Delphi are created using the class keyword, not the Object keyword as in Apple Object Pascal. By convention class names in the Borland language begin with the letter T, which stands for type. Classes in Delphi must always inherit from a parent class, something not true in Apples Object Pascal language. The class TObject is ultimately the ancestor of all classes. Classes in Delphi are explicitly divided into public and private sections, in a pattern we will see again in C++. Finally, classes in Delphi can define a special type of function, called a constructor. We will discuss constructors in detail in the next chapter.

[audio] [real] Text to accompany slide19, in Chapter 3 of An Introduction to Object-Oriented Programming