Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion A bit of tcl advocacy ...
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andreas Leitgeb  
View profile  
 More options Jun 30 2012, 11:51 am
Newsgroups: comp.lang.tcl
From: Andreas Leitgeb <a...@gamma.logic.tuwien.ac.at>
Date: Sat, 30 Jun 2012 15:51:15 +0000 (UTC)
Local: Sat, Jun 30 2012 11:51 am
Subject: Re: A bit of tcl advocacy ...
Donal K. Fellows <donal.k.fell...@manchester.ac.uk> wrote:

> On 27/06/2012 14:46, Andreas Leitgeb wrote:
>>> but it's spotted by the Tcl test suite so I won't make the
>>> change in compilation strategy.
>> Which particular test do you mean?
> Thankfully, it's still in my scrollback. :-)
>    info-19.3, namespace-old-7.4, namespace-old-7.7

I'm not sure I understand the problem. These tests check, that
some variables previously [global]ed, show up in [info vars].

But they also do with [variable] instead of [global], so what
behavioural difference is supposed to be observable and tested ?

> It appears to be related to what variables are reported by [info vars],
> which can observe the difference between [global] and [variable] under
> normal circumstances.

But [info vars] *does* see [variable]-imported locals,
just like it sees [global]-imported ones.

% namespace eval foo { proc foo {} { variable foo; puts [info vars][info exists foo] }}
% foo::foo
foo0
%


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.