11.3.175 query_class/5   extendible

Synopsis

:- multifile 'SU_messages':query_class/5.

'SU_messages':query_class(+QueryClass, -Prompt, -InputMethod, -MapMethod, -FailureMode)

Access the parameters of a given QueryClass.

Arguments

QueryClass

term

Determines the allowed values for the atom Answer.

Prompt

atom

The prompt to display at the terminal.

InputMethod

term

A ground term, which specifies how to obtain input from the user

MapMethod

term

A ground term, which specifies how to process the input to get the abstract answer to the query.

FailureMode

term

An atom determining what to print in case of an input error, before re-querying the user. Possible values are:

Description

For the list of default input- and map methods, see the “Default Input Methods” and “Default Map Methods” subsections in Query Processing.

Exceptions

ask_query/4 checks the output arguments.

See Also

Query Processing.


Send feedback on this subject.