struct::tree with htmlparse inside the tclOO Hi I need help in making a tree as member of a variable: heres a summary of my code oo::class c { method connect { my variable my_tree set html_source [ http::data $token ] struct::tree my_tree htmlparse::2tree $html_source tree } } I get this error message invalid command name "my_tree" ... 4 Mar 2010 21:23
catch not catching Hi, I'm trying to get a script that ftps files to handle the destination being down more gracefully than it does at the moment, but I'm obviously missing something ... The environment is WinTcl 8.5.6 on a Windows 2003 Server. Doesn't catch get any errors in the command it's executing ... or is the ftp not act... 3 Mar 2010 05:08
Need to develop some kind of GUI designer (sigh) Hello out there, As part of an upcoming application I need to enable _users_ to "design" kind of an instrument panel. Calling it "instrument panel" is actually too much - the requirements GUI-wise are not very exciting: - text fields to display some values, - entries to provide values (to be sent off) - maybe an ... 5 Mar 2010 18:28
Weird tdom bug? I am seeing a strange bug with tdom. I had a working script to open a file, parse it, get its root element and do processing on it. I decided to put the opening and parsing part into a proc and return the xml doc or root element to the caller. However, when the caller receives the doc element, it is no longe... 8 Mar 2010 13:01
RESULT: comp.lang.tcl.announce will be removed RESULT comp.lang.tcl.announce will be removed The Last Call for Comments (LCC) on 2010-02-21 initiated a five-day period for final comments. Following this comment period, the Big-8 Management Board has decided by vote to remove moderated group comp.lang.tcl.announce.... 2 Mar 2010 00:15
"open" issue in a new defined namespace Perhaps someone could explain to me why calling proc Save {} { set fh [ open "test" "w" ] puts $fh message close $fh } Save is working, but: namespace eval textile {} proc textile::Save {} { set fh [ open "test" "w" ] puts $fh message close $fh } textile::Save show... 1 Mar 2010 17:35
TCL scripting help I'm trying to compose a tcl script to read a username for our radius server, and modify if it matches a couple of conditions. First off, here is a typical username that I would want to modify: 0900000023000003780a2202fc0000229f This is a hex string returned from a dslam. The issue is that the last 8 chara... 11 Mar 2010 03:27
Compiling Does anyone know how the compiler works? I believe a proc gets compiled after its first use automatically. Is there a way to get its compiled representation as a string without necessarily running the proc first? I wonder if I just compiled the contents of a text widget one complete statement at a time and s... 5 Mar 2010 18:28
high-water-mark memory management I am trying to figure out how to deal with what I have been told is Tcl's "high-water-mark memory management" when dealing with very large data sets. Apparently the Tcl interpreter often doesn't release all the memory used by a procedure after the procedure returns, but keeps claim on it and, I suppose, re-uses it... 5 Mar 2010 03:57
Ann: Gnocl gets own URL/ The Gnocl development team are pleased to announce that Gnocl now has its own URL and can be found at www.gnocl.org. Downloads still available via SourceForge. ... 2 Mar 2010 22:35 |