LispWorks CAPI User Guide > 10 Prompting for Input > 10.3 Window-modal Cocoa dialogs


10.3.1 The :continuation argument

All CAPI dialog functions take a keyword argument continuation . This is a function which is called with the results of the dialog.

You do not need to construct the continuation argument yourself, but rather call the dialog function inside with-dialog-results .

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