f



ANNOUNCE: Tcl/Tk 8.4.4 rpms with thread 2.5.2 extension

You may find the specification file, that you can use to build the rpm
binaries on your Redhat (Suse may also work) system at:
  http://jfontain.free.fr/tcltk-8.4.4-1.spec

To build, download the Tcl/Tk 8.4.4 and Thread 2.5.2 sources from
http://prdownloads.sourceforge.net/tcl/ into your
/usr/src/redhat/SOURCES/ directory, place the specification file in
your /usr/src/redhat/SPECS/ directory, then from that directory, type:
  # rpmbuild -bb --clean tcltk-8.4.4-1.spec

Note: you may change the installation directory and turn on the thread
extension at the beginning of the specification file.

Jean-Luc Fontaine (http://jfontain.free.fr/)
0
jfontain (162)
7/24/2003 8:38:27 AM
comp.lang.tcl 23429 articles. 2 followers. Post Follow

0 Replies
646 Views

Similar Articles

[PageSpeed] 35

Reply:

Similar Artilces:

ANNOUNCE: Tcl/Tk 8.4.5 rpms with thread 2.5.2 extension
They can be found at: http://jfontain.free.fr/tcl-8.4.5-1.i386.rpm http://jfontain.free.fr/tk-8.4.5-1.i386.rpm http://jfontain.free.fr/tk-8.4.5-1.spec They were generated on an up-to-date Redhat 9 i386 system. They install under /opt/tcltk and therefore does not conflict and peacefully coexists with the stock Redhat Tcl and Tk rpms. To rebuild them, download the Tcl/Tk 8.4.4 and Thread 2.5.2 sources from http://prdownloads.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: # rpmbuild -bb --clean tcltk-8.4.5-1.spec Note: you may change the installation directory and turn on the thread extension at the beginning of the specification file. -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ ...

ANNOUNCE: Tcl/Tk 8.4.6 rpm specification with thread 2.5.2 extension #2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://jfontain.free.fr/tcltk-8.4.6-2.spec Generated and tested on an up-to-date Red Hat Fedora Core 1 i386 system. The rpms install under /opt/tcltk and therefore do not conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.4.6 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: ~ # rpmbuild -bb --clean tcltk-8.4.6-2.spec Note: - - Includes the window manager patch for Tk that restores the maximize button in the KDE environment. - - You may change the installation directory and turn on the thread extension at the beginning of the specification file. - -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAcAqxkG/MMvcT1qQRAp9RAJ9x2MAXDaaJYw4TTBCPAM3aSCm0xwCeILbJ tbgvOaiKiV80H0mtUjxBnJs= =6JBn -----END PGP SIGNATURE----- ...

ANNOUNCE: Tcl/Tk 8.4.8 rpm specification with thread 2.5.2 extension
http://jfontain.free.fr/tcltk-8.4.8-1.spec Generated and tested on an up-to-date Red Hat Fedora Core 3 i386 system. The rpms can install under /opt/tcltk (see notes below) in order not to conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.4.8 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: # rpmbuild -bb --clean tcltk-8.4.8-1.spec Notes: - You may change the installation directory and turn on the thread extension at the beginning of the specification file. -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ ...

ANNOUNCE: Tcl/Tk 8.4.6 rpm specification with thread 2.5.2 extension
It can be found at: http://jfontain.free.fr/tk-8.4.6-1.spec Generated and tested on an up-to-date Red Hat Fedora Core 1 i386 system. The rpms install under /opt/tcltk and therefore do not conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.4.6 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: # rpmbuild -bb --clean tcltk-8.4.6-1.spec Note: you may change the installation directory and turn on the thread extension at the beginning of the specification file. -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ ...

ANNOUNCE: Tcl/Tk 8.4.7 rpm specification with thread 2.5.2 extension
http://jfontain.free.fr/tcltk-8.4.7-1.spec Generated and tested on an up-to-date Red Hat Fedora Core 2 i386 system. The rpms can install under /opt/tcltk (see notes below) in order not to conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.4.7 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: # rpmbuild -bb --clean tcltk-8.4.7-1.spec Notes: - You may change the installation directory and turn on the thread extension at the beginning of the specification file. -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ ...

ANNOUNCE: Tcl/Tk 8.5a1 rpm specification with thread 2.5.2 extension #2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://jfontain.free.fr/tcltk-8.5a1-2.spec Generated and tested on an up-to-date Red Hat Fedora Core 1 i386 system. The rpms install under /opt/tcltk and therefore do not conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.5a1 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: ~ # rpmbuild -bb --clean tcltk-8.5a1-2.spec Notes: - - Includes the window manager patch for Tk that restores the maximize button in the KDE environment. - - For Tk, the anti-aliased fonts option is turned on. - - You may change the installation directory and turn on the thread extension at the beginning of the specification file. - -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAcAq9kG/MMvcT1qQRAi07AKDD7zMz5WFdwvz4GFcbh95VuPKGewCeJJ86 XWFfg1JAd4mnicbd+bW9OTA= =0t3Q -----END PGP SIGNATURE----- ...

ANNOUNCE: Tcl/Tk 8.5a1 rpm specification with thread 2.5.2 extension
It can be found at: http://jfontain.free.fr/tk-8.5a1-1.spec Generated and tested on an up-to-date Red Hat Fedora Core 1 i386 system. The rpms install under /opt/tcltk and therefore do not conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.5a1 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: # rpmbuild -bb --clean tcltk-8.5a1-1.spec Notes: For Tk, the anti-aliased fonts option is turned on. You may change the installation directory and turn on the thread extension at the beginning of the specification file. -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ ...

ANNOUNCE: Tcl/Tk 8.4.9 rpm specification with thread 2.6 extension
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://jfontain.free.fr/tcltk-8.4.9-2.spec Generated and tested on an up-to-date Red Hat Fedora Core 3 i386 system. The rpms can install under /opt/tcltk (see notes below) in order not to conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.4.9 and Thread 2.6 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: ~ # rpmbuild -bb --clean tcltk-8.4.9-2.spec Notes: - - You may change the installation directory and turn on the thread extension at the beginning of the specification file. - -- Jean-Luc Fontaine mailto:jfontain@free.fr http://jfontain.free.fr/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFByus2kG/MMvcT1qQRArObAJsGSwUEyMDSJ48F/WaBHZM5oh7TCACgtUKT /YD5v6DlbojUEpdVtK5UKZM= =0Pre -----END PGP SIGNATURE----- On Thu, 23 Dec 2004 16:58:46 +0100, Jean-Luc FONTAINE wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > http://jfontain.free.fr/tcltk-8.4.9-2.spec > > Generated and tested on an up-to-date Red Hat Fedora Core 3 i386 system. > The rpms can install under /opt/tcltk (see notes below) in order not to > conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. > > To b...

Does 4/2/2= (4/2)/2 =1 OR = 4/(2/2)=4
I don't have matlab and I am trying to translate some simple matlab code. Does 4/2/2 = (4/2)/2 = 1 or 4/2/2 = 4/(2/2) = 4 On 9/11/2012 9:43 AM, sarah.englander@gmail.com wrote: > I don't have matlab and I am trying to translate some simple matlab code. > > Does 4/2/2 = (4/2)/2 = 1 yes. At a given precedence level (and obviously two of the same operators are the same level) evaluation proceeds from LtoR. ....snip... <http://www.mathworks.com/help/techdoc/matlab_prog/f0-40063.html#f0-38155> -- dpb <none@non.net> wrote in message <k2njh1$jes$1@speranza.aioe.org>... > On 9/11/2012 9:43 AM, sarah.englander@gmail.com wrote: > > I don't have matlab and I am trying to translate some simple matlab code. > > > > Does 4/2/2 = (4/2)/2 = 1 > > yes. At a given precedence level (and obviously two of the same > operators are the same level) evaluation proceeds from LtoR. > > ...snip... > > <http://www.mathworks.com/help/techdoc/matlab_prog/f0-40063.html#f0-38155> > > -- There are a few thing you need to understand: 1. You need to get matlab in order to translate the simple code 2. You should define your parameters as in what is the expected output of your search based on the equations used: Is it : a) 4/2/2 b) (4/2/2) On 9/11/2012 11:13 PM, Salvinder wrote: .. > There are a few thing you need to understand: > 1. ...

expect-5.44.1, tcl-8.4.15, gcc-4.2.2
expect-5.44.1 build fails with the following error configure: configuring in testsuite configure: running /bin/sh '/path/to/src/expect-5.44.1/expect-5.44.1/testsuite/configure' --prefix=/path/to/expect-5.44.1 '--with-tcl=/path/to/tcl-8.4.15/lib' '--with-tclinclude=/path/to/src/tcl-8.4.15/tcl8.4.15/generic' '--with-tk=/path/to/tk-8.4.15/lib' '--with-tkinclude=/path/to/tk-8.4.15/include' '--prefix=/path/to/expect-5.44.1' 'CC=gcc -m32' 'CPPFLAGS=-I/path/to/include ' 'LDFLAGS=-Wl,-rpath,/path/to/lib -Wl,-rpath,/path/to/lib64 -Wl,-rpath,/path/to/libiconv-1.12/lib -Wl,--enable-new-dtags -L/path/to/lib -L/path/to/lib64 ' --cache-file=/dev/null --srcdir=/path/to/src/expect-5.44.1/expect-5.44.1/testsuite configure: warning: CC=gcc -m32: invalid host type configure: warning: CPPFLAGS=-I/path/to/include : invalid host type configure: error: can only configure for one host and one target at a time configure: error: /bin/sh '/path/to/src/expect-5.44.1/expect-5.44.1/testsuite/configure' failed for testsuite The usage for testsuite/configure indicates that the syntax above is wrong: Usage: configure [options] [host] That is, the VAR=VALUE syntax is accepted in the toplevel configure, but not in testsuite/configure. I just ran the top-level configure to build expect, which then invoked testsuite/configure as part ...

difference between tcl 8.4.2 & 8.4.4
% exec $env(COMSPEC) /c net config This command now fails on Tcl 8.4.4 What can I do instead? to run with either version of tcl and windows 98. "couldn't execute "C:\WINDOWS\COMMAND.COM": no such file or directory" Running on Win 98. Win XP is ok. Peter Campbell wrote: > % exec $env(COMSPEC) /c net config > > This command now fails on Tcl 8.4.4 > What can I do instead? to run with either version of tcl and windows 98. > > "couldn't execute "C:\WINDOWS\COMMAND.COM": no such file or directory" > > Running on Win 98. > Win XP is ok. This is a known bug that is already fixed. 8.4.5 will be out by the end of the week with this corrected. -- Jeff Hobbs, The Tcl Guy http://www.ActiveState.com/, a division of Sophos Hi Peter, Peter Campbell <pc@acs.co.nz> writes: > % exec $env(COMSPEC) /c net config > > This command now fails on Tcl 8.4.4 > What can I do instead? to run with either version of tcl and windows 98. > > "couldn't execute "C:\WINDOWS\COMMAND.COM": no such file or > directory" > > Running on Win 98. > Win XP is ok. This was discussed recently, check google. IIRC, this is a bug in 8.4.4, to be fixed in 8.4.5. benny ...

TRSDOS II, version 4.2.0, 4.2.2, 4.2.4, 4.2.6 (or 4.3.x or 4.4)
Hi, Group I require a copy of the above DOS, but I need it _on disk_ as I do not have an emulator for the Model II that must be tested. Is there any possible sources of the OS on disk, or can you advise if the original 8" drive can be hooked to another device so that I can transfer an electronic copy to the disk to boot the machine? What other options do I have? Thanks L replying to my own post :-) I found an article here (http://www.tim-mann.org/trs80resources.html) where Tim describes a trick to rescue a disk's contents. This should be a workable solution...

Segmentation fault returning value in Thread for Tcl 8.3.5/Thread 2.5 (2.1.5)
I wrote a simple "exec" function that runs the specified program in another thread, splits out the stdout and stderr output and returns asynchronously. (I attached the script and traceback from the core dump at the end of this message.) I started off using Tcl 8.3.5/Thread 2.5 (2.1.5). It seems that if the script running in the other thread returns a value using "return $result", I get a core dump. But, if I return the value using "set result", it doesn't core dump. If I use Tcl 8.4.5/Thread 2.5.2, the script throws an error condition if I use "return $result", but not if I use "set result". It should not be throwing an error condition. (It doesn't matter whether the print.tcl prints to stderr, it happens when only stdout is printed as well.) Since Tcl and the Thread package is mature, I have a feeling I am doing something fundamentally wrong, but it is not rearing it's ugly head yet. Does anybody see the error or know if there is a Tcl or Thread bug related to this problem? Thanks, Rob test.tcl #!/bin/csh -f # comment out next line \ exec tclsh8.3 $0 $argv:q #exec tclsh8.4 $0 $argv:q package require Thread namespace eval DE { proc threadError { threadid errorInfo } { global DE::threadError set threadError 1 return $threadError } proc texec { args } { global DE::thread DE::threadError errorInfo errorCode ...

