Function - Run on Load
I have seen some routines that when loaded echo a message to the user and others that do not. Can someone explain to me how to add code to a lisp routine to include a message that displays when the routine is loaded? Add this to the end of you routine and rename the red colored text accordingto your routine name.
(princ "\nTEST.lsp loaded...")(princ "\nType TEST to start program")
Regards
Tharwat OK, let me add this, the added lines must be outside of any and all other parentheses. I had already tried this, but had them insde one of the other functions, apparently.
Lisp is all very new to me.
页:
[1]