Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!decvax!decwrl!labrea!rocky!rokicki From: rokicki@rocky.UUCP Newsgroups: comp.sys.amiga Subject: Re: How much of the console.device do I need to close? Message-ID: <329@rocky.STANFORD.EDU> Date: Thu, 28-May-87 12:52:25 EDT Article-I.D.: rocky.329 Posted: Thu May 28 12:52:25 1987 Date-Received: Sat, 30-May-87 05:30:31 EDT References: <8705250859.AA07959@violet.berkeley.edu> <1926@cbmvax.cbmvax.cbm.UUCP> Organization: Stanford University Computer Science Department Lines: 11 Summary: Be careful with coercions > the message port do a "while( (ULONG) GetMsg(port) ) ;". If you are using Manx with 16-bit ints, and GetMsg has not been declared to return any type, this will fail with a certain very small probability---if the lower sixteen bits of the message returned are zero. I would estimate this probability at approximately 1/4096, but it will vary widely. So declare all of those externals, folks! An easy solution is to always include "functions.h". -tom