TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Bo Simonsen
from: Roy J. Tellason
date: 2003-09-06 04:06:12
subject: Pointers

Bo Simonsen wrote in a message to Jasen Betts:

 BS> Indeed, but how is it in C, with integers, i've defined TRUE as 1
 BS> and FALSE as 0, is

 BS>         if(function(parm) == TRUE)

 BS> nessersary or could I use if(function(parm)) ?

I think a better definition would be to #define FALSE 0 and TRUE !FALSE -
in other words,  nonzero.

--- 
* Origin: TANSTAAFL BBS 717-838-8539 (1:270/615)
SEEN-BY: 633/267 270
@PATH: 270/615 150/220 379/1 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.