TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Frank Adam
from: Paul Edwards
date: 1996-04-21 15:12:14
subject: Filename Expansion

FA> strcmp("hello","hello");  hardly FALSE, but it is 0.

strcmp() returns neither true nor false, it returns an indicator to
say less than, equal to, or greater than.  You need to inspect the
indicator yourself.  It is not even boolean.

FA> system("wontfindme.exe");  worse than FALSE ? :)

system() returns an implementation-defined value, but it would be
very nice if it returned the errorlevel of the program spawned.
The errorlevel on MSDOS is something like 0 to 255, which is an
integer, not a boolean value.

BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

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