foreach-loop for growing lists Hello, after years of using perl I rediscovered tcl. Unfortunately I found a problem with foreach-loops and want to ask if that is on purpose in tcl (as google seems not to be my friend in this case)... If you create a list, then create a foreach loop for this list and if you append entries to the list with... 13 Jun 2010 16:02
List to multidimensional array conversion Hi, Please help me with the following problem. I have very little experience with multidimensional arrays and need your advice. I have several lists like below from files comp-1, comp-2, and comp-3: {ADA} input {ft 0.23} {fg 0.9} {df 0.45} {gh 0.33} {hj 0.11} {jj 0.345} {gg 0.6} {DW} inout {ft 0.13} {fg 0.19}... 13 Jun 2010 16:02
open command I am wanting to use the open in the same manner as this script that uses exec. Is there any way to pull this off? exec notepad.exe $mom_external_filename Reason being that my embedded tcl has an issue with exec but supposedly not open. I just can't figure out the pipeline thing that goes along with this. ... 19 Jun 2010 00:30
ANNOUNCE: TkDND 2.1 I am pleased to announce version 2.1 of the TkDND extension. What is new in TkDND 2.1? -------------------------------------------------- 1) Support for OS X is now complete (thanks to Kevin Walzer). Both dragging from Tk application and dropping on Tk applications are supported. Please not that TkDND 2.0 ... 17 Jun 2010 02:27
How to get the available free space of a hard disk in Tcl ? Hello, We have a database application (SQLite + Tcl/Tk 8.5) running on Windows XP. We would like to know if it is possible to get in Tcl the available free space of the hard disk on wich is running our application. Thanks. Jean-Marie ... 17 Jun 2010 04:36
Image on canvas I'm trying to create a canvas that simply displays an image, but I'm running into some difficulty with defining the image coordinates so the image is fully displayed. Here's some sample code: image create photo foo -file foo.png pack [canvas .c -height [image height foo] -width [image width foo] -fill both ... 10 Jun 2010 23:26
Newbie as how to interpret Tcl/Tk patchlevel (Administrator) 1 % info patchlevel 8.5.2 I wish to run a program which specifies System Requirements Tcl/Tk Version 8.5a6 or greater. Am I good to go? As I would interpret "Version 8.5a6" as being the 6th alpha version on a path from 8.5.0 to 8.5.1. Am I close to correct? Thanks ... 10 Jun 2010 14:32
how to make a modal dialog [for impatient skip to the second paragraph] I had nice experience on usenet that people knows information much more up to date than wiki. However I can also describe the experience as dreadful because usually I do googling before asking a question, only to find hours of googling and reading on wiki is waisted ti... 11 Jun 2010 15:53
difficulty with starkit comp lang tcl starkit i work with Debian/lenny and Tcl/Tk 8.4. I had to produce a stand alone with Tcl/Tk. I decided to train myself to starkits before starpacks. I coded a mini script set f [pwd] or set f [exec pwd] pack [label .l -texvariable f] named it myscript.tcl supposing a directory tree... 11 Jun 2010 12:33
Tcl-URL! - weekly Tcl news and links (Jun 9) QOTW: "... [C]oroutine and tailcall are significant steps toward a Tcl theory of programming that is different from Lisp's." - Kevin Kenny With the help of many, 5.0 of Tablelist now includes a multi-column tree widget, and much more. http://www.nemethi.de Thanks to Arjen Markus for his most... 10 Jun 2010 11:07 |