Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!mit-eddie!godot!ima!ISM780!darryl From: darryl@ISM780.UUCP Newsgroups: net.micro.mac Subject: Re: Orphaned Response Message-ID: <131@ISM780.UUCP> Date: Sat, 2-Mar-85 00:53:31 EST Article-I.D.: ISM780.131 Posted: Sat Mar 2 00:53:31 1985 Date-Received: Mon, 4-Mar-85 07:50:37 EST Lines: 22 Nf-ID: #R:ucbvax:-512400:ISM780:25400001:177600:1063 Nf-From: ISM780!darryl Feb 28 18:07:00 1985 This is an excellent point. I neglected to notice whether the other compilers used 16 or 32-bit integers. Someone told me that the C standard stipulates that an integer's worth of bits must be able to span the entire address space. I don't know about this. Can someone comment? The current documentation from AT&T, as well as good ole K&R, says that the difference of two pointers is an int. The new ANSI draft changes this restriction so that it fits into some integral type, which is implementation defined. This is the only restriction I know of in regay|s to pointer- integer restrictions. This sounds like it would require 32 bit ints, but I'm not so sure. The various C standards all say that you are only allowed to subtract pointers that point into a common array. Isn't it the case that a contiguous array on the Mac is limiteb to 32K? If this is so, then 16 bit ints work fine on the Mac. --Darryl Richman, INTERACTIVE Systems Inc. ...!cca!ima!ism780!darryl The views expressed above are my opinions only.