Hi developers,
when trying to port Tcl 8.4 code to Tcl 8.5 I had the situation that I got an error message when inserting the Tablelist in new version.
The reason was, that I had installed Tablelist 4.2 from Tklib 0.4.1 and Tablellist 4.9.2 from teacup 8.5.
By writing the statement:
package require Tablelist
always the "old" version 4.2 was loaded.
By studying the code I mentioned that the old version included the statements:
package provide Tablelist 4.2
package provide tablelist 4.2
therefor the package can be loaded by both calls:
package require Tablelist
package require tablelist
Dut the newer version (teacup) can be loaded only by using the command
package require tablelist
whereas
package require Tablelist
fails.
Is this an intended behaviour?
Gerhard Reithofer
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi developers,
when trying to port Tcl 8.4 code to Tcl 8.5 I had the situation that I got an error message when inserting the Tablelist in new version.
The reason was, that I had installed Tablelist 4.2 from Tklib 0.4.1 and Tablellist 4.9.2 from teacup 8.5.
By writing the statement:
package require Tablelist
always the "old" version 4.2 was loaded.
By studying the code I mentioned that the old version included the statements:
package provide Tablelist 4.2
package provide tablelist 4.2
therefor the package can be loaded by both calls:
package require Tablelist
package require tablelist
Dut the newer version (teacup) can be loaded only by using the command
package require tablelist
whereas
package require Tablelist
fails.
Is this an intended behaviour?
Gerhard Reithofer