Previous: Inheritance To the Table of Content Next: Restrictions On Object Description

- 2.2.13.3 -
TMT Pascal Language Description
Pascal Language Structure
OOP Extensions

Object 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 ] ]



Previous: Inheritance To the Table of Content Next: Restrictions On Object Description
Inheritance Table of Content Restrictions On Object Description

- 2.2.13.3 -