You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you actually get an exception or is it just a log line?
The engine tries first to load it as binary file and then as text file. In certain environment, a spurious message [BLOAD2] File book.clp is not a binary construct file. might show up. Nevertheless, the constructs were actually loaded correctly.
The error => [BLOAD2] File book.clp is not a binary construct file.
The code.
from clips import Environment, Symbol
env = Environment()
env.clear()
env.load('book.clp')
env.facts()
env.run()
book.clp file
(deftemplate book
(multislot surname)(slot name)(multislot title)
)
(deffacts initial
(book (surname J.P.)(name Dubreuil)(title History of francmasons))
(book (surname T.)(name Eker)(title Secrets of millionaire mind)))
(defrule find_title
?book<-(book(name Eker))
=>
(printout t ?book crlf)
)
The text was updated successfully, but these errors were encountered: