Objectmix
Tags Register Mark Forums Read

Tablelist under 8.5 : TCL

This is a discussion on Tablelist under 8.5 within the TCL forums in Programming Languages category; 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?...


Object Mix > Programming Languages > TCL > Tablelist under 8.5

Reply

 

LinkBack Thread Tools
  #1  
Old 11-09-2008, 08:10 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default 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?
  #2  
Old 11-09-2008, 11:55 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default 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
  #3  
Old 11-10-2008, 01:30 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default 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
  #4  
Old 11-11-2008, 04:45 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default 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
  #5  
Old 08-14-2009, 05:18 AM
Junior Member
 
Join Date: Aug 2009
Posts: 1
jennyfifi is on a distinguished road
Default 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
Reply

Thread Tools



All times are GMT -5. The time now is 01:03 AM.

Managed by Infnx Pvt Ltd.