| 1 |
<html><head><title>XLISP *tracelist*</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>*tracelist*</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>xlinit.c, xleval.c</nobr></td> |
| 31 |
</tr> |
| 32 |
</tbody></table></p> |
| 33 |
|
| 34 |
<h2>Syntax</h2> |
| 35 |
|
| 36 |
<dl> |
| 37 |
<dt> *tracelist*</dt> |
| 38 |
</dl> |
| 39 |
|
| 40 |
<h2>Description</h2> |
| 41 |
|
| 42 |
<p>The *tracelist* system variable contains a list of the current |
| 43 |
functions being <a href="trace.htm">trace</a>d.</p> |
| 44 |
|
| 45 |
<h2>Examples</h2> |
| 46 |
|
| 47 |
<pre class="example"> |
| 48 |
(defun foo (x) (print (car x))) <font color="#008844">; define FOO</font> |
| 49 |
(trace foo) <font color="#008844">; returns (FOO)</font> |
| 50 |
(trace car) <font color="#008844">; returns (CAR FOO)</font> |
| 51 |
|
| 52 |
(print *tracelist*) <font color="#008844">; prints (CAR FOO)</font> |
| 53 |
|
| 54 |
(untrace foo) <font color="#008844">; returns (CAR)</font> |
| 55 |
(untrace car) <font color="#008844">; returns NIL</font> |
| 56 |
|
| 57 |
(print *tracelist*) <font color="#008844">; prints NIL</font> |
| 58 |
</pre> |
| 59 |
|
| 60 |
<p>See the |
| 61 |
<a href="../manual/xlisp-man-011.htm#tracelist">*tracelist*</a> |
| 62 |
system variable in the <nobr>XLISP 2.0</nobr> manual.</p> |
| 63 |
|
| 64 |
<p><nobr> <a href="#top">Back to Top</nobr></a></p> |
| 65 |
|
| 66 |
<hr> |
| 67 |
|
| 68 |
<a href="../start.htm">Nyquist / XLISP 2.0</a> - |
| 69 |
<a href="../manual/contents.htm">Contents</a> | |
| 70 |
<a href="../tutorials/tutorials.htm">Tutorials</a> | |
| 71 |
<a href="../examples/examples.htm">Examples</a> | |
| 72 |
<a href="reference-index.htm">Reference</a> |
| 73 |
|
| 74 |
</body></html> |