Path: utzoo!attcan!lsuc!ncrcan!ziebmef!cks From: cks@ziebmef.uucp (Chris Siebenmann) Newsgroups: comp.sys.amiga Subject: Re: Too many devices? Was: Proposal for device hackers: REXX: Message-ID: <1988Dec23.032451.22419@ziebmef.uucp> Date: 23 Dec 88 08:24:49 GMT References: <5954@louie.udel.EDU> Reply-To: cks@ziebmef.UUCP (Chris Siebenmann) Organization: Ziebmef Public Access Unix, Toronto, Ontario Lines: 17 In article <5954@louie.udel.EDU> iphwk%MTSUNIX1.BITNET@cunyvm.cuny.edu (Bill Kinnersley) writes: ... >Solution: if you're going to use transcendentals, do a sqrt(2.) first, >BEFORE you allocate any other resources, just in case. Or better yet, do an OpenLibrary() on the needed library when you start up, before you do any math operations. This gives you a chance to put up a requester with a nice error message, instead of just dying with a message from the runtime library (which may get dumped to the perhaps-nonexistant standard output). It may also save the user a disk swap later on if your program needs the library only occasionally. -- "You're a prisoner of the dark sky/The propeller blades are still And the evil eye of the hurricane's/Coming in for the kill" Chris Siebenmann uunet!utgpu!{ontmoh!moore,ncrcan}!ziebmef!cks cks@ziebmef.UUCP or .....!utgpu!{,ontmoh!,ncrcan!brambo!}cks