|
From: Donal K. F. <don...@ma...> - 2004-10-26 07:57:45
|
Brian Griffin wrote:
> Consider this testcase:
> every 250 {Update .p 10}
> every 250 {Update .p 10}
FWIW, I considered that test case and decided against doing anything
about it. It has the hallmark of code that is actually fairly unlikely
to occur in practice except in situations that are already a bug
irrespective of the effects of this code. Running the identical script
twice is going to lead to unexpected behaviour anyway.
You can of course go for a full solution that implements ids a bit like
[after] does (which allows for a fully controllable behaviour), but the
code to do this is rather much longer than I felt like writing and is
probably overkill too. :^D (It might be a candidate for adding to the
Wiki or tcllib if it isn't already there.)
Donal.
|