caddcop Posted July 14, 2010 Posted July 14, 2010 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? Quote
Tharwat Posted July 14, 2010 Posted July 14, 2010 Add this to the end of you routine and rename the red colored text according to your routine name. (princ "\n[color="Red"]TEST[/color].lsp loaded...") (princ "\nType [color="red"]TEST[/color] to start program") Regards Tharwat Quote
caddcop Posted July 15, 2010 Author Posted July 15, 2010 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.