Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-10-21
05:09 • Ticket [826708ffff] upvar a b(c) is broken by design status still Closed w... artifact: d1248f870f user: msofer
05:09 • Closed ticket [826708ffff]. artifact: 542e96f4b6 user: msofer
04:42 • Ticket [826708ffff]: 4 changes artifact: afccac37ff user: dgp
2003-10-20
15:53 • Ticket [826708ffff]: 1 change artifact: 8ca4a37f20 user: rmax
08:50 • New ticket [826708ffff]. artifact: 92bd51e1a7 user: rmax

[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.