[ Recorded Database | Reference Manual | Alphabetic Index ]
Records the term Value at the beginning of key Key in the indexed database.
- An atom, compound term, or handle.
- Any prolog term.
Used to record any prolog term Value at the beginning of the indexed
database entry associated with the key Key. In the case of compound
terms, all keys of the same name and arity are treated as equal.
If backtracking occurs through the call of recorda/2 the associated
Value is not removed from the indexed database.
Modes and Determinism
This predicate is sensitive to its module context (tool predicate, see @/2).
- (4) instantiation fault
- Key is not instantiated.
- (5) type error
- Key is neither an atom nor a compound term.
Value = glenlivet More (;)
Value = bushmills More (;)
Value = jameson More (;)
no (more) solution.
recorda(Key, anything). (Error 4)
recorda("key",anything). (Error 5)
record / 2, recordz / 2