[Zope] dtml-let

Dieter Maurer dieter@handshake.de
Thu, 11 Jul 2002 21:42:00 +0200


Alejandro Fernandez writes:
 > ...
 > dtml-let "set all variables to zero"
 >    dtml-in the request
 >        dtml-if sequence-number <= floor
 >            output a row with data
 >        dtml-else
 >            dtml-let "add up "other values" data using variables set at
 > top"
 >        dtml-if sequence-end
 >            output "other values" row
 >            output "totals" row
 >        /dtml-let 
 >    /dtml-in
 > /dtml-let
 > 
 > But dtml-let is zeroing the variables each iteration. Is there a better
 > way to do what I'm trying to do?
Do it in a Python Script...


Dieter