[Zope-dev] (whoops, hit send too early) Re: local/set (was RE: Zope direction and 2.2roadmap...) direction and 2.2roadmap...)

Phillip J. Eby pje@telecommunity.com
Fri, 10 Dec 1999 11:00:20 -0500


At 12:01 AM 12/10/99 -0500, Christopher Petrilli wrote:
>
>Can you clearly explain in 1 sentence each, what each tag is for? (This
>includes let)
>

Let: allows read-only variables to be computed whose values are usable
within a DTML nesting scope.

Local: allows writable variables to be computed, whose values are usable
and changeable within a DTML nesting scope.

Set: singleton tag that changes the value of a "local" variable, as long as
it was defined in the innermost surrounding "local" block.