Tcl Library Source Code

View Ticket
Login
Ticket UUID: 1011094
Title: Restrictions for counter names not documented
Type: Bug Version: None
Submitter: mic42 Created on: 2004-08-17 23:50:22
Subsystem: counter Assigned To: welch
Priority: 2 Severity:
Status: Open Last Modified: 2004-08-17 23:50:22
Resolution: None Closed By:
    Closed on:
Description:
The counter names are not arbitrary strings, strings
containing namespace qualifiers are simply not working:

(bin) 69 % counter::init ::foo -hist 20
can't access "counter::T-::foo": parent namespace
doesn't exist

Possible solutions:
a) document this limitation
b) rework most of the internals, probably slowing down
counter 

Just documenting it might be enough.