|
Sacred EIAS Over on the tcl-core mailing list there is a long-winded discussion about using some reserved string, e.g. {NULL}, to represent sql NULL values, but this has many people concerned that it would break tcl's EIAS (Everything Is A String) property. I don't dare dip my toe into those waters (one thread is now title... 22 Jun 2008 15:16
calculating run time for portions of code How would you calculate sections of code run times? For instance in ColdFusion, there is the function gettickcount(), and you would do something like this: set starttime = gettickcount() (code that you want to time) set endtime = gettickcount() set runtime = endtime - starttime How would I do the same thing... 20 Jun 2008 17:23
Expect : Interact returns to shell instead of script I'm new to tcl and expect, and am trying to do something very simple, run a few commands by script, then interact, then run some more commands. When i'm interacting, andI enter the '+' key expecting to return to my script, I get bounced out of the script and get a new shell prompt. "Hello World 2" never gets prin... 23 Jun 2008 13:45
Human readable size in bytes Hi, I searched for a Tcl snippet to convert a file size in bytes into something more readable by a human, and I did not find it. I looked in the excellent Tcllib package fileutil, I did not find anything related to my problem. So I did my own, which I copied on the wiki at : http://wiki.tcl.tk/1676 The bas... 1 Jul 2008 07:11
using teacup I am new to using teacup to install packages. I am trying to be able to "package require tcldebugger_attach". I started teacup in tclsh, and used the following commands: % set auto_path C:/Tcl/lib/tcl8.4 C:/Tcl/lib c:/tcl/lib/teapot/package/win32-ix86/lib c:/tcl/lib /teapot/package/tcl/lib % teacup install tcl... 21 Jun 2008 07:39
xml-transforming (with tdom?) Matthias Meier wrote: Can i solve this with 'tdom' (load the xml-data into an tdom and 'dump' it according to the dtd)? - or is there any other (tcl) tool? Sounds like a case for XSLT. Tdom includes an XSLT engine. Donal. ... 26 Jun 2008 15:39
synchronize command in Tcl ? Hi is there any command in Tcl that makes the same effect as the synchronize command in Java? Thanks ... 20 Jun 2008 11:12
http::get in web page hangs server i am trying to convert the following tcl script to run on a web server, all it does is download a file from another http server and display the progress ( in this case dots "." ) but when it runs it only copies 4k of the file ( due to the chunk size ) then stops i am guessing as its trying to run the -progress loop... 25 Jun 2008 17:04
Tree way ttk:panedwindow HI All, Does anyone know for to make a 3-way panedwindow using ttk::panedwindow in Tk8.5? I want to achieve something like a T-junction, one horizontal pane on the right, and 2 vertical panes on the left. Thanks in advance for the advise. Thanks, -Arman. ... 19 Jun 2008 21:56
embed vi editor in tk application rf wrote: Tk's text widget is appropriate for any text manipulation. Melissa Schrumpf offers vi-command implementations in pure tcl as part of her code-editor on http://www.geocities.com/m_schrumpf/tcl/index.html It's a pretty sad commentary when other people can find your website more easily than you c... 19 Jun 2008 20:54 |