Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE35C1E97@probe-2.acclaim-euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: BUG Date: Mon, 1 Mar 1999 12:05:34 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com Carlos Giani_AEN2003 (M2003) writes: > Well, if you rewrite the above: > y= (x) ? 1 : 2 > > y will ALWAYS be 1, and NEVER 2. You have to correct it to: > > y= (x!=0) ? 1 : 2 Sorry, but I don't believe you :-) I'm willing to bet that this is in fact an error somewhere else in your code, rather than in the compiler. Can you post a complete (small, but runnable) program that demonstrates your problem? Shawn Hargreaves.