Re: [clock] behaves just slow (Re: [clock scan] behaves inconsistently in Tcl8.5
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: [clock] behaves just slow (Re: [clock scan] behaves inconsistently in Tcl8.5

From: Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at>
Date: Thu Sep 01 2005 - 15:18:47 CEST

Ronnie Brunner <ronnie.brunner@netcetera.ch> wrote:
> Andreas Leitgeb wrote:
>>>That [clock [clock [clock]]] is truly bothering me.
>>
>>
>> 100% agree. same for [clock format [clock seconds] ...]
>
> The nested [clock seconds] could probably be replaced by "now" without
> changing much of the rest of the syntax: whenever a numeric time
> argument is expected, "now" could represent [clock seconds] -> [clock
> format now] would be pretty elegant.

Yes, that's what I was thinking about, too.
And because "now" cannot have a sane numeric representation,
the check for equality with "now" can be skipped, if some
integer-object was given. -> no shimmering.
Received on Thu Sep 29 14:34:31 2005