Tablelist under 8.5 - TCL
This is a discussion on Tablelist under 8.5 - TCL ; I am trying to use tcl 8.5 after having used 8.4 for some time now. I
have a script that works under 8.4 but under 8.5 I get an error that
says Tablelist is not found though teapot says that ...
-
Tablelist under 8.5
I am trying to use tcl 8.5 after having used 8.4 for some time now. I
have a script that works under 8.4 but under 8.5 I get an error that
says Tablelist is not found though teapot says that it is installed.
What's the deal?
-
Re: Tablelist under 8.5
crvoss@up-link.net schrieb:
> I am trying to use tcl 8.5 after having used 8.4 for some time now. I
> have a script that works under 8.4 but under 8.5 I get an error that
> says Tablelist is not found though teapot says that it is installed.
> What's the deal?
If your scripts contain "package require Tablelist", please change this
statement to become "package require tablelist". This is because for
some teapot-related technical reason the ActiveTcl distribution no
longer supports the package "Tablelist" (it only supports the
all-lowercase version "tablelist").
In the next Tablelist release I will change the demo scripts to use
"package require tablelist" instead of "package require Tablelist", and
I will also include a remark concerning this distribution-specific aspect.
--
Csaba Nemethi http://www.nemethi.de mailto:csaba.nemethi@t-online.de
-
Re: Tablelist under 8.5
On Nov 9, 8:55 am, Csaba Nemethi <csaba.neme...@t-online.de> wrote:
> crv...@up-link.net schrieb:
>
> > I am trying to use tcl 8.5 after having used 8.4 for some time now. I
> > have a script that works under 8.4 but under 8.5 I get an error that
> > says Tablelist is not found though teapot says that it is installed.
> > What's the deal?
>
> If your scripts contain "package require Tablelist", please change this
> statement to become "package require tablelist". This is because for
> some teapot-related technical reason the ActiveTcl distribution no
> longer supports the package "Tablelist" (it only supports the
> all-lowercase version "tablelist").
>
> In the next Tablelist release I will change the demo scripts to use
> "package require tablelist" instead of "package require Tablelist", and
> I will also include a remark concerning this distribution-specific aspect..
For ActiveTcl and the core in general, we actually plan to introduce a
TIP that removes the case-sensitivity of package names. It is fairly
useless in practice, and has confused many users of various
extensions.
Jeff
-
Re: Tablelist under 8.5
On Mon, 10 Nov 2008, Jeff Hobbs wrote:
> On Nov 9, 8:55 am, Csaba Nemethi <csaba.neme...@t-online.de> wrote:
> > crv...@up-link.net schrieb:
> >
> > > I am trying to use tcl 8.5 after having used 8.4 for some time now. I
...
> > In the next Tablelist release I will change the demo scripts to use
> > "package require tablelist" instead of "package require Tablelist", and
> > I will also include a remark concerning this distribution-specific aspect.
>
> For ActiveTcl and the core in general, we actually plan to introduce a
> TIP that removes the case-sensitivity of package names. It is fairly
> useless in practice, and has confused many users of various
> extensions.
I disagree to this plan.
All identifiers are case sensitive until now in Tcl AFAIK, variables,
functions, dict keys, array indices, namespaces. In my opinion also
package names are "identifiers" - these can't be "useless" until the
complete language is changed to case-insensitive.
Removing case-sensitivity removes potentiality, I don't see any reason
for that.
I remember of the terrible inconsequences in PHP, variable names case
sensitive, functions and namespaces are case insensitive, etc.
What are the drawbacks of case sensitivity?
--
Gerhard Reithofer
Tech-EDV Support Forum - http://support.tech-edv.co.at
-
Re: Tablelist under 8.5
I was registered at your forum. I have printed the test message. Do not delete, please.
gratuit pour mobile sonnerie portable mp3 - Sonnerie portable MP3 est en effet un pouvoir de l'innovation technologique. Ętes-vous familier avec cette sonnerie portable?gratuit pour mobile sonnerie portable mp3