Prompts the user for a number.
capi
prompt-for-number message &key min max initial-value ok-check pane-args popup-args continuation => result, successp
message⇩ |
A string. |
min⇩ |
A number or nil . |
max⇩ |
A number or nil . |
initial-value⇩ |
A number or nil . |
ok-check⇩ |
A function or nil . |
pane-args⇩ |
Arguments to pass to the pane. |
popup-args⇩ |
Arguments to pass to the confirmer. |
continuation⇩ |
A function or nil . |
result⇩ |
A number or nil . |
successp |
A boolean. |
The function prompt-for-number
pops up a text-input-pane and prompts the user for a number, which is returned in result.
The functionality corresponds exactly to that of prompt-for-integer, except that all types of numbers are allowed.
See prompt-for-integer for how message, min, max, initial-value, ok-check, pane-args, popup-args, continuation are used.
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42