|
2009-04-07
| ||
| 17:01 | • Closed ticket [2740206fff]: incr command doesn't error out on nonexistent va... artifact: 1a416ee277 user: dkf | |
| 09:48 | • New ticket [2740206fff]. artifact: 290008f5e8 user: yurivict | |
incr command doesn't error out on nonexistent variable
Closed / Invalid2740206fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2009-04-07 09:48:53
testcase:
incr i
In tcl8.5.6 it succeeds. This is a problem.
In tcl8.4.19 it produced an error:
can't read "i": no such variable
(reading value of variable to increment)
invoked from within
"incr i"
(file "incr.tcl" line 2)
dkfplain2009-04-07 17:01:33
allow_comments - 1 This was a deliberate change in 8.5. See http://tip.tcl.tk/215.html for reasoning.
Log in (anonymous is fine) to add a comment.