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

Hello Roy!

06 Sep 03 04:06, you wrote to me:

 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)) ?

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

Hmm.. How could the compiler handle that?

Regards,
Bo


--- Squish/Linux v1.12.002 BETA
* Origin: The Night Express, Roennede Dk (2:236/100)
SEEN-BY: 633/267 270
@PATH: 236/100 237/9 20/11 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™.