> From: Paul Nevai [mailto:[EMAIL PROTECTED]]
> I just heard about eager vs lazy evaluation.
> Is CodeWarrior eager? I heard tha PocketC is lazy.

Lazy evaluation is the C/C++ standard and of course CodeWarrior follows it.

Assuming you are talking about this sort of thing:

    if(( p != NULL ) && ( p->foo == bar )) { /* ... */ }

where the first condition is guaranteed to be evaluated first and the second
condition is guaranteed to be skipped if the first is false.

-slj-


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to