Unit 'LCLProc' Package
[Overview][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

FreeThenNil (deprecated)

Frees the TObject instance (when assigned) before setting the reference to Nil.

Declaration

Source position: lclproc.pas line 115

procedure FreeThenNil(

  var obj

);

Arguments

obj

  

The object reference freed and Nil'd in the routine.

Description

Calls the FreeThenNil routine in the lazutilities.pas unit from the BaseUtils package.

Version info

Deprecated in LCL version 3.0. Use the FreeThenNil routine in the LazUtilities.pas unit from the BaseUtils package instead.

See also

LazUtilities.FreeThenNil



CT Web help

CodeTyphon Studio