I am trying to make a program for AutoCAD in school. I am running into
trouble. I am trying to find the command that will ask me to type text in
(like my name) then after I do that it will display it on the screen can
anybody help me?
(setq myname (getstring "\nType your name: "))
It returns whatever you type , if you want spaces to be included, add a true
flag (like T) after getstring
eg:
(setq myname (getstring T "\nType your name: "))
if you want it to be displayed afterwards do:
(princ myname)
Nir Sullam
sySOFT CAD Solutions
http://www.actcom.co.il/sysoft