[CM] about subobjects
Rick Taube
taube at uiuc.edu
Fri Jul 26 20:41:45 PDT 2002
> ? (setf (subobjects #!foo) (for i below 10 collect (new midi time i)))
you are missing the :"loop" in the iteration:
(setf (subobjects #!foo) (loop for i below 10 collect (new midi time i)))
> I'm not so concerned by the FOR part of the example. But I haven't been
able
> to find a form for filling a seq with midi events. I've also tried:
>
> (new seq named 'foo)
use the subobjects initarg to specify a list of object to a new seq:
(new seq name 'foo
subobjects (loop for i below 10
collect (new midi time i)))
More information about the Cmdist
mailing list