Figure 2.10 KnowledgeWorks System Browser
If you are familiar with LispWorks system definitions, look at the animal demo's "defsystem" file in the editor (choose KnowledgeWorks > Editor from the KnowledgeWorks Podium). It contains a KB-SYSTEM
and a KB-INIT-SYSTEM
. Examine the components of each system (which can be source files or subsytems) using the System Browser which is available from the Editor via Meta+X Describe System or File > Browse Parent System .
KB-SYSTEM
s are reloaded when the rules are cleared. KB-INIT-SYSTEM
s are reloaded when the object base is cleared.
Try this out by finding the KnowledgeWorks Listener and choosing Memory > Clear Objects and Rules . Then reload the system animal
(type (load-system "ANIMAL")
into the KnowledgeWorks listener). Both the files animal-rules
and animal-objs
are reloaded. Now choose Memory > Clear Objects and reload the animal
system again and note how only the file animal-objs
is reloaded.