QUERY : UTILITY

QUERY is an utility.
QUERY is the canonical way of obtaining a yes-no response
from the user. It calls PROMPT-READ with appropriate arguments. The only
difference between these two macros is that prompt-read sets a variable,
while query just returns T or nil. Its form is
(query initial-message-form default-value)
initial-message-form is evaluated and should somehow output the initial
part of the prompt.

default-value is the internal representation of the default for the input.
A default-value of $ means that there is no default.

TPS documentation homepage


© 1988-99, Carnegie Mellon University.

TPS homepage