*********** REPLY SEPARATOR ***********

On 22/04/2006 at 3:59 PM Gorodoff wrote:
>Some threads give the ability to specify a condition on a property
>for example: property!=value
>
>I have a few questions on available syntax for those:
>
>1- is it possible to use a kind of parenthesis
>for example: (property1=such && property2=this) || property1=other


No, parentheses are not supported.



>if parenthesis does exist, what is the precedence during the evaluation
>of an _expression_ like p1=such && p2=this || p1=other


I'm not quite sure about this, perhaps Rodney can answer this one.


>2- does a negation operator exist
>for example: !(property1=a && property2=b)

Don't forget Boole's law:

  !(property1=a && property2=b)

is equivalent to

  property1!=a || property2!=b


>3- is it possible to compare to a propertie's values instead of a
>straigth fixed value
>for example: property1 = property2 meaning does property1 have the same
>value as property2's value

Yes, this should work. Try using

  property1 = $property2$


Regards,
Brent.
____________________________________________________________
Brent Easton                      
Analyst/Programmer                              
University of Western Sydney                                  
Email: [EMAIL PROTECTED]



YAHOO! GROUPS LINKS




Reply via email to