Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[info locals] reports link variables

Closed / Fixed567386ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-06-11 13:03:30
According to doc/info.n "Variables  defined  with  the
global  and  upvar commands will not be returned." 
However, if the variables are compiled-in (eg, if they
are set to a value in the proc), [info locals] will
report them - it is not checking for links in the table
of indexed local variables.
Furthermore, doc/global.n is inconsistent with
doc/info.n: it says "Please  note that this is done by
creating local variables that are linked to the global
variables, and therefore that these variables will be
listed by info locals like all other local variables."
msofer Closed ticket [567386ffff]. [History diff]2002-06-11 20:22:39
msoferplain2002-06-11 20:22:40
Logged In: YES 
user_id=148712

Fixed [info locals] to work according to doc/info.n; removed
the note in doc/global.n; modified test info-12.1 to check
for the correct behaviour of [info locals]
Log in (anonymous is fine) to add a comment.