previous next top contents index framed top this page unframed
The PROCEDURE $collect causes a garbage collection to occur, unless $collectLock is non-zero, in which case $collect returns without doing anything.
If kindOfCollection is equal to stringCode, only STRINGs are collected. If equal to pointerCode, only dynamic objects (dynamic records, data sections, and dynamic ARRAYs) are collected. If kindOfCollection is Zero, all collectable data are collected.
MAINSAIL Language Manual, Section 32.39