|
2000-10-26
| ||
| 08:23 | • Closed ticket [218476ffff]: compiled foreach does not set non-local variables</i... artifact: b7041215a9 user: welch | |
| 01:01 | • New ticket [218476ffff]. artifact: fdf15a6200 user: nobody | |
compiled foreach does not set non-local variables
Closed / Fixed218476ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:01:02
OriginalBugID: 665 Bug
Version: 8.0p2
SubmitDate: '1998-06-17'
LastModified: '1999-04-16'
Severity: CRIT
Status: Released
Submitter: stanton
ChangedBy: stanton
OS: All
OSVersion: NA
Machine: NA
FixedDate: '1999-04-16'
FixedInVersion: 8.1b3
ClosedDate: '2000-10-25'
The following script behaves differently inside a procedure:
foreach {::foo::a} {1 2} {}
At the global scope, it correctly sets the namespace variable. In a procedure, it creates a local variable named ::foo::a.
welch Closed ticket [218476ffff].
[History diff]2000-10-26 08:23:16
Log in (anonymous is fine) to add a comment.