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

NextPrevUpTopContentsIndex

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.

(prompt-for-string
 "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 (Unix version) - 22 Dec 2009

NextPrevUpTopContentsIndex