[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML
webmaster@zope.org
webmaster@zope.org
Tue, 24 Sep 2002 14:50:06 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#3-51
---------------
The *let* tag accomplishes much of the same goals as the *with*
tag. The main advantage of the let tag is that you can use it to
define multiple variables to be used in a block. The *let* tag
creates one or more new variables and their values and pushes a
namespace object containing those variables and their values on
to the top of the DTML namespace stack. In general the *with*
tag is more useful to push existing objects onto the namespace
stack, while the *let* tag is better suited for defining new
variables for a block.
% Anonymous User - Sep. 24, 2002 2:50 pm:
/creates one or more new variables and their values/creates one or more new variables from the name=value
pairs given/
/and their values//
# A variable is a pair (name, value)