> Michael and Schelte followed up with two distinct answers. I'd
> emphasize that there are several (more) ways to respond. First,
> there's non non-parodoxical way to interpret your requirements;
> while I don't provide a proof in this message, I assure you it's
> true. You have to refine and particularize your needs a bit
> more (for this problem), before they can be met.
>
You're right, I did not explain very good my needs.
I was debugging a tk app, and since I'm a newbie, I was restarting it
again and again, after every little correction (wich sometimes weren't
still correct...). I tougth then that it would be a fine thing if I
could just tell the tk interpreter "re-read the script and apply all
changes I made". But as you tell me, such a command does not exists...
thanks anyway
> So, no, Tcl does *not* provide a general-purpose start-all-over-
> again command, because such a thing is too ill-defined. Many of
> us who work with the language daily have our own brief idioms for
> achieving what *we* want in that direction, as previous follow-
> ups have explained. My own practice is to make my [sourc]ables
> idempotent by, for example, [destroy]ing widgets before they're
> created (as has already been mentioned), or, sometimes, re-using
> existing widget instance.
Received on Thu Sep 29 14:28:10 2005