June 30, 2004

Tcl-URL! - 2004/6/28

John Seal

Want to keep up on the latest in Tcl? There's no better way than subscribing to "Dr. Dobb's Tcl-URL!: The Weekly Guide to Tcl Resources." These weekly postings will keep you up-to-date on the latest conferences, papers, releases, links, and more core information about Tcl. DDJ is proud to be associated with the Tcl-URL! team that launched this valuable project.

 "[Using a -command helper procedure] works like a dream even when the things you're passing around get *obscenely* complex." -- Donal K. Fellows

 "I'm switching back and forth between JavaScript (where everything is global if you don't say 'var') and Tcl (where everything is local if you don't say 'global'" -- Chris Nelson

POTW:

 TKproE 1.0 by Dennis LaBelle. "TKproE is an integrated program development environment for the TCL/TK scripting language." "TKproE was designed as a replacement for the XF application. This latter application was originally developed by Sven Delmas over a decade ago." "However, much has happened to the TCL/TK language since the early 1990s. TCL/TK has a large number of new features that didn't exist at the time XF was first created. Eventually, I felt that a brand new design was better than trying to modify the existing XF code."

 http://tkproe.sourceforge.net

Using [socket -async] to timeout connection attempts:

 http://groups.google.com/groups?th=9ca15197a616457a

Aric Bills answers a question about all::those::colons with a simple walkthrough of namespaces:

 http://groups.google.com/groups?th=f89c1364ec9129bd

Converting an array of image tiles into one larger image:

 http://groups.google.com/groups?th=e4eddd79a6e49479

You unset an array, but some elements come back. Why? Maybe because they have traces, or are -textvariables:

 http://groups.google.com/groups?th=c0d162ddab498946

Two hints for pasting text with : use <> instead, and don't forget the [break].

 http://groups.google.com/groups?th=4ed86c6e7e6e67ac

The polynymous SM Ryan shows how to [exec] grep to search for a variable term:

 http://groups.google.com/groups?th=e9dbb935a67485d8

 Thanks to Arjen Markus for his summary of Wiki activity:

 For those of you, dear readers, interested in the French Wiki, here are a couple pages your chronicler selected:

A quick conversion of HTML files to something compatible to the Wiki -
http://wfr.tcl.tk/48

A tutorial on Tkcon, with illustrations, http://wfr.tcl.tk/282

Perhaps this could be the answer to newbies who want an IDE: http://wfr.tcl.tk/222

For the mathematically inclined, the many ways the number "pi" can be computed with
sidetracks to Riemann's zeta function - http://wfr.tcl.tk/565

Several pages on packages such as BWidget and Tcllib contain links to ready-made

starkits - http://wfr.tcl.tk/569 for instance.

 And then of course the English-spoken/written Wiki, which has some questions that might be answered by some of the above French pages ...

Suppose you are used to an IDE and then want to use Tcl/Tk? http://wiki.tcl.tk/3599 deals with this long-standing issue.

What if you do not want an IDE, but simply want a quick-and-dirty debugger without bells and whistles? http://wiki.tcl.tk/11850 might be your solution.

BWidget is a wonderful package and all done in plain Tcl. But it could use an example or two of how to actually use it. Please, contribute to http://wiki.tcl.tk/1091.

In need of assembly programming? See what Tcl can do for you: http://wiki.tcl.tk/11765
A transparant method for doing OO in Tcl explained - http://wiki.tcl.tk/11841

In want of a completely opaque programming language? Yes, the Wiki will guide you there too: http://wiki.tcl.tk/11877 tells the tale of such a language.