stores a term with a key in a blackboard.
Blackboards are collections of (Key,Value) tuples. With bb_put/3 a tuple (Key,Term) will be stored in the blackboard. If the key Key exists already, then the corresponding Value will be overwritten with Term.
Board blackboard Key ground term Term term
Assume there exists a blackboard 'blackboard' with elements (100, abc), (101, element101), (102, abc).
| bb_put(blackboard,103, element103). | Succeeds. 'blackboard' contains now four elements with keys 100, 101, 102, 103. |
| bb_put(blackboard, aaa, X). | Succeeds. 'blackboard' contains now five elements with keys 100, 101, 102, 103 and aaa. |
| bb_put(blackboard, 101, 'new element'). | Succeeds. 'blackboard' contains now five elements: (100, abc), (101, 'new element'), (102, abc), (103, element103) and (aaa, _1). |
This predicate is not part of the ISO-Prolog Standard.