Do X10 conditional statements have a short-circuit mechanism?

Suppose the statement

        if ( A && B )
                doWork();

When A==false, will B be evaluated?

Suppose the statement

        if ( A || B )
                doWork();

When A==true, will B be evaluated?

Thanks.

Jim

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to