getstring
(getstring [flag] [prompt])
The getstring function prompts the user to enter a text string.
Arguments
flag
If the optional control flag is set to FALSE (0), the input of a space, of Return, or of Tab is interpreted as termination of the string input. Otherwise, the input is terminated by RETURN entered by the user. This means that the retrieved string may contain blanks.
prompt
If the optional argument prompt contains a valid string, it is displayed in the Command Window; otherwise, no prompt is displayed.
Return Value
The function returns the string entered by the user.
: (getstring)
: (getstring T "Please enter your name:")
: (getstring "Title:")
getkword