Next: mpg-ref-recordz, Previous: mpg-ref-recorda, Up: mpg-bpr [Contents][Index]
recorded/3
recorded(-Key, -Term, +Ref)
recorded(?Key, ?Term, ?Ref)
Searches the internal database for a term recorded under the principal functor of Key that unifies with Term, and whose database reference unifies with Ref.
term
term
db_reference
If Ref is instantiated, then Key and Term
are unified with the key and term associated with Ref.
Otherwise, If Key is a compound term, then only its principal functor is
significant. That is, foo(1)
represents the same
key as foo(n)
.
Can be used to backtrack through all the matching terms recorded under the specified key.
type_error
Ref is not a database reference