4.6 Reference Pages

4.6.3 The Inspector

inspect Function

Syntax:inspect object

The functioninspect allows you to examine data structures. When called on an object,inspect displays the object's components. The object can then be modified.

The value returned frominspect is that of the last object examined.

> (setq a 1)
1

> (inspect a) 1

>> :q 1

> (inspect 'a) #<Symbol 3C81FD> [0: NAME] "A" [1: VALUE] 1 [2: FUNCTION] Undefined [3: PLIST] NIL [4: PACKAGE] #<Package "USER" 39DD0B>

>> :q A

See Also: describe


The User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker