definefacts(dataset,dataset) → dataset
The definefacts subroutine takes two datasets as arguments (the target and the content). It empties the target dataset and then uses insertfact to add the facts from the content dataset to the target dataset (indexing as appropriate, based on the value of the variable dataindexing). It returns the first dataset as value.
definefacts differs from definemorefacts in that it empties the target dataset before adding the new content.