[Q] Can we use twice the same object?
Jacques Duthen
duthen@club-internet.fr
Thu, 22 May 1997 02:07:05 +0200
Hello,
It seems that the same object cannot be used twice in the same score.
Is it correct?
(let ((pat
(engorge
(list (a2 (rq 1)) (d3 (rq 2)) (g3 (rq 1)) (e3 (rq 1))))))
(cmn
(output-type :quickdraw)
(size 18)
(staff
bass
(meter 5 4)
pat
pat))) ;; only one pattern is displayed
Do I have to use a function to produce a new object rather than
to use a variable which always points to the same object?
(defun new-pat ()
(engorge
(list (a2 (rq 1)) (d3 (rq 2)) (g3 (rq 1)) (e3 (rq 1)))))
(cmn
(output-type :quickdraw)
(size 18)
(staff
bass
(meter 5 4)
(new-pat)
(new-pat)))) ;; all the patterns are displayed
Is there any other workaround?
Thanks in advance [jack]
--
| # # | # # # | # # | # # # | # # | # # # | Jacques Duthen [jack] |
| # # | # # # | # # | # # # | # # | # # # | duthen@club-internet.fr |
|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|