A typical Unit

Here is a typical unit in Object Pascal. Note the separation between interface and implementation. Constant, type, variable and function definitions can appear in either section.

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