Rolf, interesting work. I'll take a look at the nesting when I get a chance... >Claude, > >I found the problem. >MergeScript does not process a Multiline
< % ERROR: =IIF....
statement. MergeText does. > >Another question: Is it hard to make MergeScript nestable? >Then you can use
=oHTML.MergeScript(FILETOSTR(anotherFile)) % >
>Actually I made a little more elegant includeScript function: