Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Documentation inconsistency

Closed / Fixed1124160fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2005-02-16 18:34:51
The documentation for [variable] says:
If the variable command is executed inside a Tcl 
procedure, it creates local variables linked to the 
corresponding namespace variables (and therefore these 
variables are listed by info locals.)

While for [info locals] it says:
Variables defined with the global, upvar and variable 
commands will not be returned.
msoferplain2005-02-17 01:54:36
Logged In: YES 
user_id=148712

Thanks for spotting this.

variable.n should has been corrected to say:
" ... (and therefore these variables are listed by info vars.)"
Log in (anonymous is fine) to add a comment.