LispWorks CAPI User Guide > 10 Prompting for Input > 10.2 Prompting for values


10.2.1 Prompting for strings

The simplest of the CAPI prompting dialogs is prompt-for-string which returns the string you enter into the dialog.

 "Enter a string:")

Figure 10.4 A dialog prompting for a string

An initial value can be placed in the dialog by specifying the keyword argument :initial-value .

LispWorks CAPI User Guide (Macintosh version) - 22 Dec 2009