|
You need to use Parentheses to control order of operations.
<@IF EXPR="(<@arg num1> < 4) || (<@arg num2> > 0)" TRUE="yeah" FALSE="boo">
I have found you especially need parens in OR operations
Ben Johansen - http://www.pcforge.com -----Original Message-----
The doc shows you can do a "AND" in a <@if> statement by doing the something like the following:
<@IF EXPR="<@arg num1> <4 && <@arg num2>> 0" TRUE="yeah" FALSE="boo">
However, I can't seem to figure out "OR". I've tried this with no luck:
<@IF EXPR="<@arg num1> <4 || <@arg num2>> 0" TRUE="yeah" FALSE="boo">
Thanks,
|
- Witango-Talk: syntax question Brad Robertson
- Re: Witango-Talk: syntax question Ben Johansen
- Re: Witango-Talk: syntax question Brad Robertson
- Re: Witango-Talk: syntax question Len Wright
- Witango-Talk: builder methodology John Newsom
- Re: Witango-Talk: builder methodology Robert Garcia
- Re: Witango-Talk: builder methodology John Newsom
- Re: Witango-Talk: builder methodolog... Robert Garcia
