Article View: comp.sys.mac
Article #25791Re: LSC: booleans != TRUE ??
From: Larry Rosenstein
Date: Tue, 01 Mar 1988 01:16
Date: Tue, 01 Mar 1988 01:16
16 lines
1115 bytes
1115 bytes
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
Technical Details
Message-ID:
<7516@apple.Apple.Com>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!voder!apple!lsrReferences:
<gW83I0y00WABsB40x9@andrew.cmu.edu> <4097@husc6.harvard.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <gW83I0y00WABsB40x9@andrew.cmu.edu> <4097@husc6.harvard.edu> Reply-To: lsr@apple.UUCP (Larry Rosenstein) Organization: Advanced Technology Group, Apple Computer Lines: 15