From: Thomas L Howard
Subject: lisp
Date: 
Message-ID: <7i57sh$2aia$1@node17.cwnet.frontiernet.net>
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?
From: Nir Sullam
Subject: Re: lisp
Date: 
Message-ID: <7i6173$cem$1@lnews.actcom.co.il>
(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