From: Keats <ke...@xa...> - 2004-02-26 14:36:19
|
It depends on how you execute it. By default the #eval directive creates a new context. You can put things into the parent context using an automatic variable. ($OuterVars I think. I'll have to check and update the docs.) You can reuse the current context by just evaluating the templet as a variable. Keats ----- Original Message ----- From: "Nikhil G. Daddikar" <ng...@ce...> To: "webmacro" <web...@li...> Sent: Thursday, February 26, 2004 8:39 AM Subject: [WebMacro-user] Templets and scope? > If I say #set $foo = "bar" in a templet, is the value of $foo accessible > outside the templet? > > Thanks. > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |