|
From: Michael A. K. <ma...@ll...> - 2001-11-07 15:04:39
|
Hello all,
1. I have noticed that WITH-SLOTS used in conjunction with Matlisp and
an object defined by DEFSTRUCT doesn't always find the requested
slots. For example...if I start in package :USER all is well.
(IN-PACKAGE :USER)
;;; a bunch of code to DEFSTRUCT etc
(DEFUN DO-SOMETHING (PD)
(WITH-SLOTS (HEADING PITCH GPS-LATITUDE GPS-LONGITUDE) PD
...))
(DO-SOMETHING A-PD) ; and all is well...no problems
If I restart lisp (actually matlisp) and start in a different package,
WITH-SLOTS will fail. E.G.,
(IN-PACKAGE :MATLISP-USER)
;;; everything else is the same up to
(DO-SOMETHING A-PD) ; and this time I get approx: "NO OBJECT WITH SLOT NAMED PITCH"
This can't be an expected result...whats going wrong here?
mike
--
-------------------------------------------------------------------
Dr Michael A. Koerber We child proofed our home 3 years ago
MIT/Lincoln Laboratory and they're still getting in!
ma...@ll...
|