@ Steve:
Why do you remove the dictionary instead of just the xrecord?
What is the meaning of (1 . "DWGPROPS COOKIE")?
It seems that a "DWGPROPS" dictionary was used in older versions of AC. Is it wise to use that name for a custom application?
Thanks for the suggestions, Lee!
I've learned some new things, just by going through them. I understand that lambda creates an anonymous function, but what is the purpose of using it here?
Thanks,
Steve
Thanks John!
Yeah the extra parenthesis threw me for a minute, so I did a test at the command line ofCode - Auto/Visual Lisp: [Select]and sure enough, it didn't return "3", so I tried
Code - Auto/Visual Lisp: [Select]and that returned 3.
Steve
Thanks for the suggestions, Lee!
I've learned some new things, just by going through them. I understand that lambda creates an anonymous function, but what is the purpose of using it here?
Thanks John!
Yeah the extra parenthesis threw me for a minute, so I did a test at the command line ofCode - Auto/Visual Lisp: [Select]and sure enough, it didn't return "3", so I tried
Code - Auto/Visual Lisp: [Select]and that returned 3.
Steve
Extra credit: what is the difference between "(lambda nil" and "(lambda (/)"?
Extra credit: what is the difference between "(lambda nil" and "(lambda (/)"?Shooting from the hip here but does (lambda nil) mean it accepts no arguments and saves no variables but (lambda (/)) will?
(lambda nil ...
is the same as
(lambda ( / ) ...