XLISP >
XLISP 2.0 -
Contents -
Reference -
Previous |
Next
*breakenable*
Type: |
- |
system variable |
Source: |
- |
xldbug.c |
Syntax
- *breakenable*
Description
The *breakenable* system variable controls entry to the
break loop and
the trapping of errors. If *breakenable* is set to
NIL , then no errors from the
system, error and
cerror will be trapped. If *breakenable*
is non-NIL , the
break loop will
handle these errors. The break function is
not affected by *breakenable* and will always force entry to the
break loop.
If the 'init.lsp' initialization file sets *breakenable* to
T ,
errors will be trapped by the
break-loop.
Examples
(setq *breakenable* NIL) ; disable break loop
(defun foo (x) (+ x x)) ; define FOO
(foo "a") ; error: bad argument type
; but did NOT enter break loop
(setq *breakenable* T) ; enable break loop
(foo "a") ; error: bad argument type
; entered break loop
See the
*breakenable*
system variable in the XLISP 2.0 manual.
Back to Top
XLISP >
XLISP 2.0 -
Contents -
Reference -
Previous |
Next