NextPrevUpTopContentsIndex

prompt-for-number

Function
Summary

Prompts the user for a number.

Package

capi

Signature

prompt-for-number message &key min max initial-value ok-check pane-args popup-args continuation => result, successp

Arguments

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 .

Description

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 also

prompt-for-integer


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex