Re: copying arrays
- From: Frank Buss <fb@xxxxxxxxxxxxx>
- Date: Sun, 29 Apr 2007 06:02:11 +0200
Q wrote:
CL-USER 37 > (setf a (make-array 5 :initial-element 7))
#(7 7 7 7 7)
You should use defparameter or defvar, if you didn't bound "a" before.
How do I pass copies of the array around, instead of the array
itself? I don't want them to be eq. But, it'd be nice if they were
equal :)
http://www.cliki.net/SHALLOW-COPY-ARRAY
--
Frank Buss, fb@xxxxxxxxxxxxx
http://www.frank-buss.de, http://www.it4-systems.de
.
- References:
- copying arrays
- From: Q
- copying arrays
- Prev by Date: Re: copying arrays
- Next by Date: Re: Any macro for inserting math "normally"
- Previous by thread: Re: copying arrays
- Next by thread: Re: copying arrays
- Index(es):