Forces immediate garbage collection.
GarbageCollect ( )
None
Forces garbage collection to occur immediately. PowerBuilder makes a pass to identify unused objects, including those with circular references, then deletes unused objects and classes.
This statement initiates garbage collection:
GarbageCollect()