tcl-mod_dtcl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David N. Welton)
Subject Re: parse .ttml file
Date Sun, 17 Feb 2002 16:28:18 GMT

[ I've re-included the Cc, as the information might be useful to
others ]

Steve Szabo <> writes:

> i changed the "parse" to "source" and removed the <? ?> tags - seems
> to work ok

This is probably better for a library of code, where most of the
effort will be in Tcl coding.

You also need to keep in mind that stuff outside the <? ?> is turned
into 'puts' statements.  So if you are 'parse'ing before your script
should be outputting, it will cause problems.

> can you use "parse"?

Of course, but it's best at being a way to call a page as a template,
and fill in the pieces, than as including large bodies of Tcl code,
for the above reasons.

David N. Welton
Free Software:
   Apache Tcl:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message