Variable /, //, ///

Value Type:

a proper list.

Initial Value:

implementation-dependent.

Description:

20.2.0 9The variables /, //, and /// are maintained by the Lisp read-eval-print loop to save the values of results that were printed at the end of the loop.

The value of / is a list of the most recent values that were printed, the value of // is the previous value of /, and the value of /// is the previous value of //.

20.2.0 10

This is pretty muddled. -kmp 17-Dec-90 If the evaluation of the \term{form} associated with the variable \misc{+} is aborted for some reason, then the values associated with \misc{/}, \misc{//}, and \misc{///} are not updated; they are updated only if the printing of values is at least begun (though not necessarily completed).

The values of /, //, and /// are updated immediately prior to printing the return value of a top-level form by the Lisp read-eval-print loop. If the evaluation of such a form is aborted prior to its normal return, the values of /, //, and /// are not updated.

Examples:

 (floor 22 7) → 3, 1
 (+ (* (car /) 7) (cadr /)) → 22

Affected By:

Lisp read-eval-print loop.

See Also:

- (variable), + (variable), * (variable), Section 25.1.1 (Top level loop)

Notes:

None.