manual kinda sucks there, because the function notation makes you think
it uses a standard comma separated list of the elements to be compared,
but the usage column does show the expr's separated by a space. that
one bit me in the butt before.
Glad to see you figured it out for yourself. :)
/John
Bill Conlon wrote:
Nope. I need to read manual:
min min(A1, A2,...An). returns the smallest element min(expr expr ...)
with expressions, there's no comma.
On Monday, November 29, 2004, at 11:41 AM, Roland Dumas wrote:
Think you forgot a <@CALC>
On 11/29/04 11:38 AM, "Bill Conlon" <[EMAIL PROTECTED]> wrote:
What am I missing here:
<@CALC EXPR="min(25,43)"> returns 4325 instead of 25. !!??
The above is a literal substitution of the values derived from my
actual expression:
<@CALC
EXPR="min(@@request$results_per_page,@@request$hits-
@@request$first+1)">
which throws an error:
Error during expression evaluation.
Illegal symbol in statement [min(25, 43-1+1)]
I think the error is a non-printing character that appears around the
numbers.
Curiously, these expressions work within <@IF EXPR=...
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
-----------------------------------------
Roland Dumas
Roberts Information Services
310 W. Bellevue Avenue
San Mateo CA 94402
650-347-1373
415-412-9300 (cell)
[EMAIL PROTECTED]
SMS: http://new.servqual.com/html/sms.tml
_______________________________________________________________________
_
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf