How can I register a search path for my lisp files ?
In my case it returns- S::STARTUP - as it should:
Command: (defun S::Startup (princ “Startup is loaded”) (+ 47 11) )
S::STARTUP
Command:
How do you want to use this function and where do you put it (the name of .lsp file)?
Maxim
As about princ function - in my case it works as it should.
If I'd load this AutolISP routine:
(defun c:test (/)(princ "\nStartup is loaded")(princ "\n")(setq a (+ 47 11)))
and then execute TEST command, it returns:
Command: testStartup is loaded58Command:
Sorry, my fault, it is not the Add button, it is the New button. If I put (load "tetraeder") in the s::startup I get "invalid parameter", but I can use this at the prompt and it works. Even if I put it in the startup.lsp I get no error, but it will not executed. if there is no better solution, I have to load all needed files manually or put all function definitions into the startup.lsp. This is unacceptable.