Jess71p2 28 - ([(type ANY | INTEGER | FLOAT | NUMBER |...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
5. Working Memory 20 ([(type ANY | INTEGER | FLOAT | NUMBER | SYMBOL | STRING | LEXEME | OBJECT | LONG)] [(default default value )] [(default-dynamic expression )] [(allowed-values expression +)])*) A template declaration includes a name, an optional documentation string, an optional "extends" clause, an optional list of declarations, and a list of zero or more slot descriptions. Each slot description can optionally include a type qualifier or a default value qualifier. In the syntax diagram, defaults for various options are indicated in bold letters. The template-name is the head of the facts that will be created using this template. The declarations affect either how the template will be created, or how facts that use it will act, or both. We'll cover most of the declarations in this chapter; others are covered in the Constructs appendix or in the chapter on rules. Every template has a single parent template, which can be specified with the "extends" clause. A template inherits all the slots of its parent template, as well as declared properties like
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/02/2010 for the course COMP 102 taught by Professor Smith during the Spring '10 term at California State University , Monterey Bay.

Ask a homework question - tutors are online