HI Brad
This comes from the help text:
For example, the following complex expression is valid as the value of
the EXPR attribute:
<@IF EXPR="(len(@@password) > 6) OR (len(@@password) < 3)"
TRUE="Passwords must have between 3 and 6 characters. Try again."
FALSE="That's a valid password.">
Regards,
Len Wright
Plus International Corp
www.plusinternational.com
Direct: 604-415-2384
Fax:604-415-0830
>>> [EMAIL PROTECTED] 05/21/02 04:38PM >>>
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,
Brad
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body