query_class/5
extendible:- multifile 'SU_messages':query_class/5.
'SU_messages':query_class(+QueryClass, -Prompt, -InputMethod, -MapMethod, -FailureMode)
Access the parameters of a given QueryClass.
term
Determines the allowed values for the atom Answer.
atom
The prompt to display at the terminal.
term
A ground term, which specifies how to obtain input from the user
term
A ground term, which specifies how to process the input to get the abstract answer to the query.
term
An atom determining what to print in case of an input error, before re-querying the user. Possible values are:
help_query
- print the help message and print the query text
again;
help
- only print the help message;
query
- only print the query text;
none
- do not print anything.
For the list of default input- and map methods, see the “Default Input Methods” and “Default Map Methods” subsections in Query Processing.
ask_query/4
checks the output arguments.