Node:Objects, Next:Strings in BP and GPC, Previous:Debugging, Up:Borland Pascal
Objects in the Borland Pascal 7.0 notation are implemented into GNU Pascal with the following differences:
private, protected, public and
published directives are recognized but ignored,
type
MyObj = object
x: Integer;
procedure Foo; virtual;
y: Real;
function Bar: Char;
end;