AutoCAD LISP - GETSTRINGWhat links here?
(getstring [cr][msg]) 


The user cannot enter another AutoLISP expression as the response to a getstring request.

Arguments

Return Values

The string entered by the user; otherwise nil, if the user pressed ENTER without typing a string.

If the string is longer than 132 characters, getstring returns only the first 132 characters of the string. If the input string contains the backslash character (\), getstring converts it to two backslash characters (\\). This allows you to use returned values containing file name paths in other functions.

Examples

Command: (setq s (getstring "What's your first name? "))


What's your first name? Gary

"Gary"

Command: (setq s (getstring T "What's your full name? "))

What's your full name? Gary Indiana Jones

"Gary Indiana Jones"

Command: (setq s (getstring T "Enter filename: "))

Enter filename: c:\my documents\vlisp\secrets

"c:\\my documents\\vlisp\\secrets"
AutoCAD LISP - GETSTRING
programming:DDE:PROGMAN DDE Server
programming:DDE
programming:c:size_t
AutoCAD - Dialog Control Language (DCL) - (load_dialog dclfile)
programming:autolisp
programming:windows:CreateWindow
programming:c:struct utimbuf
AutoCAD - Dialog Control Language (DCL) - (start_dialog)
FreeCAD - create object
programming:c:gmtime
X Windows Functions - Display *XOpenDisplay(display_name)
programming:windows:WM_NCCALCSIZE
programming:c:CLOCKS_PER_SEC
tk:tk_canvas
programming:c:clock_t
programming:windows:MoveWindow
programming cgi - cookies
filename:AutoCAD LISP - GETSTRING
filename:AutoCAD%20LISP%20%2D%20GETSTRING
last edit:September 02 2012 21:15:18 (5206 days ago)
ct = 1796429710.000000 = December 05 2026 00:15:10
ft = 1346620518.000000 = September 02 2012 21:15:18
dt = 449809192.000000