Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!brazeau.ucs.ualberta.ca!unixg.ubc.ca!ubc-cs!van-bc!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!yale.edu!cmcl2!uupsi!sunic!lth.se!newsuser From: sundinKC@dna.lth.se (Anders Sundin) Newsgroups: comp.sys.mac.programmer Subject: Re: GetIndString and System 7 Message-ID: <1991Jun28.005428.25123@lth.se> Date: 28 Jun 91 00:54:28 GMT References: <1991Jun26.152232.27719@ux1.cso.uiuc.edu> <54390@apple.Apple.COM> <1991Jun27.190322.3841@ni.umd.edu> Sender: newsuser@lth.se (LTH network news server) Organization: Organic Chemistry 2, Lund University, Sweden Lines: 33 Ben Cranston writes: > I think the original poster was thinking more along the lines of truly > *huge* STR# resources, where there might not be enough free memory to read > the whole thing in at once. For huge STR# resources you might be better off to define your own resource type, one for each STR#. Use the ID of the new type as index. Instead of resource 'STR#' (1000) { "A string", "Another string" }; You could use type 'str1' as 'STR '; resource 'str1' (1) { "A string" }; resource 'str1' (2) { "Another string" }; -Anders Sundin -- ------------------------------------------------------------- | Anders Sundin | e-mail: sundinKC@dna.lth.se | | University of Lund | ok2aps@gemini.ldc.lu.se | | Organic Chemistry 2, | ok2aps@seldc52.bitnet | | P.O. Box 124 | phone: +46 46 108214 | | S-22100 Lund, Sweden | fax: +46 46 108209 | -------------------------------------------------------------