Re: [Zope] Expressing expressions

2000-06-20 Thread Tino Wildenhain
Hi RC, RC Compaan wrote: Simple addition seems a bit tricky in zope dtml-var expr="counter=counter+value" --// Here i tried to Try dtml-call "REQUEST.set('counter',counter+value)" HTH Tino Wildenhain ___ Zope maillist - [EMAIL

[Zope] Expressing expressions

2000-06-19 Thread RC Compaan
Simple addition seems a bit tricky in zope dtml-call "REQUEST.set('CategoryTotal',0)" dtml-in "tmp.propertyItems()" dtml-let key="_['sequence-key']" value="_['sequence-item']" category="s[:1]" counter="_.getitem(category+'Total')" --// Here