Of
course, those quotes again …..
Thanks Robert !
Bengt
Try
<@FILTER/color>
ARRAY=/color>"AllParameter"/color>
EXPR=/color>"(#1
>= 'M0') and (#1 <= 'M9')"/color>
SCOPE=/color>"request"/color>>/color>
<@FILTER/color>
ARRAY=/color>"AllParameter"/color>
EXPR=/color>"(#1
>= 'M') and (#1 <= 'M')"/color>
SCOPE=/color>"request"/color>>/color>
Quote your strings, one letter strings may be evaluated as variables, see docs
on <@calc> and
_expression_ evaluation. I would even add quotes around the #1.
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED]net - [EMAIL PROTECTED]com
http://bighead.net/ - http://eventpix.com/
On Feb 10, 2005, at 4:09 AM, Bengt Bredin wrote:
Is
there a minumum char length in EXPR inside <@FILTER> of 2 ?
/bigger>/bigger>/fontfamily>
<@FILTER/color>
ARRAY=/color>"AllParameter"/color>
EXPR=/color>"(#1
>= M0) and (#1 <= M9)"/color>
SCOPE=/color>"request"/color>>/color>
works fine, but
/bigger>/bigger>/fontfamily>
<@FILTER/color>
ARRAY=/color>"AllParameter"/color>
EXPR=/color>"(#1
>= M) and (#1 <= M)"/color>
SCOPE=/color>"request"/color>>/color>
/x-tad-bigger>/fontfamily>
returns
/bigger>/bigger>/fontfamily>
Error
/fontfamily>
An error occurred while
processing your request:
/bigger>/bigger>/fontfamily>
File: Search.taf
/bigger>/bigger>/fontfamily>Position:
Search_All_Parameters
/bigger>/bigger>/fontfamily>Class:
Internal
/bigger>/bigger>/fontfamily>Main
Error Number: -18
/bigger>/bigger>/fontfamily>
Error during _expression_ evaluation./bigger>/bigger>/fontfamily>
String expected in statement [("F007AF >= M)
and (F007AF <= M)]/bigger>/bigger>/fontfamily>
Same result with
EXPR=”#1 = M” but works with ”#1 = M0”, wildcards doesn’t work either.
/bigger>/bigger>/fontfamily>Using
Witango Studio 5.5.08 and /bigger>/bigger>5.0.1.065 Chimera (Win32) on IIES
W2K.
/fontfamily>
Appreciate any help on
this.
/bigger>/bigger>/fontfamily>
/bigger>/bigger>/Bengt
/x-tad-bigger>/fontfamily>
/bigger>/bigger>/fontfamily>________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf