|
2010-09-27
| ||
| 16:12 | • Deleted ticket [3076419fff]: info vars implementation and man page do not agre... artifact: 537ad8b29f user: msofer | |
| 09:11 | • New ticket [3076419fff]. artifact: efffe38094 user: msofer | |
[info vars] implementation and man page do not agree
Deleted3076419fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-09-27 09:11:51
The man page states for [info vars]:
"Note that a currently-visible variable may not yet “exist” if it has not been set (e.g. a variable declared but not set by variable)."
However
% unset -nocomplain x y
% proc a {} {variable x; upvar y z; info vars}
% a
x z
This behaviour is present at least in 8.4.19, 8.5.9 and 8.6 (did not check earlier Tcl versions). That is, it may well be a "documentation bug" by now.
msoferplain2010-09-27 16:12:37
allow_comments - 1
Log in (anonymous is fine) to add a comment.