<< extend << | Table Of Contents | >> flags >> |
Keyword | fail |
Purpose | The fail attribute adds a logical expression to the property. The condition described by the logical expression is checked after the scheduling and an error is raised if the condition evaluates to true. This attribute is primarily intended for testing purposes. |
|
Syntax | fail (<operand> [(| | & | > | < | = | >= | <= | !=) <operand>...] | @ (all | none)) |
|
Arguments | operand | An operand can consist of a date, a text string, a function, a property attribute or a numerical value. It can also be the name of a declared flag. Use the 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 |
|
> | The 'greater than' operator |
|
< | The 'smaller than' operator |
|
= | The 'equal' operator |
|
>= | The 'greater-or-equal' operator |
|
<= | The 'smaller-or-equal' operator |
|
!= | The 'not-equal' operator |
|
Context | resource, supplement (resource), task, supplement (task) |
<< extend << | Table Of Contents | >> flags >> |