vl-exit-with-value

AutoCad AutoLISP Functions

 
vl-exit-with-value
 
 
 

Returns a value to the function that invoked the VLX from another namespace

(vl-exit-with-value value)

A VLX *error* handler can use the vl-exit-with-value function to return a value to the program that called the VLX.

Arguments

value

Any value.

Return Values

value

Examples

The following example uses vl-exit-with-value to return the integer value 3 to the function that invoked the VLX:

(defun *error* (msg)
  ... ; processing in VLX-T namespace/execution context
  (vl-exit-with-value  3))
See Also