[Zope] how do I calculate a value in DTML ?

Alexander Staubo alex@mop.no
Tue, 22 Jun 1999 22:38:44 +0200


Here's one way:

<!--#call "REQUEST.set('i', i + 1)"-->

Yes, I know, it's a little lame; there should be a way to deal with
temporary variables without associating them with REQUEST.

--
Alexander Staubo             http://www.mop.no/~alex/
"It has taken the planet Earth 4.5 billion years to discover it is
4.5 billion years old." --George Wald

>-----Original Message-----
>From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
>Joachim Schmitz
>Sent: 22. juni 1999 22:33
>To: zope@zope.org
>Subject: [Zope] how do I calculate a value in DTML ?
>
>
>
>hi,
>
>this is certainly a silly question, but I don't find an example for it.
>
>I simply want to do for example:
>
>i = i + 1 without displaying the value.
>
>Gruß
>
>Joachim Schmitz
>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(For developer-specific issues, use the companion list,
>zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>