Return-Path: Delivered-To: apmail-tcl-mod_dtcl-archive@tcl.apache.org Received: (qmail 14044 invoked by uid 500); 17 Feb 2002 16:26:08 -0000 Mailing-List: contact mod_dtcl-help@tcl.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list mod_dtcl@tcl.apache.org Received: (qmail 14029 invoked from network); 17 Feb 2002 16:26:07 -0000 To: Steve Szabo Cc: mod_dtcl@tcl.apache.org Subject: Re: parse .ttml file References: From: davidw@dedasys.com (David N. Welton) Date: 17 Feb 2002 17:28:18 +0100 In-Reply-To: Message-ID: <873d00jcnx.fsf@dedasys.com> Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N [ 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 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