23 Aug
2003
23 Aug
'03
9:11 p.m.
Jonathan Mark wrote at 2003-8-21 15:16 -0700:
Using TAL and ZPT, I would like to define a global variable myVar, and then later on in the page
add 1 to myVar, e.g. myVar = myVar + 1.
How can I modify a variable in TAL?
You make a new definition: ... tal:define="global myVar python: myVar + 1" ... The TAL specification tells you... (see the Zope Book, 2.6 edition, on Zope.org). Dieter