[ic] Overriding vars_and_comments function - side-effects?

Kevin Walsh interchange-users@icdevgroup.org
Fri Jun 28 08:11:01 2002


> 
> I need to be able to nest template variables. To do this 
> I will have to override the vars_and_comments function
> that parses the variables and comments of the html pages.
> 
> This function does the following:
> 
> 1) Substitutes Global variables (@@VAR@@)
> 2) Substitutes Global/Local variables (@_VAR_@)
> 2) Substitutes Global/Local variables (@_VAR_@) again
> 2) Substitutes Local variables (__VAR__)
> 
> This is not adequate for my purposes and I will be
> overriding this function to provide recursive parsing
> of global/local variables.
> 
Can you give an example of what you are trying to do?  I can't say
that I fully understand your variable nesting requirement.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/