[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML
Thu, 22 Aug 2002 05:10:52 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#2-37
The *getitem* function takes the name to look up as its first
argument. Now, the DTML Method will correctly display the sum of the
first three integers. The *getitem* method takes an optional second
argument which specifies whether or not to render the variable. Recall
that rendering a DTML variable means turning it into a string. By
default the *getitem* function does not render a variable.
% Anonymous User - Aug. 22, 2002 5:10 am:
It's not the sum but rather the square of the first three integers.