Passes control from a VLX error handler to the *error* function of the calling namespace
(vl-exit-with-error msg)
vl-exit-with-error executes, it calls the *error* function, the stack is unwound, and control returns to a command prompt.
This function is used by VLX applications that run in their own namespace. WhenArguments
A string.
Return Values
None.
Examples
vl-exit-with-error to pass a string to the *error* function of the calling namespace:
The following code illustrates the use of(defun *error* (msg)
... ; processing in VLX namespace/execution context
(vl-exit-with-error (strcat "My application bombed! " msg)))
*error* and vl-exit-with-value functions. The Handling Errors in an MDI Environment topic in the AutoLISP Developer's Guide.
The