tcl-mod_dtcl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David N. Welton)
Subject Re: terminating script
Date Thu, 17 Jan 2002 10:51:39 GMT

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

        more code

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
Free Software:
   Apache Tcl:

View raw message