[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Destroy an object.
Source position: objects.pp line 263
destructor TObject.Done; virtual; |
Done, the destructor of TObject does nothing. It is mainly intended to be used in the TObject.Free method.
The destructor Done does not free the memory occupied by the object.
None.
|
Destroy an object and release all memory. |
|
|
Construct (initialize) a new object |
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.