
1 CAPI Reference Entries
prompt-for-integer function pops up a text input pane and prompts the user for an integer.
prompt-for-integer message
&key
min max initial-value ok-check
pane-args popup-args
t if it is valid.
popup-confirmer. Arguments can be passed to themake-instance of the pane and the call topopup-confirmer using pane-args and popup-args respectively.
(capi:prompt-for-integer "Enter an integer:") (capi:prompt-for-integer "Enter an integer:" :max 10)(capi:prompt-for-integer "Enter an integer:" :min 100 :max 200)
(capi:prompt-for-integer "Enter an integer:" :ok-check 'evenp)
prompt-for-stringpopup-confirmertext-input-pane

Generated with Harlequin WebMaker