XLISP *gc-flag*

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference

# *gc-flag*

Type: | - | system variable
Source: | - | xldmem.c

## Syntax

*gc-flag*

## Description

*gc-flag* is a system variable that controls the printing of a garbage collection message. If *gc-flag* is NIL , no garbage collection messages will be printed. If *gc-flag* is non-NIL , a garbage collection message will be printed whenever a gc takes place. The default value for *gc-flag* is NIL. The message will be of the form:

    [ gc: total 4000, 2497 free ]

## Examples

    *gc-flag*           ; returns NIL
    (gc)                ; returns NIL
    (setq *gc-flag* T)  ; set up for message
    (gc)                ; prints a gc message

See the *gc-flag* system variable in the XLISP 2.0 manual.

Back to Top

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference