Allows code to detect when it is running in a rule.
Description
The variable is bound to
t
if the code executing has been called (directly or indirectly) from the forward chaining rule interpreter. Otherwise it bound to
nil
. The value should not be changed.
Initial Value
nil
KnowledgeWorks and Prolog User Guide (Unix version) - 22 Dec 2009