tcl-mod_dtcl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (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 <steves@fundserv.com> 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
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org


Mime
View raw message