[ic] Overriding vars_and_comments function - side-effects?

Jonathan Clark interchange-users@icdevgroup.org
Fri Jun 28 07:57:00 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't you use [var] to do this?

Jonathan
Webmaint.