The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class:TVector, TIntVector
Declaration:procedure Free;

The Free method destroys the object and frees its associated memory. Free is successful even if the object is NIL, so if the object was never initialized, for example, calling Free won't result in an error.

Hint: Normally, you need not call Free by yourself, since the owner of the component (usually a form) does this automatically.

Example: This method is used in the following example program (see for downloading the code): testvec

Last Update: 2012-Oct-20