Hi, All...
How to write a simple script that loads lisps from a network location
without adding it is in the startup suit. (location is added in support file search path) Can anyone help me out with that?
my drive---T
Path-----Documents \my folder\Lisps
Lisp-------etr.lsp
comand----(defun c:Etr ()
I already added T drive in support directory
can anybody help me to solve this
Thanks
Do you want to load multiple lisp files at startup?
If so, create a file named "Acaddoc.lsp" and place it in the TOP support file seach path
;;example (load "mylisp") (load "yourlisp") ; the next one is not in the support file search path (load "\\\\server\\share\\location\\another_lisp")
If you are wanting to load one at run time, say from a menu macro... then...
^c^c(if (not c:myfunc)(load "myfunc"))myfunc;
Hi,
Save the following two lines to script file <YourName>.scr
(load "t:\\Documents\\my folder\\Lisps\\etr.lsp")
ETR
but be aware that if the last code line in the lisp is: (c:etr)
you do not need the second line
cheers
Moshe
Can't find what you're looking for? Ask the community or share your knowledge.