Path: utzoo!utgpu!water!watmath!clyde!bellcore!rutgers!cmcl2!vx2!spector From: spector@vx2.GBA.NYU.EDU (David HM Spector) Newsgroups: comp.sys.mac.programmer Subject: Re: locking INITs Message-ID: <6860020@vx2.GBA.NYU.EDU> Date: 24 Aug 88 14:14:00 GMT References: <1278@sfmag.UUCP> Organization: New York University Lines: 21 Yes, INITs should be locked, especially when you are doing things that move memory. The best example of this is in Apple's own example init in TN14 (I think) [its the one entitled "Stand alone code"] where they give you a teeny init that beeps.... it works fine on a plus (as long as you are using the OLD sound manager) but crashes with an address error on other machines.. You can program the Mac without the TechNotes, but they do come in handy a lot of the time. They're also available "for free" on the InterNet from Sumex-aim. _DHMS ------------------------------------------------------------------------------- David HM Spector New York University Senior Systems Programmer Graduate School of Business Arpa: SPECTOR@GBA.NYU.EDU Academic Computing Center UUCP:...!{allegra,rocky,harvard}!cmcl2!spector 90 Trinity Place, Rm C-4 HamRadio: N2BCA MCIMail: DSpector New York, New York 10006 AppleLink: D1161 CompuServe: 71260,1410 (212) 285-6080 "What computer puts out work like this?" "Hire us and we'll tell you." XYZZYGLORP