| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |
Arguments: &optional frame
The frame argument to :restart must evaluate to either a
frame object or nil
. A frame object is a list whose first element is a symbol
naming a function and whose later arguments are the evaluated arguments to the function.
When :zoom is printing frames in moderate mode, it prints frame
objects as described and sets the value of cl:*
to the chosen current frame
object.
The frame argument replaces the current frame in the evaluation stack and
computation is continued. (If the argument evaluates to nil
or is left out
altogether, computation is restarted from the current frame. You have presumably done
something to change the state of Lisp - e.g. defined an undefined function or changed the
value of a variable - so that whatever error threw you into a break loop is not repeated.)
You cannot restart every frame. If you attempt to :restart over an inappropriate frame, Lisp will signal an error.
The minimal abbreviation of :restart is :rest. Note that :res is the abrieviation for the :reset command.
See top-level.htm for more information on top-level commands. See debugging.htm for information on the debugger. See section :return and :restart) in that document for examples of :restart and a comparison between :restart and :return.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |