Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!src.honeywell.com!msi.umn.edu!cs.umn.edu!kksys!edgar!mmug!UUCP From: Jim.Spencer@p510.f22.n282.z1.fidonet.org.org (Jim Spencer) Newsgroups: comp.sys.mac.programmer Subject: Re: creating resources Message-ID: <669855604.2@mmug.fidonet.org.org> Date: 23 Mar 91 19:45:37 GMT Sender: UUCP@mmug.fidonet.org.org Lines: 12 Pete Resnick writes in a message to All PR> 1. You *really* don't want to create a resource with thousands PR> of integers anyway. There is a Tech Note on why not to abuse PR> the Resource Manager in just this way. I would be much better PR> to use the data fork of the file to store your integers. If you PR> need them in memory, just read them into a handle from there. There's nothing inherently abusive about storing even thousands of integers in a resource. The key here is "a" resource. The warning from Apple would apply to creating seperate resources for each integer. At the same time, there doesn't seem to be any reason not to directly write them to the data fork as you suggest.