[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Finalize (clean up) memory block using RTTI
Source position: system.fpd line 91
procedure Finalize( |
var T: TAnyType; |
ACount: SizeInt = 1 |
); |
Finalize is a compiler intrinsic: it cleans up (finalizes) a memory area T for any kind of managed variable. Finalizing means decreasing reference counts where necessaru and generally zeroeing out the memory area. It performs the opposite operation of initialize.
The optional ACount parameter can be used to initialize an array.
For examples, see initialize.
|
Initialize memory block using RTTI |
|
|
Return Default initialized value |
|
|
Return pointer to type information for type |