Sign in Join
FPDoc Onlineexperiment

TObject.Done destructor

Member of TObjectIn unit Objects

Destroy an object.

Declaration

pascal
destructor Done; virtual

Description

Done, the destructor of TObject does nothing. It is mainly intended to be used in the Free method.

The destructor Done does not free the memory occupied by the object.

Errors

None.

See also

Example: ex8

pascal
program ex8;

{ Program to demonstrate the TObject.Done call }

Uses Objects;

Var O : PObject;

begin
  // Allocate memory for object.
  O:=New(PObject,Init);
  O^.Done;
end.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.