#(AND)
6 messages in this thread
SYSOP
When I first get into the drawing editor, everything works fine, including
the (and) function. After 10-15 minutes, the (and) function stops working.
Initially: (and 1 1) & (or 1 1) returns T. Then (and 1 1) returns
"error:null function" & (or 1 1) returns T.
STATUS: virt. mem. 3924K; program size-90%; conv. mem.-508K; ext.
mem.-6960K; swap-388K.
Appreciatively,
Jeff
Jeff – It appears that you're using the symbol AND as a variable, and are
assigning some value (like nil) to it. You can confim this after the error
occurs by entering !and at the command: prompt, and checking the value thats
assigned to it. If you don't see something like <Subr #XXXX> then there is
a program that is assigning a new value to the symbol, and that is what is
causing the error.
Search your code for "(setq and", and see if you find anything.
-TonyT.
Tony
I never would have guessed that in a trillion years; that's almost a
lifetime in dog years. Actually, it wasn't in the lisp itself. Using a
Power Mouse, I load up a full macro of (setq ang nil ent nil…..). That
allows me to check the variables after each test (global), then click the
button & send all those little devils back to nil-land. It really makes
repetitive testing easy. Anyway, that is where the "and" was.
You're a genius, & I use that word loosely.
Thanx a million (that's a fraction of a second in dog years).
Appreciatively,
Jeff
Jeff:
Sounds to me like you are running some lisp routines that are disabling
AutoLISP, or it's atomlist… type !atomlist at the command prompt and see
what you get…
C#
C-man…you KNOW that no one can type !atomlist…it's just a myth
perpetrated by Autodesk! <g>
Brian
Brian:
You may be right… I know I used to be able to read what the atomlist
contained… I just don't remember how I did it… I have taken the
approach 'Damn the Torpedos' and use weird function names…<G>.
C#