Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-21
04:11 • Ticket [218813ffff] incr with funny array elements doesn't find variable... artifact: 8a0cb1079e user: dgp
2000-10-26
08:29 • Closed ticket [218813ffff]. artifact: 5db9356098 user: welch
01:05 • New ticket [218813ffff]. artifact: b4bd6d10ec user: nobody

incr with funny array elements doesn't find variable

Closed / Fixed218813ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:05:50
OriginalBugID: 2204 Bug
Version: 8.0.5
SubmitDate: '1999-06-11'
LastModified: '1999-10-29'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Other
Machine: NA
FixedDate: '1999-10-29'
FixedInVersion: 8.2.1
ClosedDate: '2000-10-25'


Name:
Brent Welch

Comments:
This bug is NOT present in 8.1

ReproducibleScript:
set {array(name with spaces)} 43
    incr {array(name with spaces)} 2

ObservedBehavior:
raises error 
    can't read "array(name with spaces)": no such variable



Oddly enough the following do work:

incr [list array(name with spaces)]
incr array([list name with spaces])
 
-- 08/08/1999 hobbs

This works as expected in 8.2.1. 
-- 10/29/1999 hobbs
welch Closed ticket [218813ffff]. [History diff]2000-10-26 08:29:16
dgp Ticket [218813ffff]: 3 changes [History diff]2001-04-21 04:11:07
Log in (anonymous is fine) to add a comment.