Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!bin From: bin@primate.wisc.edu (Brain in Neutral) Newsgroups: comp.sys.mac.programmer Subject: Re: Can I equate arrays? Message-ID: <4097@uakari.primate.wisc.edu> Date: 23 Mar 91 14:59:16 GMT References: Sender: bin@primate.wisc.edu Reply-To: bin@primate.wisc.edu Lines: 15 From article , by jp48+@andrew.cmu.edu (Jonathan Pace): > > I have an instance of arrays that I want to store in a temporary instance > while I play around with the working data set. Can I do either of the > following in standard C (I have to eventually run on a SUN workstation): In C, if you just give the name of an array, that means "the address of the array". So array1 = array2 won't do what you want. You can do a block copy with BlockMove(), but won't help you when you get to the Sun. There you'll probably want bcopy(), or memcpy(). -- Paul DuBois dubois@primate.wisc.edu