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

Steve Szabo <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to