Of course, those quotes again …..

Thanks Robert !

 

 

Bengt

 

Try

<@FILTER ARRAY="AllParameter" EXPR="(#1 >= 'M0') and (#1 <= 'M9')" SCOPE="request">
<@FILTER ARRAY="AllParameter" EXPR="(#1 >= 'M') and (#1 <= 'M')" SCOPE="request">


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 ?



<@FILTER ARRAY="AllParameter" EXPR="(#1 >= M0) and (#1 <= M9)" SCOPE="request">
works fine, but



<@FILTER ARRAY="AllParameter" EXPR="(#1 >= M) and (#1 <= M)" SCOPE="request">

 

returns

Error

An error occurred while processing your request:

File: Search.taf
Position: Search_All_Parameters
Class: Internal
Main Error Number: -18

Error during _expression_ evaluation.
String expected in statement [("F007AF >= M) and (F007AF <= M)]

Same result with EXPR=”#1 = M” but works with ”#1 = M0”, wildcards doesn’t work either.
Using Witango Studio 5.5.08 and 5.0.1.065 Chimera (Win32) on IIES W2K.

Appreciate any help on this.


/Bengt



 
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to