Description:
The Tcl programming language and related tools.
|
|
|
TclOO: [variable] vs. [my variable]
|
| |
Suppose you want to reference an instance variable inside a TclOO method. You can do this:
method foo {} {
my variable counter
incr counter
}
But you can also do this, which seems to have the same effect:
method foo {} {
variable counter
incr counter... more »
|
|
easy way to hide tcl/tk source code?
|
| |
Hi, Looks like it's really hard to compile a big tcl project into a single executable file, I tried freewrap, tclpro but always get different problems. Now I'm thinking is there an easy way which can just compile single tcl files one by one, then I can "source" them in my main tcl program. the only objective I hope to archive now is hiding the code. Can I do it?... more »
|
|
version conflict for package "zlibtcl": have 1.2.8, need exactly 1.2.7
|
| |
I just did a teacup update and now I cannot load Img--I'm getting versioning error: version conflict for package "zlibtcl": have 1.2.8, need exactly 1.2.7
This is on Ubuntu, version 8.6.0 for x86_64.
Drilling down, the problem is between pngtcl and zlibtcl. pngtcl first loads zlibtcl (1.2.8 is the latest) then loads libpngtcl1.4.12.so. But the library requires zlibtcl 1.2.7.... more »
|
|
Writing to text to an external processes.
|
| |
At the moment I'm using espeak on my Linux box to readaloud single lines. The line of my code to achieve this is:
set pid [exec espeak -a $a -s $s -b $b -m [list $t] &]
But, espeak has a --stdin to read aloud words entered at the console. How can I do this? How do I write a string out to this process.... more »
|
|
compile tk8.6.0 for X11 on OSX
|
| |
Hello,
I experience some problems with Tk8.6.0, when I try to compile it for X11 on Mac OSX 10.7.
Installed is Xquartz 2.7.4 and also some X11 from macports (which shouldn't conflict I think). Previously I also installed an ActiveTcl 8.6 and 8.5. I run make as advertised in the README, but I changed... more »
|
|
Detecting if a tcl shell instance is also running on this machine.
|
| |
Hi all,
I am currently customizing the tcl c source code for my own application .
When my own tcl shell is running on a computer, is it possible to detect if another instance of (my own) tcl shell is also running on the same computer ?
I am not talking about multi-thread in a tcl shell instance. I am hoping to detect multiple instance of (my own) tcl shell on a same computer.... more »
|
|
when tcl-prevayler
|
| |
[link]
cmon I wana throw away postgresql and point to something more to laugh about when loking at shops using oracle
|
|
tablelist make error
|
| |
Hello, I wish the following example of gridplus2 in winXP that present error messages. But it's OK in Win7.
TCL :ActiveTCL 8.5 ,Tablelist:5.9
Example
======
package require gridplus namespace import gridplus::*
gridplus tablelist .mytable {
4 "Column1"
4 "Column2"
0 "Column3"... more »
|
|
freewrap make error. cannot find zip.h
|
| |
Hi, I'm trying to build freewrap. I suppose I already read the freewrapDocs.pdf very carefully, and I made all steps successfully except the last step. Can anybody give me an idea?
I built the zip232 and copy the zip file to "unix" directory, I even tried to copy the zip.h file to unix directory or /usr/include directory, it always complain.... more »
|
|
|