AgileApps Support Wiki Pre Release

Difference between revisions of "Boolean"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 1: Line 1:
<tt>LOGICAL OPERATOR</tt>
<tt>LOGICAL OPERATOR</tt>
:{|  
:{|  
Logical operators provide the ability to include or exclude groups of records in [[Expressions]].
The logical operators are:  
The logical operators are:  
:<tt>&&</tt> Logical AND (and)
:<tt>&&</tt> Logical AND (and)
Line 8: Line 6:


;Considerations:
;Considerations:
:* Two subexpressions joined by a logical operator form a ''logical expression''.
:* Logical expressions resolve to a Boolean value: ''1/0'' or ''TRUE/FALSE''.
:* Logical expressions can be grouped using parentheses: <tt>()</tt>
:* Logical expressions can be grouped using parentheses: <tt>()</tt>
:* Logical expressions resolve to a Boolean value: ''1/0'' or ''TRUE/FALSE''.
:* Parentheses are used in pairs. For each left parenthesis, there must be a right parenthesis. For example:
::<tt>((<expression1> && <expression2>) || <expression3>) && (<expression_4)</tt>
|}
|}

Revision as of 20:31, 10 June 2011

LOGICAL OPERATOR

The logical operators are:
&& Logical AND (and)
|| Logical OR (or)
Considerations
  • Two subexpressions joined by a logical operator form a logical expression.
  • Logical expressions resolve to a Boolean value: 1/0 or TRUE/FALSE.
  • Logical expressions can be grouped using parentheses: ()
  • Parentheses are used in pairs. For each left parenthesis, there must be a right parenthesis. For example:
((<expression1> && <expression2>) || <expression3>) && (<expression_4)