| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Pointers |
G'day Jasen,
Sat 2003-09-06 07:49, Jasen Betts (3:640/1042) wrote to Bo Simonsen:
JB> assuming function(parm) returns 2 ....
JB> if(function(parm) == TRUE) puts("2 is not 1: this won't happen");
JB> if(function(parm)) puts("2 is not false: this will happen");
It means all other than 2 is false? and 2 is true?
JB> if("pigs fly") puts("All non-null pointers are true");
Regards,
Bo
--- timEd/Linux 1.11.b1
* 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™.