Objects in the Borland Pascal 7.0 notation are implemented into GNU Pascal with the following differences:
type
MyObj = object
x: Integer;
procedure Foo; virtual;
y: Real;
function Bar: Char;
end;