ANNOUNCE: Release of DJGPP ports of GCC-5.2.0, GCC-4.9.3, GCC-4.8.5,, GCC-4.7.4 and GCC-3.4.6 for DJGPP v2.05
This is announcement of GCC-5.2.0, GCC-4.9.3, GCC-4.8.5, GCC-4.7.4 and GCC-3.4.6 for DJGPP v2.05 GCC used to stand for the GNU C Compiler, but since the compiler supports several other languages aside from C, it now stands for the GNU Compiler Collection. All these GCC versions are built using DJGPP v2.05 under Windows Vista Business SP3. Requirements for using binary packages: - DJGPP v2.05 (packages are NOT intended to be used with DJGPP v2.03) - binutils-2.22 or above (binutils-2.24 or above recommended) Currently all packages are still located at: ftp://ftp.de...

wxPython 2.4.2.4 segmentation fault on (Python 2.2.2 SuSE 8.2)
Hi everything runs normally but exiting demo.py or any app we get Segmentation Fault wxPython was built from sources (as per readme.1st.txt) as latest downloaded from wxPython site while building wxGTK several errors reported as could not read from makefile.in files please assist Sanjay Minni Note that we used GTK1 i.e. compiled without the GTK2 option on SuSE 8.2 Thanks Sanjay Minni ...

