6.3 Inspecting in the listener
inspect
is an interactive version of describe
. It displays objects in a similar way to describe
. Entering the teletype inspector causes a new level of the top loop to be entered with a special prompt indicating that the inspector has been entered and showing the current inspector level.
Within the modified top loop entering an integer causes that slot to be inspected and the current object to be pushed onto an internal stack of inspected previously inspected objects. The special variables $
, $$
and $$$
are bound to the top three objects on the inspector stack.
The following keywords are also treated specially by the inspector:
:d
:i
:q
:s
n v
:sh
:u
*inspect-print-level*
and *inspect-print-length*
are similar to *describe-print-level*
and *describe-print-length*
. (See above.)
Generated with Harlequin WebMaker