From: Eric B. R. <eb...@tc...> - 2003-07-16 19:47:24
|
On Wednesday, July 16, 2003, at 03:45 PM, Brian Goetz wrote: > >> and what if, in a standalone environment, you want to use the same >> Context to .write() a bunch of templates? > > The use of the reference count was to support things like #include, > where in the course of expanding one template you want to expand a > subtemplate. > > So in the case above, you'd have a few choices. The first would be do > nothing, in which case the tool gets reinitalized and destroyed on > each evaluation, which might be OK. The second would be to bracket > the series of calls with beginEval/endEval. fair enough. eric |