You are defining the (lisp-err) function outside of the function calling it,
but using a variable that is local to the (c:dt) function....move the
(lisp-err) function to be defined starting at the second line of the main
"Erik Deyo" wrote in message
Error: AutoCAD variable setting rejected: "CLAYER" nil; error: An error has
occurred inside the *error* functionAutoCAD variable setting rejected:
I'm getting this error in the following lisp. Why?