comp.lang.tcl Google Group | Korea Tcl/Tk Community

comp.lang.tcl Google Group

내용묶음
The Tcl programming language and related tools.
업데이트: 22 hours 20 min 지남

create executable from tcl

토, 05/19/2012 - 01:55
I've developed a windows application written in perl that is installed
as an executable with the perl interpreter embedded in the executable.
It is assumed that the PERL INTERPRETER IS NOT INSTALLED on the target
system.I want to create an executable from a simple (I hope!) tcl
program that will display a form to collect configuration data from

I love tcl!!! anyone using wibble or wub for profit website? or most for profit still on naviserver or aolerver?

토, 05/19/2012 - 01:55
I find more I try python I find it gmmmicky pos with lots of insane object to learn in n outs of each with syntax and fine until doesnt do something the object maker thoght of

perl si cmplete headache syntax wise and no friggin interactive loop is total hell for active devlopment and seems liek 1000 time clunkier than tcl

ACTRESS HOT ROMANTIC PHOTOS

토, 05/19/2012 - 01:55
TOP DOT NET INTERVIEW QUESTIONS& STUDY MATERIAL
[link]

TOP DATING TIPS TO ENCOURAGE WOMEN FOR DATING
[link]

FOR LATEST MOVIE UPDATED LINKS
Midatha Telugu movie Hot Namitha Stills

Tcluno compatibility w/ LibreOffice

토, 05/19/2012 - 01:55
Hi all !

Over the last few months, we have seen the relentless
disappearance of OpenOffice, with which TclUno was
working like a charm.
Now that LibreOffice has taken over, I'm stuck with
a TclUno package that does not work with LibreOffice.

Arnulf, if you read these lines, what is your feeling about

[text] crash on long lines

토, 05/19/2012 - 01:55
I think I have found a way to crash Tk on linux by
displaying long lines in a text widget. At the moment
I only have access to OpenSuse 11.4. Could people try the
short program below, and see if the problem is more general?

----------------- cut here --------------------

pack [text .t -width 80 -height 20 -wrap none -font {courier 11}]

ANN: TclWS Release 2.2.6

토, 05/19/2012 - 01:55
This release contains the following bug fix:

[1a9a9f98e9] -- patch to get nsOnChangeOnly feature to work
[a8de49b7c3] -- extensions of non-simple types do not work

This release can be downloaded as a Zip File or as a Tar Ball at
[link].

--

Test if Tk is loaded

토, 05/19/2012 - 01:55
Hi,

How do you test - from within a script - if Tk has been loaded?

Thanks
TM

Tk for project

토, 05/19/2012 - 01:55
I have a lot of experience with Tcl, none with Tk.

At any rate, I'd like to use Tk (if possible) for the front end for a
particular project. The basic gist is that I need a screen showing
various graphical "components" and I need to be able to manipulate
these components by dragging them around with the mouse to move them,

Ideas on how to identify attribute nodes in tdom?

토, 05/19/2012 - 01:55
For a small visualization of XPath matching, I'm cobbling together a
little Tcl/Tk script (which'll end up in wiki.tcl.tk, I promise :-)

The idea is to draw a tree on a canvas representing the XML tree
structure (attribute nodes and all) and tag all the nodes with their Tcl
"node address" as returned by tdom (e.g. "domNode0x1eea720").

Scripting languages for desktop apps on OS X: Why not?

토, 05/19/2012 - 01:55
I've posted a rant/strong defense about scripting languages being
suitable for desktop application development, and talk a lot about using
Tcl for app development:

[link]

Hope this is illuminating.
--
Kevin Walzer
Code by Kevin

ACTRESS RARE HOT STILLS

토, 05/19/2012 - 01:55
TOP DATING TIPS TO ENCOURAGE WOMEN FOR DATING
[link]

TOP DOT NET INTERVIEW QUESTIONS& STUDY MATERIAL
[link]

HOT LINKS FOR YOUTH ONLY
TRISHA LATEST HOT STILLS
[link]

Error: expected version number but got "8.6b2"

토, 05/19/2012 - 01:55
Message returned by catch to a 'source /usr/local/lib/tcl8.6/init.tcl '.

8.6b2 is the correct version. It creates /usr/local/lib/tcl8.6 with no
'b' in the directory name, and 'b' is a valid character in a version
number according to generic/tclPkg.c.

Okay, if I enter "source /usr/local/lib/tcl8.6/init.tcl " interactively

args not passed to .tcl script in batch file

토, 05/19/2012 - 01:55
Have tcl scripts in .bat files that expect arguments. Works fine in
XP. When run in win7, the script does not receive the values passed as
parameters.

Net: argc is 0; argv is empty.

Have taken UAC to lowest level. Have changed the properties to enable,
read, write, execute, etc.

All scripts are in c:\program files (x86)\star.

tk_getSaveFile/tk_getOpenFile on Dual Monitors and -x -y Specification

토, 05/19/2012 - 01:55
Okay, I have two questions, which are related to the tk_getSaveFile/
tk_getOpenFile. When I am using dual monitors and I bring up the
tk_getSaveFile/tk_getOpenFile through the Wish console from the
secondary monitor, the tk_getSaveFile/tk_getOpenFile dialog comes up
on my primary monitor. I am specifying the -parent argument as "."

Another Newbie question

화, 05/15/2012 - 14:37
Hi again,
Thanks to Eugene for the help in formatting numbers. Now I have another
question....
I have a simple form that contains a text box. I am using the GPIB-Tcl
library to read values from an instrument. My first iteration was to just
read one value from the instrument thus:

set value [eval {gpib read}]

Newbie number format question

화, 05/15/2012 - 14:37
Hi gang,
I'm dividing one number by another and want the result to have one and
only one place after the decimal. I am currently using 'double(x)' for my
numbers but am gtting many places after the decimal. Any thoughts?

Thnaks!

menu font on Windows XP

화, 05/15/2012 - 14:37
Hi.

Can anyone explain to me the result of this script (tcl/tk 8.5/8.6
on Windows XP):
---
menu .a
puts [.a configure -font]
---
It prints:
-font font Font TkMenuFont {Tahoma 8}

Why current font value is {Tahoma 8}, not TkMenuFont?

WBR, Yaroslav Schekin.

fileevent on socket timeout

화, 05/15/2012 - 14:37
I'd be grateful if someone could clarify the behaviour I appear to be seeing...

I need to open a socket on a machine which may or may not be behind a packet filter. I therefore open with the -async flag to the socket command. I then set up a fileevent waiting for the socket to become readable. When it does I do a [gets] (unless it's [eof]). Fine.

suggestion

화, 05/15/2012 - 14:37
Would it be a good idea if [string is double -strict] returned
0 for an argument of Inf, rather than 1, which is now the case?

--
*********** To reply by e-mail, make w single in address **************