Path: utzoo!attcan!uunet!mcsun!ukc!edcastle!cs.ed.ac.uk!cs.edinburgh.ac.uk!nick From: nick@cs.edinburgh.ac.uk (Nick Rothwell) Newsgroups: comp.sys.mac.programmer Subject: Resource File for preferences? Message-ID: <546@skye.cs.ed.ac.uk> Date: 9 Oct 90 11:44:36 GMT Sender: nnews@cs.ed.ac.uk Reply-To: nick@lfcs.ed.ac.uk Organization: Wavetables 'R' Us Lines: 21 I need to implement a (System Folder) preferences file for an application. I'm toying with the idea of using a resource file rather than a data file; that way I can put in several types of preference information and look them up by resource type, rather than invent and parse my own file format. Is there anything wrong with this approach? I seem to recall a Tech Note threatening to set the Toolbox Police on anyone who tried to use the Resource Manager as a database... On a more general note: since all my data files are of fixed size, and I don't need random access or sequential read/write, why should I use data files at all? Nick. -- Nick Rothwell, Laboratory for Foundations of Computer Science, Edinburgh. nick@lfcs.ed.ac.uk !mcsun!ukc!lfcs!nick ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ "Now remember - and this is most important - you must think in Russian."