Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!ames!amdahl!uunet!mfci!hsi!derek From: derek@hsi.UUCP (Derek Lee-Wo) Newsgroups: comp.lang.c Subject: Re: value of TRUE??? Keywords: TRUE, if(), another nonzero value Message-ID: <321@hsi86.hsi.UUCP> Date: 7 Mar 89 20:00:39 GMT References: <987@infmx.UUCP> Reply-To: derek@hsi86.UUCP (Derek Lee-Wo) Distribution: usa Organization: Health Systems Intl., New Haven, CT. Lines: 17 In article <987@infmx.UUCP> kevinf@infmx.UUCP (Kevin Franden) writes: : :given: :The if() statement will evaluate to true provided that : the argument does not evaluate to 0. (ie a=3; if (a)...) : :Is then the value of true any nonzero integer? :If it's not, is it equivelent to a nonzero integer? : :What does if (a=3) evaluate to? I believe that would evaluate to true. -- +-----------------------------------------------------------------------------+ |Derek Lee-Wo, Health Systems International, New Haven, CT 06511. | |E-mail address :- derek@hsi.com ...!yale!hsi!derek | +-----------------------------------------------------------------------------+