13 Jun
2001
13 Jun
'01
9:51 a.m.
Casey Duncan wrote:
That DTML methods and documents have scratch namespace that is created at the top of the stack before the code is executed. This namespace would be initially empty and automatically scoped so that it is popped off when the method completes. This would give DTML a true local variable space, at little expense.
This is exactly what happens with the _ namespace ;-) Look at the dtml-let and dtml-with tags and the _.namespace function... cheers, Chris