Previous: , Up: Query Processing   [Contents][Index]


4.16.3.6 Default Query Classes

Most of the default query classes are designed to support some specific interaction with the user within the Prolog development environment. The full list of query classes can be inspected in the file library('SU_messages'). Here, we only describe the two classes defined by 'SU_messages':query_class/5 that may be of general use:

QueryClassyes_or_noyes_no_proceed
Prompt' (y or n) '' (y, n, p, s, a, or ?) '
InputMethodlineline
MapMethodchar([yes-"yY", no-"nN"])char([yes-"yY", no-"nN", proceed-"pP", suppress-"sS", abort-"aA"])
FailureModehelp_queryhelp_query

Send feedback on this subject.