Function Entry: VL-EXIT-WITH-VALUE
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VL-EXIT-WITH-VALUE
Name
vl-exit-with-value
Class
Namespace/error-bridge function
Syntax
(vl-exit-with-value value)
Description
Returns a value to the function that invoked the *error* handler from another namespace.
Return Values
Transfers value to the calling namespace.
Side Effects
Transfers control across namespace boundaries.
Arguments and Values
value: any AutoLISP value accepted by Autodesk for namespace return transfer, including integer, real, string, list, file, entity name, T, or nil
Notes
- Autodesk documents this function as valid only in the context of a VLX application's
*error*handler. - Autodesk documents that pending instructions are flushed when control transfers back to the calling namespace.
- Autodesk documents the function as part of separate-namespace VLX error handling.
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [vl-exit-with-value (AutoLISP)](https://help.autodesk.com/cloudhelp/2024/DEU/AutoCAD-MAC-AutoLISP-Reference/files/GUID-80622A39-A5E8-4E68-824E-E66BD8D3E9DE.htm)
- [About Handling Errors in a VLX Application Running in Its Own Namespace (Visual LISP IDE)](https://help.autodesk.com/cloudhelp/2026/ESP/AutoCAD-AutoLISP/files/GUID-B682DF97-DFD5-48B4-9FFF-8A0DF7CAC05F.htm)
- Status: documented.