First off, welcome to the swamp.
Secondly, when you are posting code, there's an icon that looks like the # symbol. This is for code. The way you have it currently posted makes it hard to read.
Thirdly, when creating a new post, try and make the title more appropriate to the topic of the code.
Anyway, don't mind me, I'm just passing along what was told me over and over again.
So, how much do you know about LiSP ??
< ... >
;;; **** Replace function in VLX for compatability with 2010+
(defun ZF_GET-ACADCOLOR ()
(VL-LOAD-COM)
(setq ZF_ACADCOLOR
(vla-GetInterfaceObject
(ZF_GET-ACAD-OBJECT)
(strcat "AutoCAD.AcCmColor."
(itoa (ATOI (GETVAR "ACADVER")))
)
)
)
)
< ... >
The item listed in red in the quote is telling us that the program is searching for the ACAD version. I can't see where it is checking this version against the program though. I would assume there's a piece of code somewhere that will check the version against something and if the current ACAD version does not match, it kicks it out or stops running.
I would also think whoever wrote it is trying to confuse the reader for some reason.
([color=red]itoa (ATOI (GETVAR "ACADVER"[/color])))
itoa = Integer to string conversion
atoi = string to integer conversion
So this is being converted to integer and back to string in one line.
Perhaps I am wrong in this assumption and would appreciate others sounding off on my contribution here.
< edited > You should also recognize the one who wrote the code regardless of their current affiliation.