[ZPT] max values on repeat

alex@quad.com.ar alex@quad.com.ar
Wed, 24 Oct 2001 15:11:07 -0300


hi there,

in dtml-in we have a total-var, count-var, min-var, max-var and so on...
I'm particular interested on max-var where it grabs the maxium value of var
in the iteration.
Is there anything like it on ZPT ?

so far I'm using python list comprehensions to perform a lookup... like:
max ( [x['value'] for x in myList] )