中国开发网: 论坛: 程序员情感CBD: 贴子 418280
mhappy
这还象回答问题,进来看看...
完整在线帮助:

Frees an object reference and replaces the reference with nil (Delphi) or NULL (C++).

Unit
SysUtils

Syntax


[C++] void FreeAndNil (void * Obj);


Description
Use FreeAndNil to ensure that a variable is nil (Delphi) or NULL (C++) after you free the object it references. Pass any variable that represents an object as the Obj parameter.
Warning:
Obj must be an instance of a TObject descendant.

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录