MESSAGE
DATE | 2002-04-29 |
FROM | Jesse Lackey
|
SUBJECT | Re: [hangout] C problem
|
Are you sure about that? That's definitely not ANSI C, and I can think of lots of code that would break with a compiler that did that.
Jesse
Ruben I Safir wrote: > This is realy strange. On SCO, any return value less than or equal to zero > is a false. > > Ruben > > On 2002.04.24 13:27 Jon Bober wrote: > >>The value -1 results in "true." The only value that results in "false" >>is 0. >> >>The C statement: >>if(x) >> >>is something similar to the assembler statement >>cmp 0, x >> >>Basically, if(x) means if(x!=0) >> >>
-- Bill Gates is a crook and millions of tax dollars have been spent prosecuting and convicting Microsoft of illegal business practices. Do not give them another dime until they have repaid the US government these costs.
____________________________ New Yorker Linux Users Scene Fair Use - because it's either fair use or useless....
|
|