Tcl/Tk 8.5 vs iwidget 4.0.2
Hi! I have a developer who is trying Tcl/Tk 8.5 out with a program that he has been using with Tcl/Tk 8.4 . He mentioned some iwidget behavior differences. For instance, he writes: In the disjointlistbox widget the buttonplacement configuration parameter seems to be ignored. In my application it is set to center, and it is centered in 8.4 but not 8.5. Has there been a 8.5 Iwidget release to correspond with the tcl8.4 release? Also noticed some widget background color differences. Where in tcl84 fields and listboxes have gray backgrounds (default) and in tcl85 they are white. I'm noticing changes mostly in the widgets, appear to be cosmetic, except for the -buttonplacement configuration parameter that is ignored in the disjointlistbox IWidget. What kinds of changes has to be made to an Iwidgets program to get, for instance, the widget background colors back to gray? And what about the disjointlistbox widget's button placement? Is that no longer supported, or is there a new argument that helps with this? And is Iwidgets 4.0.2 the right version to be using with Tcl/Tk 8.5.4? Here's a code example: $ cat example.tcl # ---------------------------------------------------------------------- # DEMO: disjointlistbox in [incr Widgets] # ---------------------------------------------------------------------- package require Iwidgets 4.0 iwidgets::disjointlistbox .dlb -buttonplacement center -lhslabeltext "Left Side" \ -rhslabeltext "Right Side" pa...

