TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
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