Xref: utzoo alt.sources.amiga:245 comp.sys.amiga.programmer:3730 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!rutgers!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: alt.sources.amiga,comp.sys.amiga.programmer Subject: Re: Short Hello World Message-ID: <21731@cbmvax.commodore.com> Date: 20 May 91 04:34:07 GMT References: <4852@orbit.cts.com> Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) Organization: Commodore, West Chester, PA Lines: 21 In article <4852@orbit.cts.com> chucks@pnet51.orb.mn.org (Erik Funkenbusch) writes: >not to mention that there is SOME RAM overhead for opening a library anyways, >if you happen to have all memory allocated and then try to open a library.. it >won't succeed, that is a MUCH more common occurance. I think commodore should >DEFINATELY squelch this rumor that rom calls will always succeed. Some libraries, including ROM libraries I believe, do allocations on open. Some even allocate entire new lib/device bases on open. If you fail to close them, you may lose valuable resources (and they can fail). Even if they don't currently allocate ram, they may tomorrow. Follow the rules and you won't get burned. Work around the rules or try to find loopholes in the rules and you will. -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup Disclaimer: Nothing I say is anything other than my personal opinion. Thus spake the Master Ninjei: "To program a million-line operating system is easy, to change a man's temperament is more difficult." (From "The Zen of Programming") ;-)