11.3.171 query_class_hook/5 [hook]

Synopsis

:- 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.

Arguments

QueryClass
term

Determines the allowed values for the atom Answer.

Prompt
atom

The prompt to display at the terminal.

InputMethod
term

The input method to use.

MapMethod
term

The map method to use.

FailureMode
term

The failure mode to use.

See Also

Query Processing.


Send feedback on this subject.