Re: next release?

From: Grant Edwards <>
Date: Thu, 30 Nov 1995 15:03:13 -0600 (CST)

Erik Ostrom <uunet!!eostrom>:

> > Something like a list of STk 2.x to STk 3.0 porting hints would help me
> > tremendously. I decided to move my masters degree project to STk 3.0 and
> > the going is a bit rocky.
> It's not STk-specific, but something that might be very helpful is the
> chapter on porting from Tk 3 to Tk 4 in Brent Welch's book, "Practical
> Programming in Tcl and Tk". You can find out more about the book at
> <>--plus, the chapter
> itself (along with some Tk 4 changes that didn't make it in before the
> book went to press) is duplicated in a link off that page.
> Most (not all) of the STk changes I've found are more-or-less directly
> related to changes in Tk.

That's what I suspected, so I'll take a look at the Welch book.

> > Right now when I try to load the file (which worked under 2.x) I get a
> > never-ending string of warnings about "&" being undefined while it
> > appears to recurse infinitely (not sure about the recusion -- but it uses
> > up so much memory/CPU that it's hard to get it killed).
> Yeah, & isn't defined in STk 3. It was a function that basically
> concatenated print prepresentations of all its arguments together into a
> string. Probably the simplest way to solve this problem is to define &
> before you load anything--you can find it in tk-init.stk in an STk 2
> distribution.

Aha. That should help. I never used (directly) the "&" function, and I
hadn't had the time to track down what it was supposed to do.

> > I did get a smaller program to run without errors, but some of the Tk
> > widget behaviors have changed, so it doesn't work correctly.
> I've got a fairly large application (mostly written with stklos) mostly
> ported. Unfortunately I didn't keep organized notes on what I had to
> change, but I'd be happy to try to help with specific problems.

I'll look for a copy of the book you mentioned.

Grant Edwards
Rosemount Inc.
Received on Thu Nov 30 1995 - 22:13:22 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST