#AutoLISP question
20-Apr-88 22:53:39
Sb: #22019-#AutoLISP question
Fm: Training [ADESK] 73417,2235
To: Craig Sharp [Mem TM] 73417,2320
Craig —
I don't know, but here's an example of what can cause the "Can't
re-enter AutoLISP" error (kids, don't try this at home):
..
Command: (setq pt1 (getpoint "\nPoint: "))
Point: (getpoint)
Can't re-enter AutoLISP
Invalid point.
Try again:
..
After the first expression is entered, the GETPOINT function is
active and waiting for input. If we try to respond to the GETPOINT
function's prompt with another GETPOINT function, that's when we get the
error. Does this help? I can think of any number of situations where it
would be possible to attempt to do something like this, only to be doomed
to failure (of course).
One caveat about AutoLISP and menus. There is a DOS imposed
limitation on the length of any line of text which, for some probably very
good reason, effectively limits the length of any single AutoLISP
expression contained in a menu macro to 255 characters…UNLESS explicit
carriage returns are included in the menu item/AutoLISP expression before
the 255th character!
— Brad
..