Errors during continuos use of lisp routines

Errors during continuos use of lisp routines

anishkt
Contributor Contributor
270 Views
1 Reply
Message 1 of 2

Errors during continuos use of lisp routines

anishkt
Contributor
Contributor
I have compiled a lisp routine combining several routines (acaddoc). I have localised the variables for each routine witin the compiled file. But the variable names in eachroutine are the same. (only minor modifications between the routines. When the routine is called, it works only for one or two times. Then it starts giving erroneous results. The error being the insertion points getting mixed up.
Could this be because the variable nams are same?
I had the same error before when I directly gave an insertion point using POLAR command. The insertion points would never be what I want inspite of giving distance and angle. Then I tried using some triangulation. It was working then. But now, even that does not work.
can someone help
0 Likes
271 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

*if* you localized the variables, names shouldn't
be a problem

if you're getting apparent point errors are you
sure it's not an osnap issue?

you might also try the lisp group as this
seems a lisp question rather than vba?

hth

mark


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
have compiled a lisp routine combining several routines (acaddoc). I have
localised the variables for each routine witin the compiled file. But the
variable names in eachroutine are the same. (only minor modifications between
the routines. When the routine is called, it works only for one or two times.
Then it starts giving erroneous results. The error being the insertion points
getting mixed up. Could this be because the variable nams are same? I had the
same error before when I directly gave an insertion point using POLAR command.
The insertion points would never be what I want inspite of giving distance and
angle. Then I tried using some triangulation. It was working then. But now,
even that does not work. can someone help
0 Likes