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.