XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next

gc


Type:   -   function (subr)
Source:   -   xldmem.c

Syntax

(gc)
returns - always returns NIL

Description

The 'gc' function starts a garbage collection of the unused memory of XLISP. NIL is always returned.

Examples

(gc)  ; start a garbage collection right now

Note: The system will cause an automatic garbage collection if it runs out of free memory.

Note: When 'gc' is called or an automatic garbage collection occurs, if the amount of free memory is still low after the garbage collection, the system attempts to add more segments [an automatic expand].

See the gc function in the XLISP 2.0 manual.

  Back to Top


XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next