All Manuals > KnowledgeWorks and Prolog User Guide > 7 Reference Guide

*in-interpreter* Variable

Summary

Allows code to detect when it is running in a rule.

Package

kw

Initial Value

nil

Description

The variable *in-interpreter* 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.


KnowledgeWorks and Prolog User Guide (Macintosh version) - 01 Dec 2021 19:35:35