next up previous

13.4.2 Loading Facts From a File

This function will assert a file of information as facts into the CLIPS factlist. It can read files created with save-facts or any ASCII text file. Each fact should begin with a left parenthesis and end with a right parenthesis. Facts may span across lines and can be written in either ordered or deftemplate format. This function returns TRUE if the fact file was successfully loaded, otherwise FALSE is returned.

Syntax

(load-facts <file-name>)


next up previous