Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[upvar a b(c)] is broken by design

Closed / Duplicate826708ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-10-20 08:50:23
As discussed with dkf on the Tcl'ers chat...
It works as documented, and treats b(c) as a literal
variable name (not as an array). But because this
variable can never be accessed with [set] or
$-substitution, [upvar] should rather fail on such
variable names, or (IMHO better) it should create an
array element, if that's possible at all.
rmax Ticket [826708ffff]: 1 change [History diff]2003-10-20 15:53:02
dgpplain2003-10-21 04:42:43
Logged In: YES 
user_id=80530


This is Duplicate of
Bug 600812 ?
msofer Closed ticket [826708ffff]. [History diff]2003-10-21 05:09:24
msoferplain2003-10-21 05:09:25
Logged In: YES 
user_id=148712

Yes
Log in (anonymous is fine) to add a comment.