[GBBopen-developer] Possible mistake in tutorial.pdf
Chun Tian (binghe)
binghe.lisp at gmail.com
Wed Apr 16 11:43:50 EDT 2008
Hi, GBBopen Developer
I'm reading tutorial.pdf, page 54, the definition of function
INITIALIZATIONS:
(defun initializations (event-name &key &allow-other-keys)
(declare (ignore event-name))
;; Clean up any previous run:
(delete-blackboard-repository)
;; Make a new known-world space instance:
(make-space-instance
'(known-world)
:dimensions (dimensions-of 'location)
:allowed-unit-classes 'location))
I think the :ALLOWED-UNIT-CLASSES keyword should take a list of
symbol, not just one symbol, or I cannot run (START-CONTROL-SHELL)
correctly:
(defun initializations (event-name &key &allow-other-keys)
(declare (ignore event-name))
;; Clean up any previous run:
(delete-blackboard-repository)
;; Make a new known-world space instance:
(make-space-instance
'(known-world)
:dimensions (dimensions-of 'location)
:allowed-unit-classes '(location)))
Am I right?
Chun Tian (binghe)
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the GBBopen-developer
mailing list