Next: mpg-ref-query_hook, Previous: mpg-ref-query_class, Up: mpg-bpr [Contents][Index]
query_class_hook/5
hook:- multifile user:query_class_hook/5.
user:query_class_hook(+QueryClass, -Prompt, -InputMethod, -MapMethod, -FailureMode)
Provides the user with a method of overriding the call to
'SU_messages':query_class/5
in the preparation phase of query
processing. This way the default query class characteristics can be
changed.
term
Determines the allowed values for the atom Answer.
atom
The prompt to display at the terminal.
term
The input method to use.
term
The map method to use.
term
The failure mode to use.
All error handling is done by the predicates extended by this hook.