Lives there a boolean integer?

Subject: Lives there a boolean integer?
From: "Mark L. Levinson" <markl -at- gilian -dot- com>
To: TechWr-L <TECHWR-L -at- LISTS -dot- RAYCOMM -dot- COM>
Date: Mon, 06 Mar 2000 20:17:58 +0200

I'd like to hear from people who are familiar with
C and with Perl. I'm documenting a number of functions
that return the integer 1 to indicate success and the
integer 0 to indicate failure. Because these are the
only two values ever returned, I'm being encouraged
to refer to them as boolean values, and I'm
being told that there's no real confusion involved
because neither C nor Perl supports a true boolean
data type.

Should I stand on the principle that an integer
is not boolean? (I am not trying to make a
distinction between Boolean and boolean, and
I would be content not to cause a digression
on that topic.)

Mark L. Levinson
markl -at- gilian -dot- com
Herzlia, Israel




Previous by Author: re FWD: work vs. environment
Next by Author: tool for replacing caracters in a list of files
Previous by Thread: Re-Sizing Sceen Shots
Next by Thread: Re: Lives there a boolean integer?


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

Sponsored Ads


Sponsored Ads