On Fri, Aug 01, 2003 at 05:18:33PM -0700, Oudeis wrote:
> Is there a standard function to copy a multidimensional array?
No, but this comes up every so often. See
http://www.cliki.net/shallow-copy-array
Keep in mind that shallow copying an array may not be what you want.
A good discussion of this issue is in Kent Pitman's paper:
http://www.nhplace.com/kent/PS/EQUAL.html
--
; Matthew Danish <·······@andrew.cmu.edu>
; OpenPGP public key: C24B6010 on keyring.debian.org
; Signed or encrypted mail welcome.
; "There is no dark side of the moon really; matter of fact, it's all dark."
In article <····························@posting.google.com>,
····@hotmail.com (Oudeis) wrote:
> Is there a standard function to copy a multidimensional array?
This depends a little bit on what you want to do in detail, but
adjust-array should be able to do the job, maybe in combination with
make-array. Look up the definitions in the HyperSpec and especially
study the displaced-to options of both functions.
Pascal