CMU Artificial Intelligence Repository
Home INFO Search FAQs Repository Root

QUERY: Lisp code for querying the user.

lang/lisp/code/io/query/
The QUERY package generalizes the capabilities of the Lisp functions Y-OR-N-P and YES-OR-NO-P, and is similar in many ways to the Symbolics FQUERY function. There are several major differences, one of which is QUERY's ability to timeout with a default value. In addition to redefining Y-OR-N-P and YES-OR-NO-P in terms of QUERY, this package defines Y-OR-N-P-WAIT and YES-OR-NO-P-WAIT to illustrate the timeout capability. More complicated queries are possible using the QUERY function.
Ports: Portable. Copying: Free use, modification, and distribution. Copyright 1993 by Mark Kantrowitz. CD-ROM: Prime Time Freeware for AI, Issue 1-1 Author(s): Mark Kantrowitz, Keywords: Authors!Kantrowitz, CMU, IO, Input, Lisp!IO, Output, Query, Yes/No References: ?
Last Web update on Mon Feb 13 10:29:52 1995
AI.Repository@cs.cmu.edu