| 1 |
<html><head><title>XLISP *gc-flag*</title> |
| 2 |
|
| 3 |
<link rel="stylesheet" type="text/css" href="reference.css"> |
| 4 |
|
| 5 |
</head> |
| 6 |
|
| 7 |
<body> |
| 8 |
|
| 9 |
<a href="../start.htm">Nyquist / XLISP 2.0</a> - |
| 10 |
<a href="../manual/contents.htm">Contents</a> | |
| 11 |
<a href="../tutorials/tutorials.htm">Tutorials</a> | |
| 12 |
<a href="../examples/examples.htm">Examples</a> | |
| 13 |
<a href="reference-index.htm">Reference</a> |
| 14 |
|
| 15 |
<hr> |
| 16 |
|
| 17 |
<h1>*gc-flag*</h1> |
| 18 |
|
| 19 |
<hr> |
| 20 |
|
| 21 |
<p><table cellpadding="0" cellspacing="0" style="margin-left:10px"><tbody> |
| 22 |
<tr valign="top"> |
| 23 |
<td><nobr>Type:</nobr></td> |
| 24 |
<td><nobr> - </nobr></td> |
| 25 |
<td width="100%"><nobr>system variable</nobr></td> |
| 26 |
</tr> |
| 27 |
<tr valign="top"> |
| 28 |
<td><nobr>Source:</nobr></td> |
| 29 |
<td><nobr> - </nobr></td> |
| 30 |
<td width="100%"><nobr>xldmem.c</nobr></td> |
| 31 |
</tr> |
| 32 |
</tbody></table></p> |
| 33 |
|
| 34 |
<h2>Syntax</h2> |
| 35 |
|
| 36 |
<dl> |
| 37 |
<dt> *gc-flag*</dt> |
| 38 |
</dl> |
| 39 |
|
| 40 |
<h2>Description</h2> |
| 41 |
|
| 42 |
<p>*gc-flag* is a system variable that controls the printing of a garbage |
| 43 |
collection message. If *gc-flag* is |
| 44 |
<nobr><a href="nil.htm">NIL</a> ,</nobr> |
| 45 |
no garbage collection messages will be printed. If *gc-flag* is |
| 46 |
non-<nobr><a href="nil.htm">NIL</a> ,</nobr> a garbage collection |
| 47 |
message will be printed whenever a <a href="gc.htm">gc</a> takes |
| 48 |
place. The default value for *gc-flag* is |
| 49 |
<a href="nil.htm">NIL</a>. The message will be of the form:</p> |
| 50 |
|
| 51 |
<pre class="example"> |
| 52 |
[ gc: total 4000, 2497 free ] |
| 53 |
</pre> |
| 54 |
|
| 55 |
|
| 56 |
<h2>Examples</h2> |
| 57 |
|
| 58 |
<pre class="example"> |
| 59 |
*gc-flag* <font color="#008844">; returns NIL</font> |
| 60 |
(gc) <font color="#008844">; returns NIL</font> |
| 61 |
(setq *gc-flag* T) <font color="#008844">; set up for message</font> |
| 62 |
(gc) <font color="#008844">; prints a gc message</font> |
| 63 |
</pre> |
| 64 |
|
| 65 |
<p>See the |
| 66 |
<a href="../manual/xlisp-man-011.htm#gc-flag">*gc-flag*</a> |
| 67 |
system variable in the <nobr>XLISP 2.0</nobr> manual.</p> |
| 68 |
|
| 69 |
<p><nobr> <a href="#top">Back to Top</nobr></a></p> |
| 70 |
|
| 71 |
<hr> |
| 72 |
|
| 73 |
<a href="../start.htm">Nyquist / XLISP 2.0</a> - |
| 74 |
<a href="../manual/contents.htm">Contents</a> | |
| 75 |
<a href="../tutorials/tutorials.htm">Tutorials</a> | |
| 76 |
<a href="../examples/examples.htm">Examples</a> | |
| 77 |
<a href="reference-index.htm">Reference</a> |
| 78 |
|
| 79 |
</body></html> |