Return-Path: Mailing-List: contact mod_dtcl-help@tcl.apache.org; run by ezmlm Delivered-To: mailing list mod_dtcl@tcl.apache.org Received: (qmail 21848 invoked from network); 17 Jan 2002 10:49:55 -0000 Received: from ppp-80-6.25-151.libero.it (HELO ashland) (151.25.6.80) by daedalus.apache.org with SMTP; 17 Jan 2002 10:49:55 -0000 Received: by ashland (Postfix, from userid 1000) id 087924C3AC; Thu, 17 Jan 2002 11:51:40 +0100 (CET) To: "yahalom emet" Cc: "Mod_dtcl" Subject: Re: terminating script References: <012401c19836$38080470$080aa8c0@yahalom1> <87g05h3wjh.fsf@dedasys.com> <014501c1983a$94477280$080aa8c0@yahalom1> <87y9j9yr5m.fsf@dedasys.com> <018301c1983f$7ce52c40$080aa8c0@yahalom1> <878zb9uinm.fsf@dedasys.com> <019401c19841$fc18bb60$080aa8c0@yahalom1> <877kqtron5.fsf@dedasys.com> <005601c19e88$fb55ce50$080aa8c0@yahalom1> <87u1tmnmnu.fsf@dedasys.com> <00af01c19f20$176242d0$080aa8c0@yahalom1> From: davidw@dedasys.com (David N. Welton) Date: 17 Jan 2002 11:51:39 +0100 In-Reply-To: <00af01c19f20$176242d0$080aa8c0@yahalom1> Message-ID: <87vge1b684.fsf@dedasys.com> Lines: 26 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 Argh - sorry, my fault. I had some testing scripts that were still interfering with things:-} Anyway, one suggestion I've seen for things like this is on comp.lang.tcl is to (ab)use a loop: foreach foo foo { some code break more code break } Although I realize that that's not terribly clean, either... Probably the best thing for you to do, like in the .tcl scripts, is to wrap your code in procs (that adds a big performance advantage, too). -- David N. Welton Consulting: http://www.dedasys.com/ Free Software: http://people.debian.org/~davidw/ Apache Tcl: http://tcl.apache.org/ Personal: http://www.efn.org/~davidw/