I was wondering if there is a way to have a message such as the following show up when a lisp routine was loaded using "Load Application" in ACAD?
1) Load Application "ZAP"
2) lisp routine is successfully loaded and the message "Type ZAP at the command line to initiate ZAP routine"
@alan1959 wrote:I was wondering if there is a way to have a message such as the following show up when a lisp routine was loaded using "Load Application" in ACAD?
1) Load Application "ZAP"
2) lisp routine is successfully loaded and the message "Type ZAP at the command line to initiate ZAP routine"
(Defun c:Demo nil
(princ "\nThis is a Demonstration for Printing the command syntax on loading")
(princ)
);<--- end of defun
(prompt
"\n>>>...Demo.lsp is now loaded by pBe. Type Demo to run...<<<")
(princ)
Save the file as demo.lsp and load thru appload
The prompt line at the end of the main routine will appear upon loading
HTH