On 10 November 2010 10:49, Mark Wendt <[email protected]> wrote:

> Almost.  In short circuit evaluations, " the second argument is only
> executed or evaluated if the first argument does not suffice to
> determine the value of the expression:

My point was more to do with the question of what the second argument
is. My suggested parenthesis was for the benefit of human readers to
make sure that it was clear that what was being evaluated was

if( new_in &&  (new_in != last_in ) )

And not

if( ( new_in && new_in)  != last_in )

I don't think that my suggestion interferes with short-circuit
evaluation at all.

-- 
atp

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to