Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Globaling Variables

1 view
Skip to first unread message

shags72

unread,
Dec 21, 2009, 7:57:15 PM12/21/09
to
I am very new to any language including tcl and I was wondering at
what version were a few syntax variations included. One is the "::"
for globalling variables and the other is while using index the use of
end. Thanks for any help. Merry Christmas.

Alexandre Ferrieux

unread,
Dec 21, 2009, 8:23:52 PM12/21/09
to

Look at the 'changes' file at the root of the source directory.

The "end" dates back to version 7.3:

239. 11/6/93 Modified "lindex", "linsert", "lrange", and "lreplace"
so that "end" can be specified as an index.

For the :: it should be close to the inception of namespaces before
8.0b1:

4/29/97 (new feature) Added namespace support based on a namespace
implementation by Michael J. McLennan of Lucent Technologies.

May I ask why you need to go that far back ?

-Alex

shags72

unread,
Dec 22, 2009, 1:22:25 AM12/22/09
to
On Dec 21, 7:23 pm, Alexandre Ferrieux <alexandre.ferri...@gmail.com>
wrote:
Well I am using software that uses it's own version of tcl (they
modified it and added commands etc..) and it is buggy as heck. I tried
to use the end in an index and it said looking for a integer and
returned end(or somthing like that it has been awhile). This is using
8.1 version of tcl. I have been told that the software doesn't support
the ::'s either. I just hate to try and learn something and not really
have a good idea what the rules are. I come to sites like this to get
ideas on how to deal with things only to find out that the modified
version of tcl that they put together doesn't support these features.
Oh and they have no documentation on what you can and cannot use. I
figured that these features weren't that new. Thank you for your help.
Sorry for the venting.

Donal K. Fellows

unread,
Dec 22, 2009, 6:22:14 AM12/22/09
to
On 22 Dec, 06:22, shags72 <shags...@hotmail.com> wrote:
> This is using 8.1 version of tcl.

Really? Oh dear. That wasn't a very good version of Tcl. (It took
several revisions for the features it introduced to bed in nicely; it
perhaps should've been called Tcl 9.0 but that's long past.) I do hope
that you can use something later; both 8.4 and 8.5 are clearly better.
8.4 is at about at the end of maintenance (a few bugfixes are
backported, but mostly not any more unless someone really demands it,
and there's no official schedule for any further patch releases) but
8.5 is now at about the start of its long-term support phase as 8.6
isn't too far away[*].

But since you're embedded, all I can do is offer sympathies. :-(

Donal.
[* I did honestly think a year ago that we'd have 8.6.0 out by now. It
seems not though. ]

shags72

unread,
Dec 22, 2009, 10:13:34 AM12/22/09
to
On Dec 22, 5:22 am, "Donal K. Fellows"

Thanks for your help. I work with some people that have worked in
other languages and they don't like tcl but I think that if they had a
clean version of tcl rather than the muddled version that the software
company put in then they might feel different about it. Hopefully they
will upgrade their tcl version in one of the future updates. Merry
Christmas all.

0 new messages