- 2.2.13.3 -
TMT Pascal Language Description

Pascal Language Structure


OOP ExtensionsObject Syntax
The syntax of an object type declaration is
  object [heritage]
    Component list
    [ private Component list ]
  end
where Component list is defined as:
  [Fieldlist]
  [Method list]
Heritage:
  (object type identifier)
Fieldlist:
  [ field entry [; Field list ] ]
Field entry:
  identifier list : type
MethodList:
  [ method entry [; MethodList ] ]
Method entry:
  [ method heading [; virtual ] ]
  | 
  | 
  | 
| Inheritance | 
Table of Content | 
Restrictions On Object Description | 
- 2.2.13.3 -