Are there algorithm differences between 4.2.4 and 4.2.5?
Are there any algorithm of other differences which might cause noticeable performance differences between 4.2.4 and 4.2.5? For example: - 4.2.5 being more reluctant to increasing the polling interval from 64s (with a mixture of local stratum-1 and Internet pool servers)? - 4.2.5 showing an increased variability of offset when viewed on a timescale of minutes? Of course, these may just be different manifestations of the same underlying difference. Thanks, David David J Taylor has hit on an apparent regression in timekeeping between 4.2.4 and 4.2.5. He's posted some graphs at: http://www.satsignal.eu/ntp/V4.2.4.vs.V4.2.5.html While I encourage interested parties to read the entire page, I draw your attention in particular to the three large graphs at the bottom of the page, showing a PC of mine running one of my later 4.2.4-DLH- QPC builds with new Windows interpolation code, which also bypasses interpolation on Vista machines where the native clock precision is too fine for the interpolation approach to work. Toward the end of the day, I switched it to a 4.2.5-based build with my interpolation code. Both versions disabled interpolation and used the native Windows clock directly in ntpd. Typically on this machine I see "precision = 500.100 usec" logged at startup, which was true for the 4.2.5 run started during this graphed period. The 4.2.4 run preceding it had logged "precision = 1000.000 usec" I don't believe the difference is ...

