Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!voder!apple!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.sys.mac Subject: Re: LSC: booleans != TRUE ?? Message-ID: <7516@apple.Apple.Com> Date: 1 Mar 88 01:16:53 GMT References: <4097@husc6.harvard.edu> Reply-To: lsr@apple.UUCP (Larry Rosenstein) Organization: Advanced Technology Group, Apple Computer Lines: 15 In article <4097@husc6.harvard.edu> olson@endor.UUCP (Eric K. Olson) writes: >In a recent article Richard Siegel writes: >> >>In LightspeedC, TRUE is one and FALSE is zero. > >If memory serves me correctly, portions of the Mac OS use the highest >order (sign) bit for the state of a Boolean, a Pascalism, I think (forgive MPW Pascal uses 1 to mean TRUE and 0 for FALSE. Inside Macintosh says that a BOOLEAN is represented in bit 0 (the low-order bit) of a byte. -- Larry Rosenstein, Object Specialist Apple Computer, Inc. 20525 Mariani Ave, MS 32E Cupertino, CA 95014 AppleLink:Rosenstein1 domain:lsr@Apple.COM UUCP:{sun,voder,nsc,decwrl}!apple!lsr