### The TaskJuggler User Manual

Project Management beyond Gantt Chart Drawing

<< logicalexpression << | Table Of Contents | >> macro >>

Keyword | logicalflagexpression

Purpose | A logical flag expression is a combination of operands and mathematical operations. The final result of a logical expression is always true or false. Logical expressions are used the reduce the properties in a report to a certain subset or to select alternatives for the cell content of a table. When used with attributes like hidejournalentry the logical expression evaluates to true for a certain property, this property is hidden or rolled-up in the report. Operands must be previously declared flags or another logical expression. When you combine logical operations to a more complex expression, the operators are evaluated from left to right. a | b & c is identical to (a | b) & c. It's highly recommended that you always use brackets to control the evaluation sequence. Currently, TaskJuggler does not support the concept of operator precedence or right-left associativity. This may change in the future.
Syntax | `<operand> [(| | &) <operand>...]`
Arguments | operand | An operand is a declared flag. An operand can be a negated operand by prefixing a ~ charater or it can be another logical expression enclosed in braces.
| | The 'or' operator
& | The 'and' operator
Context | Global scope
See also | functions

<< logicalexpression << | Table Of Contents | >> macro >>

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012 by Chris Schlaeger <chris@linux.com>.TaskJuggler is a trademark of Chris Schlaeger.