Free

See Also: Memory Management Functions

Purpose

Frees a block of memory.

Return Type

Boolean

Syntax

Free( {pSomeAddress} )

Where:

What It Does

Free is used to return allocated memory to the system. Use Free to dispose all allocations made by Alloc.

Example

Boolean bRetVal

Pointer aPointer

 

Move (Free(aPointer)) to bRetVal

If (bRetVal) Begin

    // do something

End