First  |  Prev |  Next  |  Last
Pages: 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
Databases and Tcl
What is the current preferred method of database access in Tcl? I've been using SybTcl 3.0, but it has a number of problems that have caused issues in several cases. Looking to change to something that may be more stable. -- Kevin ... 7 Jul 2008 19:42
chinese words in tcl/expect
Hi friends, consider this simple expect code: #!/usr/bin/expect set id { a b "Á{" } proc ignore {} { global id foreach count $id { sleep 1 puts "$count" } } ignore everytime it ran into problem that: missing close-brace while executing "set id { a b "?{" } proc ignore {} { global id foreach ... 7 Jul 2008 07:21
changing threads with ttrace
I try to use ttrace to change global variable in all threads but it does not work. my code: package require Thread package require Ttrace set t1 [thread::create] set t2 [thread::create] foreach t {t1 t2} { thread::send [set $t] {proc a {} { puts $::glb } set glb 1 } } thread::send $t1 a thread::send $... 6 Jul 2008 12:58
newbie
i am trying to learn tcl(with special emphasis on its interface with fortran) can you peple suggest some good starting point? ... 8 Jul 2008 21:19
different behavior of shell and embedded interpreter
Hi, I'm trying to embed tcl interpreter in C, but observing different behaviors (shell vs embedded). For example, the script below entered line by line on shell and embedded interpreter gives different results. ######### 1) puts " Hi there!" 2) for {set i 0} {$i <= 10} {incr i} { 3) puts "no $i" ... 6 Jul 2008 07:52
freewrap with blt2.4 demo program:
Hello, I am trying to generate a executable with freewrap from a Tcl script using the BLT package. I did everything as written in the tutorial, also added the absolute paths "C:/Program Files/Tcl/bin/" (here is the BLT24.dll) and "C:/ Program Files/Tcl/lib/blt2.4" to the auto_path variable before calling "pac... 4 Jul 2008 13:05
usage of new "in" and "ni" expression operators
I was playing with the new "in" and "ni" new expression operators and found that I cannot do: if {$test in [list 3 4 5] || $test ni [list 5 6 7]} { puts "great!" } Are the new expression operators"ni" and "in" limited to one operator? why? I checked the doc http://www.tcl.tk/man/tcl8.5/TclCmd/if.htm an... 4 Jul 2008 10:00
execution time paradox
Hi, I noticed the following code executes FASTER after changing both occurrences of {incr ... 4} to {incr ... 1}. I expected the contrary. I tested the code with wish8.4 and wish8.5 and "incr 1" version completed in 15sec, while "incr 4" version completed in 50sec. Could anybody explain that? Thx, ------... 5 Jul 2008 14:33
regarding logging
Hi, I am running a script I would like to save that into a log file and plz give me log functin details with examples Thanks in advance, ~Anil A Kumar ... 4 Jul 2008 11:01
Ann: kbs 0.2.3
kbs -- kitgen build system (version 0.2.3 for tcl/tk 8.5.3 and 8.6a1) ========================== The system can generate [Tclkit Lite] executables, Tcl packages, starkits and starpacks for different operating systems. Additional documentation can be found under <http://wiki.tcl.tk/ 18146> Sources are av... 4 Jul 2008 19:13
First  |  Prev |  Next  |  Last
Pages: 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91