TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Paul Edwards
from: Frank Adam
date: 1996-04-22 10:03:00
subject: Filename Expansion

G'Day Paul,
 
-=> Quoting Paul Edwards to Frank Adam <=-
 FA> strcmp("hello","hello");  hardly FALSE, but it is 0.

 PE> strcmp() returns neither true nor false, it returns an indicator to
 PE> say less than, equal to, or greater than.  You need to inspect the
 PE> indicator yourself.  It is not even boolean.
Oh-kay,that was a bad example:)

 PE> system() returns an implementation-defined value, but it would be
 PE> integer, not a boolean value.
FINE ! Be that way:-) 
I don't like using system() anyway :)
         
I was only suggesting, that to me there is an inconsistency there.
After all if an operation was successful, in boolean terms it would be 
TRUE, so functions returning 1 on success and 0 on failure would make more 
sense.

But i doubt the rest of the world would go off, and re-write their codes
just to comply with my thinking.  

What do you mean "Thank God" ? :^) 

  L8r Frank (fadam{at}ozemail.com.au).
  
___ Blue Wave/DOS v2.21

--- Maximus 3.01
* Origin: The Software Parlour (3:635/544)
SEEN-BY: 50/99 78/0 620/243 623/630 632/349 635/503 544 727 711/401 409 410
SEEN-BY: 711/413 430 808 809 932 934 712/515 713/888 714/906 800/1 7877/2809
@PATH: 635/544 50/99 711/808 809 934

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™.