MAINSAIL Language Manual, Section 32.39

previous   next   top   contents   index   framed top   this page unframed


32.39. $collect

Figure 32–40. $collect
PROCEDURE   $collect    (OPTIONAL INTEGER
                             
kindOfCollection);

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.


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL Language Manual, Section 32.39