Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!mcsun!cernvax!chx400!chx400!bernina!neptune!c!mneerach From: mneerach@iiic.ethz.ch (Matthias Ulrich Neeracher) Newsgroups: comp.sys.mac.programmer Subject: Re: amateur programming questions Message-ID: <25713@neptune.inf.ethz.ch> Date: 20 Feb 91 12:07:23 GMT References: <1991Feb14.165107.7828@umiami.ir.miami.edu> <1991Feb19.185229.183@smsc.sony.com> Sender: news@neptune.inf.ethz.ch Reply-To: mneerach@iiic.ethz.ch Organization: Departement Informatik, ETH, Zurich Lines: 20 In article <1991Feb19.185229.183@smsc.sony.com>, dce@smsc.sony.com (David Elliott) writes: > >In article <1991Feb14.165107.7828@umiami.ir.miami.edu>, dweisman@umiami.ir.miami.edu (Ordinary Man) writes: >|> As you've mentioned, you create the 'ICON' resources with ResEdit and >|> remember (write down) the ID's of them. Then just load it (them), make >|> a rect to put it in a window, and plot it (them). Don't forget to set the >|> port of the window to draw in, though. > >Why is it that people tend to use ID numbers instead of using names >to identify resources? Names are slower to process and not guaranteed to be unique. Numbers work fine for me. Matthias -- Matthias Neeracher mneerach@iiic.ethz.ch "These days, though, you have to be pretty technical before you can even aspire to crudeness." -- William Gibson, _Johnny Mnemonic_