Node:Objects, Next:Strings in BP and GPC, Previous:Debugging, Up:Borland Pascal

### Objects

Objects in the Borland Pascal 7.0 notation are implemented into GNU Pascal with the following differences:

- the `private`, `protected`, `public` and `published` directives are recognized but ignored,
- data fields and methods may be mixed:

      type
        MyObj = object
          x: Integer;
          procedure Foo; virtual;
          y: Real;
          function Bar: Char;
        end;