First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Compressing a file (in windows)
I'm trying to iterate through a directory (in TCL) and compress certain files. In unix this would vaguely look like this foreach i $filelist { exec gzip $i } Except that I don't have gzip at my disposal in Windows XP. Which I shouldn't need - windows can handle zipped files "magically": I double- click a ".zip... 26 Jul 2010 04:03
how to operate on in memory hashes or arrays
I envision getting web request, then running calculation on in memory array data, logging the request to disk in the background, then responding to the web request without going to disk.. possible with tcl? reccomened way? Inspiration from www.prevayler.org ... 24 Jul 2010 08:00
How to split a list when calling a proc with variable arguments
I know it's basic TCL, and I feel stupid for not knowing the solution myself, but well... it's nearly 10 years I last worked with TCL/TK :) I want to split a list so that it behaves exactly like literals. My problem occurs while working with row attributes in a tablelist (.t is the tablelist): % .t rowattrib k... 23 Jul 2010 12:31
upvar bad level error
Somebody suggested the following code to me for debugging an http request: package require http set tok [http::geturl http://localhost:1565/pgn4desk.htm] upvar $tok token set token(body) "" parray token However it results in the following error. I still haven't wrapped my head around upvar :( Hopefully in... 23 Jul 2010 09:10
TkX
This is a new Tk package I am working on, and I would like some community opinion before offering it up for release. For those who don't follow the wiki, please see: http://wiki.tcl.tk/26699 and comment if you have one. ... 25 Jul 2010 20:33
tclkit string size limit?
Is there some sort of limit on the size of strings when using tclkit? I ask because I am able to use the Tcl-based browser hv3 just fine to render an html page that uses the script tag and src attribute to utilize a Javascript file that is around 70k in size. That is, until I wrap hv3 as a starkit, and then the pag... 22 Jul 2010 16:54
Counting the variables needed for "binary scan"
Hi, for passing arbitrary structured data through a network protocol, I'd like to use binary format/binary scan. My idea is to pass the format, then the binary blob through the channel, e.g. "c3Ic10I4\0<binary string>". No problem in generating this. The problem is when the other side parses the format "c3Ic10... 25 Jul 2010 14:02
Compiling 64-bit Tcl/Tk8.4.19 with Sun Studio 12.1 Failed due to syntax error!!
Hi guys, I am trying to compile 64-bit Tcl/Tk, I am using newest Sun Studio suit as following: export PATH=/usr/local/software/tcltk/tcltk-8.4.19/bin:/usr/ccs/bin:/ usr/sbin:/usr/bin:/opt/csw/bin export CC="/opt/sunstudio12.1/bin/cc -m64" export CXX="/opt/sunstudio12.1/bin/CC -m64 -lCrun" export F77="/opt/su... 22 Jul 2010 08:06
Tcl_CreateInterp and 'parray'
Hello with the following code ------------------------------------------------- static Tcl_Interp* x_interp = (Tcl_Interp*)0; x_interp = Tcl_CreateInterp(); rc = Tcl_Eval( x_interp, "parray" ); ------------------------------------------------- i get the error: invalid command name "parray" How do i... 21 Jul 2010 22:23
Tablelist: Mark active row which does not have the focus
In my application I need to build a selectoin of items from a tablelist. To this end, I display two tablelists next to each other. The right one contains all possible items, the left one is initially empty and is filled by double-clicking items in the right list. The right-list items are inserted in the left list a... 21 Jul 2010 15:49
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17