Change your code to the following.....
Start the routine by typing "name" at the command line.Code:(defun c:NAME () (setq a (getstring"\nEnter your name")) (princ (strcat "\nYou are " a)) (princ) ); defun
Q2.....to load the lisp routine you got from elsewhere.....type at the command prompt (load "filename"), then it should respond with the start command for the routine, just type that command at the command prompt to initiate the routine....




Reply With Quote

Bookmarks