RE: Lives there a Boolean integer?

Subject: RE: Lives there a Boolean integer?
From: "Locke, David" <dlocke -at- bindview -dot- com>
To: TECHWR-L <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Mon, 6 Mar 2000 15:46:42 -0600

Nope an integer does not represent a Boolean value. And, it when integers
are subjected to Boolean operators, then

0 = False
All n not n=0, = True

For example 49 would be True. This really is programming language specific,
and you should refer to your language manual for any questions having to do
with representation.

David W. Locke

-----Original Message-----
From: Brady, Joy [mailto:JBrady -at- alldata -dot- net]
Sent: Monday, March 06, 2000 2:38 PM
To: TECHWR-L
Subject: RE: Lives there a boolean integer?


Mark Levinson wonders: "Should I stand on the principle that an integer is
not boolean?"

It seems that the fields that receive only one of two possible values of
true/false, success/failure are boolean fields. Maybe just refer to the
receiving data element (field, whatever!) as boolean, and that the integers
0 and 1 are the possible values that represent failure and success,
respectively.

Joy Brady


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sponsored by Weisner Associates Inc., Online Information Services
Training & consulting for RoboHELP, Dreamweaver, HTML, and HTML-Based Help.
More info at http://www.weisner.com/train/ or mailto:training -at- weisner -dot- com -dot-

Your web site in 32 languages? Maybe not now, but sooner than you think.
Contact ForeignExchange for the FREE paper, "3 steps to successful
translation management" (http://www.fxtrans.com/3steps.html?tw).

---
You are currently subscribed to techwr-l as: dlocke -at- BINDVIEW -dot- COM
To unsubscribe send a blank email to leave-techwr-l-10315J -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.




Previous by Author: A little help with a little survey
Next by Author: RE: Contractors - Typ Job Duties?
Previous by Thread: Re: Lives there a boolean integer?
Next by Thread: RE: Lives there a boolean integer?


What this post helpful? Share it with friends and colleagues:

Sponsored Ads


Sponsored Ads