Changes between Version 1 and Version 2 of NamedVariable
- Timestamp:
- Mar 15, 2009, 6:22:13 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NamedVariable
v1 v2 6 6 {{{$nameOfVariable[}}}[wiki:Attribute attribute]]{{{: <list of values (constraints) separated by whitespace>}}} 7 7 8 For a variable, only the first following valuation applies. This enables sharing same variable names across the rules.[[BR]] 9 A variable valuation can consist of several constraints listed each on a new line which are taken in conjunction (logical and).[[BR]] 10 Negative constraints can be created using the ''not'' [wiki:Keyword keyword]. 11 8 12 Example: 9 13 10 {{{$CONJUCTION[word]: for and nor but or yet so}}} 11 12 will match any of the listed words. 14 {{{$CONJUCTION[word]: for and nor but or yet so}}} -- will match any of the listed words.[[BR]] 15 {{{$NOTNO[word not]: no}}} -- will match any word except of ''no''.