Hi everyone,I have download two samples in this website https://clips.codeplex.com/releases/view/66878, it seems that the clips environment can only load facts and rules from some files, what can I do if I want to save some facts or rules into a file? Please someone give me some instructions. Sorry for my poor English.Thank you!
Hi everyone,I have download two samples in this website https://clips.codeplex.com/releases/view/66878, it seems that the clips environment can only load facts and rules from some files, what can I do if I want to save some facts or rules into a file? Please someone give me some instructions. Sorry for my poor English.
Thank you!Hello,
I used (save-facts "factsfile.clp") and is returning me it was not found to save-facts function. Can to assist please?
( declare (salience 80))
( softgoalElement
( sgId ?idSg )
( sgQualityAttribute ?QualityAttributeSg)
( sgSujectObject ?SubjectObjectSg))
(startWriteInFile)
=>
(printout basesoftgoal "ID" ?idSg "<[TYPE]QUALITY ATTRIBUTE>" ?QualityAttributeSg "<[TOPIC]SUBJECT/OBJECT LAL>" ?SubjectObjectSg crlf)
;;(save-facts "softgoalFile.clp")
;;( savefacts "softgoalFile.clp" visible deftemplate basesoftgoal)
)