Will Ruby 1.8.2 include tcl/tk 8.4.x instead of 8.3?
Will Ruby 1.8.2 release come with tcl/tk 8.4.7 libraries? Thanks. Hi, From: "H. Simpson" <nospam@asdlkfjhasldkjfsadlfhskadjfahsldfks.com> Subject: Will Ruby 1.8.2 include tcl/tk 8.4.x instead of 8.3? Date: Mon, 2 Aug 2004 17:01:40 +0900 Message-ID: <HwmPc.1858$Z56.480@newssvr33.news.prodigy.com> > Will Ruby 1.8.2 release come with tcl/tk 8.4.7 libraries? Is that a binary package of Ruby 1.8.2 ? If you say about source files, Ruby/Tk can work with Tcl/Tk8.4.7. I already tested that Ruby/Tk works with Tcl/Tk8.4.7 and 8.5a1 (and ActiveTcl-8.4.6.1 binary package). U...

Spinbox - TCL/Tk 8.4
spinbox was not supported in ruby 1.8.2 'cause it uses tcl/tk 8.3 which does not have spinbox. I got Tk spinboxes to work via a kludge. I stole a copy of tcl 8.4 and tk 8.4 from Python 2.4 and laid them onto Ruby 1.8.2. add the tcl8.4 folder and tk8.4 folders from python into the ruby lib folder (you can leave the original tcl 8.3 and tk 8.3 alone) put a copy of the tcl84.dll and tk84.dll from python into the ruby bin folder. rename your old copies of tcl83.dll and tk83.dll just in case rename the new tcl84.dll and tk84.dll to 83 and now tk 8.4 works with ruby ...

ANNOUNCE: Tcl/Tk 8.4.4 Release
Tcl/Tk 8.4.4 Release Announcement July 22, 2003 The Tcl Core Team is pleased to announce the 8.4.4 releases of the Tcl scripting language and the Tk toolkit. This is the fourth patch release of Tcl/Tk 8.4. More details can be found below. We would like to express our gratitude to all those who submit bug reports and patches. This information is invaluable in enabling us to identify and eliminate problems in the core. Where to get the new releases: ------------------------------ Tcl/Tk 8.4.4 sources are freely available as open source from the Tcl Developer Xchange web site at: http://www.tcl.tk/software/tcltk/8.4.html This web page also contains additional information about the releases, including new features and notes about installing and compiling the releases. Sources are always available from the Tcl SourceForge project's file distribution area: http://sourceforge.net/project/showfiles.php?group_id=10894 Windows, Linux, Solaris and HP-UX binaries are available from: http://www.activestate.com/Tcl For additional information: --------------------------- Please visit the Tcl Developer Xchange web site: http://www.tcl.tk/ This site contains a variety of information about Tcl/Tk in general, the core Tcl and Tk distributions, Tcl development tools, and much more. Thank you for your contributions: --------------------------------- As usual, this release includes contributions from the Tcl community. We have a page honoring these contributors at: http...

