![]() ![]() Finding the file later is sometimes easier with a pathname than using a truename - because it can have a device/machine independent indirection using logical pathnames. Common Lisp implementations often record the location where functions and other things are defined, by storing the pathname. Here the code uses the function truename and thus it might be necessary to use the *load-truename*. ![]() Usually I prefer to use the *load-pathname*, which might not be related to the physical pathname structure. The latter is the real physical pathname of the file. There are two Common Lisp variables *load-pathname* and *load-truename* bound during load time. ![]() Thus you can set the *aima-root* variable based on that computation and whenever you load the file, the correct directory will be computed. we bought a third party software called 'LT-Extender 2000 plus for Acad LT 2000-2007'. We then construct a new pathname, with the defaults filled from the load pathname and no name and no pathname type components. Re: AutoCAD LT 2007 Appload command returns - unknown command. *load-pathname* is a standard Common Lisp variable and will be bound during load time, to the pathname similar to the one used for the load function. "The root directory where the code is stored.") Note that one can also compute the directory during load time: (defparameter *aima-root*
0 Comments
Leave a Reply. |