Function Entry: AUTOLISP-STATUS
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: AUTOLISP-STATUS
Name
autolisp-status
Class
clautolisp Extension Function
Syntax
(autolisp-status)
Arguments and Values
No arguments.
Description
Return the pending process exit status last stored by
autolisp-set-status, or 0 when it was never set. This is the
clautolisp-native reader that (quit) consults for its default exit
code; it has no AutoCAD / BricsCAD counterpart.
Return Values
An integer (0 when the channel was never touched).
Side Effects
None.
Exceptional Situations
- Under
--strict/--autocad/--bricscadthe call emits a non-fatal out-of-dialect WARNING; it still returns the status. Silent under--clautolispand--lax.
Examples
(autolisp-set-status 9) (autolisp-status) => 9
Availability
- clautolisp: documented (this entry); implemented since clautolisp 1.2.26.
- AutoCAD / BricsCAD: NOT present.
Source Notes
- clautolisp exit-status channel; see autolisp-set-status-and-quit-status.issue.