本帖最后由 Free-Lancer 于 2013-5-7 19:26 编辑
*push-error-using-stack* (AutoLISP) 2014
Error-handling function that indicates the use of variables from the AutoLISP stack within a custom *error* handler. (*push-error-using-stack*)
Allows access to the local AutoLISP variables on the stack defined within the function where the error occurred from your custom error handler. A call to the *push-error-using-stack* function overrides a previous call to *push-error-using-command*.
If *push-error-using-command* or *push-error-using-stack* are not called, by default AutoLISP works as if *push-error-using-stack* was called.
NoteThis function cannot be used when the command function is used with in a custom *error* handler.
Return Values
A value of T is returned. [pcode=lisp,true](setq var1 "Global1" ; Set some global variables
var2 "Global2"