GarbageCollect

Description

Forces immediate garbage collection.

Syntax

GarbageCollect ( )

Returns

None

Usage

Forces garbage collection to occur immediately. PocketBuilder makes a pass to identify unused objects, including those with circular references, then deletes unused objects and classes.

Examples

Example 1

This statement initiates garbage collection:

GarbageCollect()

See also