| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Filename Expansion |
While listening to Paul Edwards Pete heard:Filename Expansion
G'day Paul
JG> #define TRUE 0
JG> #define FALSE !TRUE
~~~ ^^^^^^^^^^^^^^^^^^
PC> I think defining FALSE to a non-zero value would be a bad habit
PC> to get into, it would be better to always assume FALSE to be
PC> zero.
PE> It's a great case for not using macros like that in the first
PE> place. C already has true/false abilities as part of the
PE> language.
But if you have a function that has to return a flag value to notify
of success or failure you have to use something, perhaps
enum {SUCCESS, FAILURE};
would be better?.
-=Pete=-
--- OMX/Blue Wave v2.12
* Origin: Gates of Hell (3:713/914.16)SEEN-BY: 50/99 78/0 620/243 623/630 711/401 409 410 413 430 808 809 932 934 SEEN-BY: 712/508 515 713/111 317 601 611 615 618 700 826 888 914 714/906 SEEN-BY: 800/1 7877/2809 @PATH: 713/914 615 888 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™.