Date: | Mon, 4 Feb 2002 08:11:01 -0600 (CST) |
---|---|
From: | Alain Aslag Roy <roy@xxxxxxxxxxx> |
Subject: | Re: [classad-users] Newbie Question: Evaluation of logical expressions |
>can someone tell me, if classadd Operators && (logical and) and || (logical >or) always compute their operands or if there's a shortcut as in the C >programming language? They are always evaluated, there is no shortcut. You can see this for yourself from the _Evaluate member functions in operators.h: all operands are evaluated, then the operator is evaluated. -alain --------------------------------------------------------------------- Alain Roy University of Wisconsin-Madison Condor Project Research Department of Computer Sciences roy@xxxxxxxxxxx 1210 W. Dayton St. Rm #3393 (608) 265-5736 Madison, WI 53706-1685 |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [classad-users] Newbie Question: Evaluation of logical expressions, Uwe Maurer |
---|---|
Next by Date: | Re: [classad-users] Newbie Question: Evaluation of logicalexpressions, Marvin Solomon |
Previous by Thread: | [classad-users] Newbie Question: Evaluation of logical expressions, Uwe Maurer |
Next by Thread: | Re: [classad-users] Newbie Question: Evaluation of logicalexpressions, Marvin Solomon |
Indexes: | [Date] [Thread] |