All variables have a type. Free Pascal supports the same basic types as Turbo Pascal, with some extra types from Delphi. The programmer can declare his own types, which is in essence de ning an identi er that can be used to denote this custom type when declaring variables further in the source code.
_________________________________________________________________________________________________________Type declaration
___________________________________________________________________
There are 7 major type classes :
_________________________________________________________________________________________________________Types
___________________________________________________________________
The last case, type identi er, is just a means to give another name to a type. This presents a way to make types platform independent, by only using these types, and then de ning these types for each platform individually. The programmer that uses these units doesn't have to worry about type size: it is opaque to him. It also allows to use shortcut names for fully quali ed type names. e.g. de ne system.longint as Olongint and then rede ne longint.