Frees an object reference and replaces the reference with nil (Delphi) or NULL (C++).
Unit
Syntax
|
Parameters
AObj
An object to delete (free).
Remarks
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 AObj parameter.
Warning |
|
Note |
This is a duplicate of SysUtils.FreeAndNil. It's placed here because some low-level routines need it, but low-level routines can't use SysUtils unit. |
| Send feedback... |
Build date: 2015-09-24 Last edited: 2015-09-24 |
|
PRIVACY STATEMENT The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed. Permanent link to this article: http://www.eurekalog.com/help/eurekalog/topic_function_elowlevel_freeandnil.php |
|