EpilogJS
What
versus
How
 

definemorerules


definemorerules(ruleset,ruleset) → ruleset

The definemorerules subroutine takes two rulesets as arguments (the target and the content). It uses insertrule to add the rules from the content ruleset to the target ruleset (indexing as appropriate, based on the value of the variable ruleindexing). It returns the first ruleset as value.

definemorerules differs from definerules in that it does not empty the target ruleset before adding the new content.




Comments and complaints to genesereth@stanford.edu.