Notation: R(a,k) denotes the rising factorial a(a+1)...(a+k-1 ...the certificate being 2 2 2 (5 m - 12 m p - 2 m + 8 p + 3 n m - n
Notation: R(a,k) denotes the rising factorial a(a+1)...(a+k-1 ...the certificate being 2 2 2 (5 m - 12 m p - 2 m + 8 p + 3 n m - n - 4 n p + 1 + 4 p) n -------------------------------------------------------------, QED . ... Musatov ...

"::tcl::tm::UnknownHandler ::tclPkgUnknown msgcat 1.4" caused by replacing Tcl 8.4.1 with 8.5.7
In the blog http://planet.larrythecow.org/archives/2009-07-26.html "The Twouble with Tcl" Iain Buchanan shows that redefining OPEN proc leads to the errors similar to what I am getting - when I replaced Tcl 8.4.1 with Tcl 8.5.7. In my case I don't know the exact root cause though ... Any ideas how I should proceed with debugging this issue ? Thanks, Alex tclsh c:/Tornado/host/resource/hutils/tcl/makeSymTbl.tcl ppc tmp.o symTbl.c invalid command name "::tcl::tm::UnknownHandler" while executing "::tcl::tm::UnknownHandler ::tclPkgUnknown msg...

Problems with BLT 2.4 and TCL 8.4.19
I have a win32 xp sp3, and recently cleaned my machine and re- installed Tcl and Blt. I tried the following piece of sample code from wiki.tcl.tk: package require Tk package require BLT namespace import blt::* # vector and stripchart are blt components. # if you have a vector v, you can update it in realtime with # v set $list # init the vectors to a fixed size. set Hz 200 vector xvec($Hz) y1vec($Hz) y2vec($Hz) # fill xvec with 0 .. $Hz-1 xvec seq 0 [expr {$Hz - 1}] stripchart .s1 -height 2i -width 8i -bufferelements no stripchart .s2 -height 2i -width 8i -bufferelements no pack .s1 .s2 .s1 element create line1 -xdata xvec -ydata y1vec -symbol none .s2 element create line2 -xdata xvec -ydata y2vec -symbol none -color red # update $Hz values with random data once per second proc proc1sec {} { # this can be done more concisely with vector random, # but if you need to fill a vector from scalar calculations, # do it this way: for {set i 0} {$i < $::Hz} {incr i} { lappend y1list [expr {rand()}] lappend y2list [expr {rand()}] } y1vec set $y1list y2vec set $y2list after 1000 proc1sec } proc1sec But, fails after package require BLT, with "can't find package BLT". I simply ran the executable. Is there anything more necessary to run BLT. Thank you for your help :) On May 12, 6:34=A0pm, Jesse Schwartz <jesseaschwa...@gmail.com> wr...

Printing 2^1, 2^2, 2^3, 2^4 and 2^5
Hi, When I use a while loop, the output is: 2 4 8 16 32, as desired: <?php $c=1; while($c<=5) { $d = newpow(2, $c); print "$d "; $c++; } function newpow($base, $power) { // statements... } ?> The But when I use a for loop, the output is: 64: <?php for($c=1; $c<=5; $c++); { $d = newpow(2, $c); print "$d "; } function newpow($base, $power) { // statements... } ?> Why is this?? Many thanks, Michael mejpark wrote: > When I use a while loop, the output is: 2 4 8 16 32, as desired: [...] > The But when I use a for loop, the output is: 64...

Web resources about - ANNOUNCE: Tcl/Tk 8.4.4 rpms with thread 2.5.2 extension - comp.lang.tcl

Resources last updated: 3/13/2016 8:58:42 PM