- أَهْﻻً وَ سَهْﻻً
09 Nov 2007 — got lost. If you look, you see that [Michael Schlenker]'s content was truncated part way through...
[tb] أَهْﻻً وَ سَهْﻻً - I see arabic even in the editor with Mozilla 5.0
- **
09 Mar 2012 — built up the habit of simply using extra parens to force the evaluation order I wanted, even if that order was the default to begin with. Getting burned more than a few
- .NET
30 Sep 2010 — could be ported to use the framework instead of the OS API. This would gain us even more interoperability (although we already have that through [COM], as cooperation with [COM] is built
- /
12 Aug 2010 — 0, since the result is always a [double].
----
[AMG]: In [Tcl], integer division always rounds down, even in the face of negative numbers.
======
expr { 20 / 6} ;# 3
expr { 20 / -6} ;# -4
expr
- 1% the code
20 Dec 2005 — with the result: that complex applications require millions of lines of code.
And that's not even counting the operating system required."
Read this for more:
http://www.colorforth.com/1percent.html
- 1liners
16 Jan 2012 — counter throughout entire file):
perl -w0777ne 'print scalar @{[/(\w+)/g]}' textfile
Many languages do allow this (even lisp)
I fail to see why above example with its '''42''' procedure helps with one
- 1S
14 Jan 2012 — net/],
or Mapx [http://geospatialmethods.org/mapx/]. (In fact, I've written
bindings for both, and even a simple '''.djvu'''-viewer in [Tcl]; yet to
be published for the wide audience.)
To
- 2D Coordinate Transformations
07 Jan 2012 — for instance,
[Affine transforms on a canvas], and [Code to performs 2D graphics transforms]. There are even some 3D versions out there.
I am in the process of cleaning up some code
- 3D polyhedra with simple tk canvas
30 Jul 2011 — possible competition).
Quake and Pov-Ray are all very powerful. But so complicated. And don't even talk about the rest.
But you've got useful 3D, in a script language, on
- 7-segment ASCII graphics
28 Feb 2005 — make a little obfuscated puzzler, but the result is really not that much shorter, and not even as obfuscated as I had hoped. Ah well ;) It just replaces the "array set" construct
- 32-bit integer overflow
18 Dec 2011 — the same 32-bit behavior that they did before. It should also not break existing extensions, even those that reach into the internal representation; the worst that it will cause is to
- 64-bit computing
14 Jan 2012 — DKF] says his concern is with binary compatibility.
[LV]: And this change is '''SO''' incompatible that even at the move from 8.4 to 8.5 we can't make it? 64
- 1993 Tcl/Tk Workshop
25 Jan 2012 — extension development came to that first workshop and participated in wide-ranging and provocative discussions.
Amazingly, even at this first workshop, I remember we discussed objects, debuggers, and IDEs.
We also discussed
- \u001a is an end-of-file character in scripts
01 Jul 2008 — would be better to make the handling consistent on all platforms.
Moreover, there is a use, even on non-Windows platforms, for a logical end-of-file. [Starkit], for instance, uses the
- A brief introduction to closures and continuations for event-based programming
26 Aug 2008 — Closures make the use of CPS somewhat easier to bear;
# * Call-with-current-continuation makes this even simpler;
# * Adding support for real closures (that capture arrays and variable
# traces) would be really
- A calendar Widget
07 May 2009 — should be OK (?) Cheers
[MAK]: Not exactly. What I meant in the original statement was that, even if you configure a button with -relief flat, under Aqua it still shows up as
- A Case for Accessor Functions
21 Dec 2011 — as applied to core types such as ''list'' would be dictated by the ''TCT''. It could even raise an error. The programmer can however override this default interpretation if desired. The above
- A Case for OO in the core
11 Oct 2011 — in the core" about 10,000,000 to 1''
----
None of the above are included or even distributed with the core.
Since the TCT are the sponsors of tip257, they would have
- A change-sensitive text widget
17 Jan 2012 — to simulate saving the data and note how it becomes disabled. Also notice how this works even if you cut or paste data into the widget.
======
frame .toolbar
pack .toolbar -side top
- A Coroutine-Enabled Interactive Command Line
16 Feb 2011 — you can still click on the Tk button and it will
still print to the console even while the fetch is still in progress:
======
% set t [fetch http://wiki.tcl.tk/4
- A critical mindset about policy
22 Oct 2002 — API that gets used everywhere. This makes the C code smaller, simpler, and sometimes even faster. Note that even pure-Tcl implementations become simpler: only simple bits of C need to be
- A crossword game
09 Jul 2011 — tiles. The rest you have to do
yourself, like judge whether a word is valid, and even compute the
scores. Tiles are "stacked" at top left corner, and can be drawn from
- a debugger with syntax highlighting using ctext
25 Jan 2008 — at it closer now that I'm more awake, the problem is not with the toplevel. Even with the whole toplevel visible, the text widget appears to be larger than the area
- A few of your favorite things
29 Jun 2010 — it in and you have made your application a million times more interesting to users possessing even a shred of hackerism. And by the way, I did not know about [[edit]], described
- A generic collection traversal interface
23 Feb 2011 — encapsulates the traversal, and so can take care of allocating and releasing any needed resources properly, even in the presence of exceptions;
* Writing an enumeration function is generally easier than writing a
- A higher-level channel API
02 May 2012 — the
# body in the caller's scope. Once the body has completed the channel
# is closed (even in the case of error).
#
proc with {chan varName body} {
upvar 1 $varName var
set
- A Hypertext Help System
22 May 2011 — the previous version:
* Table of Content
* Bullets
* Multiple levels of indentation
-- like this
-- ''and this''
--- '''and even this'''
* Aliases
-- So this link [Welcome to the Help System]
-- is the same as this
- A lightweight digraph package
11 Nov 2008 — plans for a group of [agent]s embodied in a
virtual environment. As I haven't even got a working phone line in the new house,
I had no access to the
- A little backtracking Prolog interpreter
18 Oct 2010 — each candidate clause before
attempting unification, to ensure that variables in distinct clause instances are
distinct, even if they have the same name. Otherwise, some solutions will be missed
due to variable
- A little checker game
17 Jan 2012 — set color [expr {1-$color}]
}
set color [expr {1-$color}]
}
======
----
In C/Motif, I'd not even have thought of writing something like this..
With Tcl, I come home after a real
- A little client-server example
27 May 2010 — Win XP - the server starts up and waits, but clients get an EOF before they can even send something. Does anyone have an idea what could lead to this changed behavior?
[MS
- A Little Clipboard Daemon
17 Oct 2009 — server" may be an exaggeration, but extending this code
# would be a simple task. One could even transmit the clipboard content
# over a network or sockets, if one can find an actual
- a little code page browser
15 Nov 2008 — n" || $c == "\t"} { set c " " }
$w insert end "$c"
}
$w insert end \n
}
}
I noticed that even though fonts report fixedwidth, only a few of the encodings for each are 100% fixedwidth
- A little multiplication toy
24 Jan 2011 — th NeXT computer, knowing of course from 1978 onwards how I ''could'' program such a thing, even in assembly if I'd want to.
Many programmers and programming methods exhibit or breed
- A little rain forecaster
27 Jul 2008 — s [TclWeather]. Good. -[jcw]''
[MPJ]: I have been using [TclWeather] for a couple of months now (even works behind a proxy). You may also want to see his stock ticker, [TclStock], application
- A little slide-rule
13 May 2012 — a value. Fine movements with <Left>/<Right>.
Due to rounding errors (integer pixels), this plaything is even less precise than a
physical slide rule was, but maybe you still enjoy the memories
- A little spellchecker
17 Jan 2012 — bar bottom can case center come context
character computer content control current database effect element
error even event example first font forget format friend
get give global handler height her image information
- A little tcl.js console
17 Mar 2011 — down the window. Use <Down> to clear the entry.
Known bug: some commands are not echoed, even though their result is. I'm not sure why, seems like it has to do
- A little XML browser
09 Mar 2011 — the limits of a tcl-coded meta widget.
I could think of ways around this limit - even ways without C code -
but they would be all definitely not the short code pieces
- A Look at the Tcl Test Suite with gcov
27 Apr 2005 — lines of code are not called at all. This may help to find additional tests (or even to detect dead code).
See the 'gcov' man page for a few more output options
- A matrix gadget
13 May 2012 — s object" - it has a clear, friendly API, but doesn't require an OO system, not even namespaces. Sort of like widgets in Tk. One might also call a gadget a value
- A minimal debugger
23 Oct 2011 — good use of it debugging our app where a Tcl interpreter is embedded.
----
See also [An error experiment] with an even minimaller debugger...
<<categories>> Debugging | Arts and crafts of Tcl-Tk programming
- A minimal editor explained
26 Jul 2011 — saveText .t [tk_getSaveFile]}
======
These dialogs can also be configured in a number of ways, but even in this simple form they are quite powerful - allow navigation around the file system, etc
- A Minimal Hypertext Help System
21 Jul 2011 — see
# the uniquely named sections when the links are clicked
# (anybody who can make this one even simpler than it is, please let me know):
proc getlinks {} {
# Find beginnings and ends of
- A Money Package
30 Nov 2011 — choose when and with what method you do your rounding. e.g by using cents or even some fraction of a cent as your basic unit for calculation and storage.
Other languages
- A needlemeter widget: type 1
05 Jul 2011 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- A parser's monolog
18 Jul 2008 — to explain me how Tcl parses two expressions presented above (set a variations) ?''
Certainly, and I even add
set a(b) [glob a*b] ;#(3)
A PARSER'S MONOLOG
(1) "Aha, I
- A poor man's grid computing
11 Feb 2008 — computer, you
use a whole (variable) set of computers to do the work. They do not even need to be on the same
location, sharing disks and so on.
The application consists
- A question of style
27 Jan 2012 — s on own risk. But still,
if $done break
looks better to me, and is legal, even if against the style rules ;-)
'''LH:''' I think, for my needs, the more "style-correct
- A Quick Demo of Enter and Leave Event Bindings
14 Jan 2012 — 4}
$widget create text 40 10 -tag Title }
start .c
======
----
This example is nearly equivalent, but even shorter,
albeit at the expense of being less general,
and binding to compound inline commands
- A Radio Recorder
25 Dec 2010 — 4 with an iMic USB line-in device), I'm finding that snack dies when running even the simplest script on this page (specifically, it generates a 'bus error' and drops me
- A real problem
13 May 2012 — inequality even if the string representations are the same, as Christian Heide Damm pointed out in news:comp.lang.tcl :
''Sometimes tcl says that two numbers are not the same, even when
- A regexp twist
23 May 2012 — txt $beg $start $vn($var)]
set start [expr $start - [string length $var] + [string length $vn($var)]]
}
Even while writing I thought that '''it ought to have been possible to do it with
- A scrolled frame
27 Jan 2012 — BWidgets has a scrollableframe widget to fill this gap left by tcl/tk (even as new as 8.6). Tk demo suggested to embed widgets into the scrollable [text] widget. In case
- A simple Arabic renderer
08 Mar 2006 — uc:arabchar2glyph [buckwalter2uc $args] $convertdigits]
if $ligatures {set res [ar:ligatures $res]}
set res
}
... and an even briefer wrapper around that wrapper:
proc ar args {eval arblish $args}
Now you're set
- A simple database
06 Dec 2011 — model to make sure that only one thing at a time is writing - or do we even need that? [davidw] - [RS]: With only one interpreter per thread, no two threads can access
- A Simple Multi-File Starkit Example
16 Jul 2010 — Tk app as well.
wish Hello.vfs/main.tcl
or
tclkit Hello.vfs/main.tcl
or even
tkcon Hello.vfs/main.tcl
are all equivalent to running a wrapped version
tclkit Hello
- A simple package example
10 Jul 2011 — don't
see a final newline.
If the tests do not run into an error either, even the required
construction of a ''package index'' is fired - assuming the simplified
case that the
- A simple version of Eliza
14 Sep 2009 — Arjen Markus] The program "Eliza" is famous as an example of ''artificial intelligence'', even though there is nothing particularly intelligent about the program itself.
The idea is brilliant: the program can be
- A tachometer-like widget: type 1
05 Jul 2011 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- A toy piano
20 Jun 2007 — scalable design of a piano keyboard
[AMG]: This piano isn't well-tempered, it's even-tempered.
Even temperament is nice because it allows you to play in any key without retuning
- a triangle puzzle
14 Jan 2012 — of triangles in this type of figure is an old puzzle. Finding a general formula is even trickier.
This little program is a visualization of this problem. I found it while cleaning
- A User's Guide to Tcl/Tk
13 Jul 2011 — The [option database] is both powerful (letting users define appearance schemes for applications, whole desktops, or even just a particular window or widget of an application) and fundamentally annoying (CDE, for example
- A versioning virtual filesystem
18 Jul 2011 — exists without any project tags, it will be treated as the default, and
# will be visible even if tags are specified in $project($root), if no other version has matching tags.
#
# -time
- A vertical-tab notebook
29 Jun 2007 — set ...''' be indented and
part of the code?
[RS]: Technically, it is part of the code even if not indented - as well as the if 0 {...} construct. I like the line formatting
- A voltmeter-like widget: type 1
05 Jul 2011 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- A Webcam setup with tcl scripts
24 Jan 2011 — is made which can be viewed from a mobile phone, which I tried, and in fact even 10 seconds of a TV channel can be made viewable that way.
[TV] Mar 26
- A weekend experiment with a Tk GUI for gdb
04 Oct 2010 — command to start the program.
The script below is far from complete and I would not even claim it to be useful, but it was a nice experiment anyway.
(BTW, I was
- A-star
04 Jul 2011 — is done usign [Itcl], maybe there is someone who could get it done with [TclOO] or even [pure-Tcl]. It would be nice. Since [Itcl] is enough for me I don't
- About Tcl and popularity
07 Dec 2006 — weak, because even more than other unpopular-ish languages like Lisp, it irks people on a ''syntactic'' level. People think of "programming" as typed, with a separate syntax and semantics. Even Lisp
- About this site
29 Apr 2012 — to launch a new process, and the machine performed amazingly well. Nowadays, most accesses don't even get this far because there is a static page cache for all pages. This was
- Abstract Data Types
21 Dec 2011 — to things supported by Tcl_Obj are command wrappers. Several significant entities in Tcl aren't even represented by Tcl_Obj (e.g. open files) and several of the significant entities which
- Accessing Tcl and Python from one another
14 Jul 2011 — a starkit.
[jcw] - IOW, starkits and tclkit as "vehicle" for deploying and launching other language systems, even if that other systems happens to be the main language for that particular developer audience
- accumulate and collect
28 Jan 2010 — alias {} : {} collect
set foo [List {
: a
: b
: c
: $argv
: [glob *]
: [List { #nested!
: 1
: 2
: 3
# and even plays well with [list]:
: [list x y z]
}]
}]
I love it!
**Implementation**
So, without further
- Accumulator Generator
24 Feb 2010 — closure is stored in a namespace which, like procs, is a global thing. We can't even use an interp because the interp will have to be named and that name is
- Accumulator Generators
22 Jan 2012 — you believe your suggestion is valid, why not ask for a clarification from Paul? It's even possible to check if a procedure exists, before creating it... ''[Todd Coram] - I had a
- ACID
23 Nov 2009 — or we could make religious
jokes. :^)
'''[DGP]''': That's not really a good definition of Consistent, even informally. Better might be: "you can't $#^$&^ it up." Important
thing is that invalid transactions
- Acronym collection
25 Feb 2012 — Mileage ''Will'' Vary.
* '''zzz''' - Can represent sleeping (''stacking Z's''), particularly in the chat room. Can be various casings and even 2 z's instead of 3. See [emoticons] .
<<categories>> Acronym | TOC
- Actions
19 Sep 2008 — a "-state" option, but even that restriction doesn't necessarily
need to be there.
I also find it useful to use actions as an API for the GUI. Even without actions tied
- ActiveState
14 May 2008 — cases, the extension moved from cvs to subversion. In other cases, the cvs head may not even build (perhaps, for instance, the developer is working on new features, etc.) Locate the project
- ActiveState of Tcl 2008
23 Oct 2008 — resolution control)
* [namespace upvar] (namespace variable resolution efficiency)
* Completely revamped [clock] command; no more Y2038 issues (even on 32-bit systems)
* Resource limiting with [interp limit] command
* Improved background error handling with
- Adam
06 Jan 2012 — 09/1996
Contact: mailto:ADAM.Support@cern.ch
===
''[escargo] 27 Mar 2003'' - This link was dead. Even the host wwwcn.cern.ch was not
available.
----
===none
What: '''Adam'''
Where: ftp://ftp.media
- add
05 May 2008 — TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
# DAMAGE.
#
#####################################################################
proc add { a b } \
{
set sum [ expr
- Adding a hashed datatype
30 Jan 2004 — creation from an odd-even list is over 25x faster than for arrays
* full traversal takes the same amount of time for both
* full traversal of the odd-even list is obviously
- Adding Points to gnocl::canvas Line Items
05 Jul 2009 — the way to do things might not be too apparent at first glance. Take adding or even deleting points from a polyline item. Here's a simple code example to show how
- Adding User Data to Widgets the Megawidget Way
17 Jun 2011 — you also add the cleanup code, error message fixing code, etc, it's going to become even more impenetrable (and perhaps slow?). That's when one has to think about a providing
- Additional file commands
27 Jun 2006 — such as append to the end, replace the contents and so on.
The minimal procedure can even be shorter:
proc readfile filename {
read [open $filename]
}
as by default [read] consumes whatever is
- Additional list functions
30 Apr 2012 — unique elements. -- AK: Provided by some extensions. [Lars H]: How is this different from [[lsort -unique]]?
* Even better - provide list sorting capability equal or greater than Unix sort- -- '''NEW'''. AK: This will
- Additional math functions
05 Aug 2008 — Transform]
* [Multivariate Linear Regression]
----
I see a factorial function on 3-4 different pages -some not even about
math. And yet none in the tcllib math library. Perhaps one should be
submitted
- Additional string functions
17 Jan 2012 — 03/18]]'' notes the above string:common has a bug and never returns on identical strings. Even when fixed it does O(n^2) comparisons
''[BBH] [[2004/05/13]]'' - This got me
- Advanced Optimisation - TestCase 3d polyhedra
22 Sep 2005 — use) return.
I advocate using ''set x'' rather than ''return $x'' just to reinforce the practice even though there is no longer any performance penalty for the latter.
1. '''select ... case x
- Advantages and disadvantages of different Tcl versions
03 Feb 2005 — code from moving
forward from 8.1 to later releases, so 8.1 is not recommended
even for backward compatibility requirements.
----
8.2
----
8.3 includes ''many'' small but vital improvements [http
- Advantages and Disadvantages of OOP
22 Aug 2011 — true, as any OOP have syntax to create objects or do special things, Tcl doesn't even have that, every statement is a command, and all command play by the same rules
- Advantages of Tcl over Lisp
27 Apr 2011 — as well, and using cont
<forcer>inuations, event-driven programming can be
abstracted away, which is even better than a basic foundation,
which also can be implemented easily in Scheme. ;-)
<forcer>``Years
- aes
08 Jan 2011 — integer value too large to represent'
* If you decrypt using -in, the error is still reported even if you wrap a catch around the call, apparently due to use of fileevent in
- Affine transforms on a canvas
03 Sep 2011 — simple translation at the same time. Perfect!
And if we multiply the matrices together, we can even combine these transforms (and yes, it works the obvious way with transforms being applied from
- Aifl: dynamically generated files
23 Apr 2009 — gzip and returning the output, then writing the input. (For lack of a vfs::gzip) Or even pulling information off the Internet to generate files that can easily be read in programs
- AIN
10 Jan 2012 — cheeses::fromage#0(name) =
# Let's make another cheese, overriding some of the defaults.
# We'll even add a new element to our newly created 'cheese' ain.
# Notice how elements are given
- Ajuba what!
15 May 2007 — generated, so the company name is probably substituted from a single source everywhere it is used, even in "historical" documents - a case of inadequate design? ([EMJ])
----
So, what we seem to be
- AK at the Tenth Annual Tcl/Tk Conference
27 Dec 2007 — helped me a lot for a current
project where I am using it. Actually Steve helped even before the
conference when I pestered him with questions while he was trying to
write
- AKG Wikit
15 Jul 2009 — All other lines beginning with white space are shown as is
- no highlighting, reference generating, or even text wrapping occur.
* Put four or more dashes on a line to get a horizontal
- Alex Caldwell
31 Mar 2011 — this Tcl power, I've set up a system that allows a patient to view and even update parts of his own medical record on line. I'm currently working on medical
- Algol
25 Apr 2008 — the means to hurt themselves and others to a degree that not even C could aspire to). ALGOL-68 even anticipated C with computed assignments ( a +:= 1 ). [http://en.wikipedia.org/wiki
- Almost Fortran
15 Nov 2007 — Arjen Markus] (9 november 2007) It may seem weird or even perverse to design a [Fortran]-like scripting language, but people for whom
programming is not their daily job, who write small
- Alternative Canvases
19 May 2010 — in a Scheme environment. In turn, [canvas] has inspired similar features in other graphical toolkits and even in web browsers via the <canvas> tag [http://developer.mozilla.org/en/Canvas_tutorial].
The
- alternative getopt
19 Aug 2011 — of exactly `--` will cause all remaining arguments to be treated as regular arguments, not as options, even if they start with a `-`. A `-` on its own (usually signifying that input should be
- Alternative GUI toolkits
04 Jul 2011 — of XVT, though it may be close enough to
be useful. It is freely distributable software, even though
XVT is not. It was developed with the Macintosh's MPW 3.2+ and
- AlternativeToExec
25 Jan 2012 — design-bug compatible :-)
Pro: easy to implement, and the result is safe.
Con: the syntax is even obscurer than before.
----
More Tcl'ish syntax:
Like above section, but all the somewhat cryptic
- always on top
16 Feb 2010 — run wish and type "wm attributes . -topmost 1" which will keep the wish window on top even if it does not have focus.
----
The API function needed is (see also [http://msdn
- AMG's language ideas
08 May 2011 — previous revisions.
----
Let's start by identifying things which I think every practical language needs.
* '''State'''
Even an interpreter-less language like [execline] supports state, albeit with the aid of the filesystem
- ampersand magic
15 Oct 2010 — character used on Windows for this sort of thing. I've no idea why pTk uses '~' even though to me one character is as good as another.
----
[RS] thought the TCT had
- An anomaly in case conversion
16 Nov 2007 — uppercase characters to lowercase,
or vice versa.
Tcl does this quite nicely with ''string toupper/tolower'', even with characters outside the ASCII range,
e.g. the Cyrillic alphabet.
There is however one
- An arc clock
22 Jan 2012 — reflect the actual daylight/nightime ratio. But I don't know how to even get that information. Maybe even show the dusk/dawn time period in gray? Of course for those above
- An Interactive Approach to Experimenting with Tcl
12 Jul 2010 — reloading the entire program, and all widgets and global variables are correctly setup. I don't even bother to save the changes from the editor until I'm nearly finished, and have
- An Overview of Tcl and Tk
05 May 2005 — Web browser: 2000 lines
* 10x less code for simple things.
[[the two images here won't even show up in my powerpoint window!
I really need help with figuring out what went
- Android
12 Jun 2009 — can be used to automate driving X11 based applications (by
use of the vncserver, you could even drive programs on other platforms).
It works as a sort of Expect for GUIs.
Currently
- Andy Goth
23 Feb 2012 — sorting and unsorting...
[Round Polygons]: So soft, so smooth!
[The simplest possible socket demonstration]: It's even easier than it looks.
[execline]: A language with no resident interpreter!
[AMG's language ideas
- Angles and directions
22 Jan 2012 — the order of checking -- and the precise details! --
anything might result.
I solved this problem, after even considering returning an "undefined"
value, after some discussion, to simply set the angle to pi
- Animated Kanji
17 Jul 2007 — in which to write them,
stroke by stroke. That's because the characters are easier read even
when scribbled quickly, as long as writer and reader agree on the same
stroke order
- Annotated 10 steps to success with TEA
12 Oct 2010 — environment variable to the correct compiler.
For MSVC, if the configure step cannot find the compiler even though it is
installed, then your PATH probably does not include BIN directory of
Developer
- another Asteroids
10 Oct 2011 — compared to every other Tcl arcade game I ever seen.
----
Woooh!!! It looks good and plays even better. The game controls are very responsive. Tcl/Tk?...no way...
just kidding. This is
- Another dials widget
18 Nov 2010 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Another Font Chooser Dialog
31 Jul 2011 — though I suspect that's something that stems from Tile, as opposed to this code specifically.)
Even without those features, this is very nice. Thanks for sharing it, Keith :) Now I just
- Another simple database
15 Nov 2009 — you use namespace variables (like ::db::row - not "variable row"), you should be able to avoid even such clashes ...
----
Adding a "record" to this database is trivial:
lappend table {1234 "another Item
- Another Tcl module maker
24 Jun 2011 — nicely, as far as I can tell - the [registry] command is usable after sourcing.
One can even edit the resulting .tm file with [emacs], without damage to the embedded DLL :^)
[MJ] - Some
- Answered Questions On: Advanced Tcl
30 Oct 2004 — logically lists. This will make a difference with more complicated list items. In theory Tcl is even allowed to represent these lists differently in this very example today, e.g. as {01
- Answered Questions On: Interprocess Communication
16 Jul 2009 — command, and the [comm] package provides similar functionality via sockets that works cross-platform.
It's even easier with slave interpreters - just look at the [interp] page to find out
how to
- Answered Questions On: The Tk GUI
12 May 2012 — move the button back to x,y
It seems that step 1 isn't even being executed. Even more odd, if you remove the second '''place''', the button ''does'' get moved to
- Anyone interested in doing a comma delimited database?
21 Jun 2006 — a menu would be better, because it would go up to 11.
[Robert Abitbol] F12 would even be better! :-)
-----
See solid, excellent work by Dr Csaba Nemethi in [tablelist].
I wonder if
- AOLserver
19 Jun 2011 — it
to interface with all parts of the server environment.
It is reported that you can even embed Tcl in the HTML pages
you wish to serve, for dynamic html generation purposes
- Apache
03 Oct 2010 — NeoWebScript], [Woof!].
More information at http://www.apache.org/ and http://tcl.apache.org/ .
There is even an [AOLserver] plugin that allows it to talk with the Apache Tomcat servlet engine.
What
- apache server with tcl cgi scripts running on safe user
14 May 2012 — server proces.
Notice if you try the above link to try it out (which should work even in a few seconds when the server isn't too busy!) to include 2 extra
- APL
10 Apr 2011 — hitting it.
http://www.rexswain.com/aplinfo.html is a decent site for apl links, but even though the page appears to be actively maintained, some of the links are no good
- AppleScript
24 Jul 2008 — like. Its vocabulary appears to be made up of English imperative verbs, nouns, prepositional phrases, and even an occasional relative clause.
: Whether this English-likeness is a good thing or not is
- application
27 Jul 2011 — really call it a 1:1 mapping.
In new situations (like in research & development), chances are even less that there is one "application" that covers the specific needs. So when I need
- application server
22 Jan 2012 — components (scripts, images, libraries, etc.) are stored and managed in a database (called a framework). We even provide the user with multiple environments (production, test, and development) to try out the application
- apply
17 Apr 2011 — for the "premature optimisation": It's not so much the ''time'' for recompilation that concerns me (even though this is obviously low-hanging fruit), but rather that the object is being created
- applying the parallel port to drive a LED and read a switch from tcl
27 Jan 2012 — are over 230 in the small country of Holland)
in blue, yellow, and orange, too, and even in white and 'high brightness' version. They used to come in
3 mm or 5
- Appropriate Tcl Chatroom Discussions
24 Sep 2011 — lunch plans and tragedies) to technical (designing tkchat in real time) to nonsensical.
small group (to even one on one) chats with others in public, it drowns out the ability for people
- APWTCL (Java)
20 Apr 2012 — is about the same amount of code.
One feature I have built in is to load even all (Tcl) core commands and command ensembles on demand when needed (similar to autoloading/unknown
- APWTCL (Objective C)
23 May 2012 — LOC which is about 30% more code.
One feature I have built in is to instantiate even all (Tcl) core commands and command ensembles on demand when needed (similar to autoloading/unknown
- Arblish example
20 Mar 2003 — ya" (' is for stand-alone Hamzah, Y is for dotless ya, a.k.a. alef maqsurah), even if this is one single character U+0626 in Unicode. "Israel" would then look like
- Are there any newbie guides to the Tcl source?
22 Dec 2011 — known). I'd advise grabbing a version of the source code from early 8.5 or even 8.4 branch, as TEOVI in HEAD (8.6) is rather more complex due to
- Are there any recommendations or requirements regarding what order code appears in a Tcl program
28 Sep 2011 — are better divided up into functional areas, so code manipulating Foobars goes in one file (or even directory if there is a lot of it) and code manipulating Spongs goes somewhere else
- Are there tools which are required or would be useful when developing in Tcl
02 Mar 2010 — or [TclPro] - a set of programs which provide not only static and dynamic debugging aids, but even a way to create a single distribution file that contain all the pieces one needs
- Argument Expansion Poll Summary
15 Aug 2010 — I started out thinking backtick would be best, but after seeing some arguments for {}, including maybe even {3 end-2}$foo, the {} syntax would be the one I favour. On the other
- Argument Parsing, a discussion
03 Mar 2010 — not actually creating any worth while applications.
[Larry Smith] Even this is over-specified. Yeah, it's simpler, but "source configfile" is even
shorter. TCL is its own specification language.
Sure it
- argv
06 Jun 2008 — This means that you should not design your application to require flags of these names
or even abbreviations of these!
Otherwise, The argvinfo function in Tk grabs them before your application finds
- Arithmetics with strings
14 May 2012 — these games to reals, rationals, or even integers, is another child's play, we can of course think of more uses. For example, '''modulo''' is even simpler than division:
======
proc s% {a
- Arity corner cases in math commands
14 May 2012 — the user can select from different
behaviours, with the default being the safest.
It works well even with - and /.
[- $n {*}$l]; # Error on empty list.
[- $n 0 {*}$l]; # Returns $n on empty
- Arjen Markus
14 Feb 2011 — My interests: [FORTRAN] as a computational language, Tcl as a language for almost anything else and even a bit of numerics if I can manage it, testing techniques (although I should listen
- array
22 Oct 2010 — literal array name is no longer considered an array.
You can also use [array unset] , which even provides a way to unset a subset of the key/value members present.
***How are
- array get
24 Apr 2009 — the "wrapped form" of an array.
----
[RR] 12/29/03 It is very likely obvious to even moderately experienced Tcl'rs how to sort the return from "array get" in indexed order
- array set
14 Mar 2012 — in ''arrayName''. ''List'' must have a form like that returned by '''[array get]''', consisting of an even number of elements. Each odd-numbered element in ''list'' is treated as an element name
- Array vs. VFS
10 Jan 2006 — bar *
* info procs foo::bar::*
Or:
* file chan
* info args foo
* info loaded
* package names
Or even:
* pack slaves .foo.bar (Tk)
* mk::select db.foo bar (Metakit)
* select bar from foo
- Arrays / Hash Maps
23 Mar 2010 — lazy dogs."
% parray ary
ary(The quick brown fox) = jumped over the lazy dogs.
You can even have the name of the array with a space in, but accessing it then
takes
- Arrays as cached functions
20 Jul 2011 — features above, I conclude that this may be helpful if you have
calculations that run long even if byte-compiled, and call them
repeatedly with same arguments, so caching makes sense. Also
- Arrays of function pointers
10 Nov 2004 — names of functions, [everything is a string]). After re-reading man Tcl last night (always recommended, even after years in the business ;-), it dawned on me this morning that we don't
- ASCII
11 Mar 2011 — as the ASCII is at the core of iso8859-x encodings, Windows and Mac codepages, and even the Unicode, it's easy to extract this core for looking at the 94 printable
- ASED
06 Jan 2012 — sent him some
improvements (mainly about little bugs). But Andreas stopped answer me and (I think) even
stopped at all his work on ASED. That's the reason why I decide to
- Ask and it shall be given Discussion
02 Jan 2008 — Since they comprised about as much content as the first one, why are they being ignored? Even if they are (were) an ugly attempt at a solution, it doesn't make the
- Ask, and it shall be given # 1
16 Feb 2012 — invoking interp into child-interp?
Perhaps with interp alias? PB
- [RS]: In your case it's even easier, just substitute the variable before calling interp eval:
interp eval child [list cd $__dir
- Ask, and it shall be given # 2
16 Feb 2012 — selection and de-selection. But in my test, I can't get the ''listbox'' to fire even on selection. Something's not right. Monitoring selection and de-selection is important to my
- Ask, and it shall be given # 3
16 Feb 2012 — dba/logs/sybase_tables.log] == 0} {
...
} else {
...
}
That will do a more direct comparison.
You could even take advantage of the fact that 0 is false, and do this:
if {[file size
- Ask, and it shall be given # 4
16 Feb 2012 — the similar problem when I click on Find. The Find works only in the right window even if the cursor is on the left window!
I obviously have window geometry problems. Anyone
- Ask, and it shall be given # 5
16 Feb 2012 — running. But why???
(Note that under wish, the vwait forever at the end makes wish hang, even after you close all the windows, it remains running!)
----
[ABU] 13-mar-2007 '''Using not
- Ask, and it shall be given # 6
16 Feb 2012 — numbers rather than [round]ing them, e.g. it presents 0.9999 as 0° 59' 59" even though 1° 00' 00" is closer.
'''fmc''' (who has yet to read [Formatting Rules], it
- Ask, and it shall be given # 7
16 Feb 2012 — the item configuration, tags or the ttk::style settings where this is controlled, so can't even write code manually and bind to selection to duplicate the colouring. Does anyone know how
- Ask, and it shall be given # 8
10 May 2012 — Is it possible to have radio/checkbuttons in Tk8.5 menus that are recognizable as such even if not checked? I don't want to change much of my old 8.4
- Ask, and it shall be given # 9
09 Mar 2012 — 2011 : I think solution should be based on threads (tcl-threads or native threads). We could even get some optimized code as that ones cited, but until image-processing is synchronous (single
- Ask, and it shall be given # 10
10 May 2012 — PEP wouldn't mind the following:
===
north = 1
east = 2
south = 3
west = 4
===
and might even find it preferable to:
===
north = 1
east = 2
south = 3
west = 4
===
which has a
- Aspect Oriented Programming
22 Aug 2011 — Tcl's introspective abilities could be put to active use to help realize this exciting technique even in the absence of a core-level object system.
Discuss!
----
[RS]: From the above, I
- Aspect Support Class for TclOO
30 Aug 2010 — 3] → prints "7" after delay
======
----
[jima] Apparently the logger sample does not work for me...even with plain puts.
I have tried the following instead:
======
::oo::object create foo2
::oo::define
- Assembler
02 Jun 2006 — they can do certain kinds of ugly low-level peephole optimizations. Exactly how much varies, but even so.
Third obvious feature is that they save you from having to look up each
- AtExit handlers
21 Jan 2012 — handler for your window
if you use tk:
======
wm protocol . WM_DELETE_WINDOW exit
======
This way even if you kill your application with the help of the windowmanager, exit will be called
- Athena Widgets
15 Jan 2004 — be able to type into it.) Ugly too. Existed mainly as a proof-of-concept. Allegedly. Even [Motif] is much better.
There are many examples of Xaw (as it is commonly known
- atProcExit
15 Aug 2010 — differences are:
* no need to find a variable name that is guaranteed not to be used, even in procs that may create and manipulate variables with names coming from the user
* the
- attachment
13 Oct 2011 — smtpServer -ports $smtpPort -originator $originator
mime::finalize $token
}
======
-----
E-mail attachments constitute a surprisingly large and even
unwieldy subject. The first clarification is to distinguish
emission of e-mail with attachments, from
- Audio Webcast from the Tcl Conference
21 Sep 2007 — 3 days come in at a bit less than half a CD (314.67 MB). And even recording through the 1 hour noon-break just brings us to ca. 356 MB. Still
- Audit new Tcl repository
26 Feb 2011 — requires building and 'make dist'. And from the POV of today these old revisions may not even compile any longer due to system changes. So, we can do the compare, but interpretation
- Authentication by formula
25 Jun 2007 — secret" formula to a
random set of variable values ("challenge") and enter the result.
This way, even though challenge and response are openly transmitted,
an onlooker can not easily deduce the underlying
- autocomplete
18 Dec 2007 — this notice is included verbatim in any
# distributions.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# ------------------------------------------------------------------------
package provide autocomplete 1
- AutoIt
27 Jan 2012 — window commands (maximize, minimize, wait for, etc.) in order to automate any [Windows]-based task (or even windowed DOS tasks).
Download just the DLL at http://www.hiddensoft.com/cgi-bin/countdown
- Automata in Tcl
19 Jul 2010 — while {!$ExitFlag} \
{
$NextState
}
See, you don't need any state table at all in this case.
Even if you want a state table, you could still put the
state procedures directly into
- automatic .bak files
15 Feb 2006 — fname ${fname}.bak
}
} err ] } {
return -code error "bak($fname $levels): $err"
}
}
## ********************************************************
----
''Vince'' updated example so works even if 'fname' contains strange glob-sensitive characters
(which are hard to write in the Wiki
- Automatic differentiation
14 May 2012 — of the formula format.
Don't forget [Maxima] can also do derivations symbolically, quite powerfully, and even the reverse, which is a lot harder still, and it can be driven by tcl
- Automatic get/set methods for an itcl class
24 Aug 2007 — shows that setpower, getpower, set/getdistance and set/gettime are all methods of the class tclas2 even though the functions are not explicitly declared.
Entered by [GWM].
[GWM] an improvement places the
- automatically generating socket based Tcl / C connection code, 1
08 Dec 2011 — received.
[http:///82.171.148.176/Wiki/cframecon.jpg]
The whole process should be pretty fast, even printing included, more than up to UI speed, and all programs together should use fairly
- automatically generating socket based Tcl / C connection code, 2, using bwise
24 Jan 2011 — we have an interactive BWise canvas
with C program making and output feedback to a block.
----
Even more daring it would (and will) be to do the whole compile and resulting program
- autoproxy
15 Feb 2011 — and Norton's security software seems to default to) trap attempts to interrogate DNS, and perhaps even automatically shut down programs that do so without explicit authorization, which makes use of one
- autosetup
15 Dec 2010 — def' file.
*Note*: Every auto.def *must* have an 'options' declaration immediately after any 'use' declarations, even if it is empty. This ensures that 'configure --help' behaves correctly.
Options are declared as
- awk
25 Jun 2009 — do this, and frankly awk's abilities,
while cruder in many ways, are also simpler (simpler even than Tcl!).
----
The [BOOK Mastering Regular Expressions] covers [regular expressions] in [perl], awk, and [tcl
- Babylonian Sexagesimal Notation for Math on Clay Tablets in Console Example
08 Aug 2011 — is of interest in that it is of the form (N**2-1)/(N**2) or even (N!)/(N!+1) from 4!/4!+1. See charts 1 & 2 below. Given ~ and starting
- backup
25 Jul 2009 — Definition**
Something most people avoid, even if they know better. The practice of periodically creating a mirror of important data and storing it separate from the main storage, allowing a system to
- backup utility using rsync
11 Nov 2008 — Needless to say, it's an inherently risky business to be providing networked services as root,
even via sudo, and it's incumbent upon you, the user, to understand what you're
- Bag of algorithms
23 May 2012 — Tcl, the unit of the value returned by [clock clicks] is documented to be platform-dependent (even though the microsecond is very frequent), so it might be good to check roughly how
- Bag of Tk algorithms
07 Jan 2012 — long ago of the number of people who simply insist on fixing this the wrong way.
Even after you've explained it all to them in excruciating detail. AARRGGHH!!''
'''DKF'''
----
'''Balloon help
- Balancing Open and Close Quotes in a Gnocl Text Widget
28 Oct 2011 — so it not has to necessarily replicate all the Tk things. eventually, a third-party package, even written in pure-tcl, could implement that layer of compatibility. (although bind is nice to
- base conversion
02 Dec 2011 — my point was that counting in any particular base is like climbing a multidimensional grid (or even the geometric analogue, to a lightheaded antiquarian.) However, the [Cartesian product of a list of
- base-tcl
19 Feb 2010 — someone else wants
to update this page for the other platforms, be my guest.
----
Note that even though one gets a base-tcl or [base-tk] with [ActiveTcl]
that doesn't mean
- base64
25 Jan 2012 — a way that the result contains only printable characters and are thus able to pass unchanged even through old applications which are not 8bit-ASCII clean.
Base64 is related to [UUencode]ing
- Basic GUI Builder
15 Apr 2009 — package provide bgb 0.1
======
----
[Fabricio Rocha] 14-Apr-09 - That's an interesting concept, Arjen, even though there are no widgets to put on the window (at least I could not
- Basic in Tcl
13 May 2011 — to emulate one of the worst? It's just the thought "Everything's possible with [Tcl], even the impossible", some nostalgia (you get the kicks only if you really worked/played with
- Batteries Included
02 Mar 2010 — you're willing to take a lot of pain!) that you often can't even recognize, frequently without even a proper uninstall option. And if you're unlucky, that's still not
- BeanShell
08 Jul 2004 — would have been more natural and efficient.
e.g a multi-user shell server application, or even a single user shell system where you want the user to flip back and forth
- beginner
17 Dec 2007 — roles
that one might be consider a ''beginner''.
1. someone who has no idea how to even turn on a computer
1. someone who is ready to begin learning something about programming
- Best Practices
19 Nov 2007 — examples, one is in effect saying "I consider this code to be worthy
of emulating in even the most critical applications".
Should one code in this style all the time? I think
- Better Arrays for Tcl9
06 Feb 2008 — clearly...
[RS] Let me see if I understand you right. We start from even-elemented lists (2 is even too):
set x {}
lappend x John 123 ;# set y(John) 123
lappend x
- Better Static Package Support for Tcl9
01 Mar 2012 — What's wrong with:
======
proc ::tcl::loadStatic {package} {
uplevel #0 [list load {} $package]
}
======
That's not even backwards-incompatible!
''Volker'' - I didn't know about that one. Nevertheless, what I wanted is
- Beveled lines
27 Dec 2007 — c1 c2 c3 width args } {
if {[llength $args] < 4
|| [llength $args]%2} {
error "Must be an even number of coordinates, four or greater"
}
set x1 [lindex $args 0]
set y1 [lindex $args
- bidi rendering
11 May 2011 — the rendering software to restore the habitual direction.
Tk has no bidi facilities yet, so Unicodes even if from r2l systems must come naively left-to-right if they are to appear
- bifurcation
09 Aug 2011 — functional programming. Recursion is ''the'' fundamental concept in
functional programming (in the purer installations it is even the only
way to handle iteration), but recursively heavy algorithms are usually
not a good
- big wish
14 Nov 2008 — of [Tk] that could be [[package require]]d was Tk 8.4.0 (released
in 2002). Even with Tk 8.4, the result of a [[package require Tk]]
in [tclsh] is not
- Binary image compression challenge
13 Dec 2011 — solid color are likely to result in runs that are much longer than a scan line, even though the other color is present in the same row and column.
The sky in
- Binary image compression challenge - Lars's entry
28 Jul 2008 — a bit-compact manner. The first part is a minor variation on code in [HashLife]; I even used the exact same '''find''' procedure:
======
proc find {nw ne sw se} {
variable hash
set
- Binary image compression challenge - mig's Entry
15 Sep 2004 — second difference is expected to produce more zeros, and hence (maybe?) a file that compresses better even though it has the same length as Jeff's.
----
'''Results'''
* courier12.dif: 2163b (courier12.dif
- binary scan
14 Oct 2011 — someone reading one bit and then 100kB of
32-bit words, all offset by one bit, even though this is a vanishingly
rare case."
Feel free to visit
[https://sourceforge.net/tracker
- bind
23 Oct 2010 — e.g. Notepad) using Ctrl-V - you'll discover that the copy didn't happen, but even though Caps Lock is still on, Notepad will quite happily obey the paste request (by
- binding
27 Jul 2011 — s, and, in specialized extensions, to reception of data from data managers,
[COM events], ...
There are even occasions when one speaks of binding, for example, a "physical" manifestation of color to a
- Bindings and why they are important
19 Oct 2011 — info body] commands to then introspect on these pre-defined procedures. <<br>><<br>>
: Of course, an even easier way to examine all of the built-in bindings is to browse through the
- bindlife
21 Jan 2011 — call that
crated the local variable returns, the variable go away. What about to
do it even for procedures? This allows to implement a version of [lambda]
that is garbage collected in
- biotext: A new Tk widget dedicated to bioinformatics
22 Jul 2010 — the investment of writing a new Tk widget. It should allow 1) fast and fluid scrolling even with large alignment, 2) mapping of residues according to a map given by the user
- bisque
13 Nov 2008 — those who still like it (as I do), this works well:
tk_setPalette background bisque
[KBK] Even briefer:
tk_bisque
The "bisque is beautiful" slogan first appeared on a T-shirt [http
- Block Cipher Modes
21 Dec 2005 — are independant.
In this mode an opponent can change the order of the ciphertext blocks or even remove them,
replay them without causing failure of decryption.
This mode is to be used
- Block-local variables
01 Dec 2008 — variables - inspired by reading on
Scheme's ''let'' construct. I preferred the name ''with'' which sounded
even more commonsense to me.
Tcl variables are either global, or local to a procedure. You
- BLT
29 Feb 2012 — Y axis tick labels.
* [BLT - graph - Waveform Viewer] shows that the graph widget can be fast even with Big data sets.
* [BLT - graph - printing postscript] and [BLT - graph - printing from Windows] discusses
- BLT - graph - Waveform Viewer
13 Aug 2010 — the graph widget can even be used for excessive amounts of data:
#!/usr/bin/wish
package require BLT
namespace import ::blt::vector
namespace import ::blt::graph
# create a graph widget and show
- Blue Line - spam filter
02 May 2011 — Before it had a spam value of 50. And afterwards the spam value didn't change, even if the rule interests with the spam value of 20 should match. Was is going
- BMP
05 Nov 2011 — per pixel color lookup table. BMP does support simple RLE compression, but that is increasingly uncommon, even in images that would benefit from it.
Since [Windows Vista], BMP files may also make
- BNF for Tcl
17 Apr 2011 — non-trivial syntaxes like:
button .b -text "foo bar" -command {puts boo}
Worse still, you can even imagine Tcl scripts that contain fragments from some other language (e.g. (most?) database extensions
- Boas Práticas
19 Nov 2007 — examples, one is in effect saying "I consider this code to be worthy of emulating in even the most critical applications".
Should one code in this style all the time? I think
- Bob Clark
05 Jul 2007 — about not knowing any of the above properly, nor Java, Perl, Python, Ruby, Scheme, C#, .Net... even slightly, yet. Always happy to be paid to learn though :)
Claiming one minuscule right to
- boilerplate
16 Dec 2006 — useful to add at the appropriate
spot within an application that is going to use Tk, even if you expect yourself
to be using the application with [wish]. In that way, someone
- BOOK About Face
29 Jul 2011 — anyone who must develop a UI, even if you aren't the one designing it. It is easy to read, and chock-full of wisdom.
Even though, as DKF suggests, the book
- BOOK Beginning Linux Programming
19 Apr 2011 — to see them publish books on intro to [lua] programming
and tivo programming, so I thought that perhaps they might even have a
book just on Tcl programming. Apparently not.
<<categories>>Book
- BOOK Best of The Tcl'ers Wiki
19 Mar 2011 — of the book, and might even sue people who reuse contents of this Wiki. (I think it happened to Wolfram's MathWorld). So for the time being, even if we found a
- BOOK Effective Tcl - Writing Better Programs in Tcl and Tk
21 Apr 2011 — someone wanting to develop excellent skills as
a Tcl programmer will want to learn.
----
Or maybe even first; in [the comp.lang.tcl newsgroup], SH writes,
"Effective Tcl/Tk is an outstanding
- BOOK Exploring Expect
04 Dec 2009 — the examples come with the Expect distribution and they've all
been kept up to date.)
Even if you're not interested in Expect, the book is a landmark
because it talks
- BOOK Programming Language Examples Alike Cookbook
18 Jan 2012 — t updated very often. The CVS page is here: [http://pleac.cvs.sourceforge.net/pleac/pleac/]. Even that can be out of date.
[Peter Lewerin] I started the Tcl version, and I
- BOOK Programming Linux Games
21 Apr 2009 — The core is done by SDL and the scripting -- the game logic, in Tcl.
What's even cooler is that the author made the book available online for free, so enjoy and
- BOOK Software Testing Techniques
29 Jul 2005 — Arjen Markus] This classical, even seminal book on testing techniques concentrates on the whitebox approach. A heavy volume stuffed with details, but a must for any one who takes the job seriously
- BOOK Tcl and the Tk Toolkit
11 Dec 2009 — JO]'s book is written is one of the best technical books I have ever read even when compared to the wealth of books written by a myriad of perl authors. I
- BOOK Tcl and the Tk Toolkit (2nd Edition)
15 Mar 2010 — command is typed in tclsh). AFAIK, `{expand}` was officialy substituted by [{*}] in Tcl 8.5, but even after replacing it I could not get the example to work. Actually, I tried to
- BOOK Tcl and Tk Programming for the Absolute Beginner
22 Mar 2009 — apparently is a way to order this book.
----
[ro] -- Great to see another Tcl/Tk book! Even if it's not perfect, at least it's in print.
[RLH] I have it
- BOOK Tcl/Tk Multimedia Cyber Classroom
18 Apr 2011 — Windows 98, Windows NT, and Solaris.
''Book doesn't exist. Not at Amazon, not elsewhere - not even at Prentice Hall!''
[lexfiend] It's actually part of [BOOK The Complete TCL/TK Training
- BOOK: Mastering Perl/Tk
23 Sep 2006 — This book, nominally on [Perl/Tk], is good enough and deep enough that I've heard even [Tkinter]
practitioners mention it as a help! UnixReview ran a review
[http://www.unixreview.com
- BOOK: Tcl/Tk: A Developer's Guide
25 Jun 2007 — to provide adequate information to teach a traditionally trained programmer
how to write good [GUI] applications, even if they had no previous GUI
development experience? No--no programming book does that. There
- Boolean Logic
11 Nov 2011 — I'm electrical engineer, did my digital logic courses, and even advaced formal logic course, and am excellent digital designer, and even intimately enough know where the thinking comes from in theoretical
- BOOP
07 Oct 2011 — library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser
- Brace your expr-essions
02 Mar 2012 — numeric -> string -> numeric, you can lose precision, your
expressions will be much slower, and you can even have security
problems:
# don't run
set x { [format C:\] }
# the following line would execute
- Brace-level pretty printer
17 Feb 2010 — in the
original source file (as procedures can be created "on the fly" there may not even be a source file
with exactly that line ...). You can modify the script below to
- BraceStarBrace
23 Oct 2009 — to Tcl!)
* If it looks like an eye, why not just the '''eye''' operator? It can even be nicely explained then: "The eye operator is for looking into the next argument." (KD
- Braintwisters
08 Jul 2011 — X => foo bar
X- foo
X => bar
======
No error checking yet, so X+ appends to end even if name was there already. In X-, lreplacing with -1 (if name is not in
- Braitenberg Vehicles
04 Jul 2011 — However, when these machines are placed into an environment, they can exhibit surprisingly complex behaviour (Braitenberg even characterised these as "Love" and "Hate" and other emotions).
The interest in this from an
- Broken Link Report
23 Apr 2012 — down the correct URL, especially in cases where it's just a spelling mistake. This could even be monthly, as, after the initial run, its main purpose would be to turn up
- Brute force meets Goedel
01 Oct 2011 — stack-oriented like [Forth], each operation
being one byte (ASCII char) wide, so we don't even need
whitespace in between. Arguments are pushed on the stack, and the result
of the
- Bryan
24 Jul 2001 — t have a feel for stereotypical American western movies, you probably won't get that joke. Even if you get it, you probably won't think it's funny.
But I do
- Bryan Oakley
01 Dec 2010 — focus and the fact that I found it hard to find the time to write articles even when I was a full time tcl/tk programmer.
[Bryan Oakley]: tclscripting.com was shut
- Build Your First Starkit
27 Oct 2010 — Through the magic of VFS, a starkit contains an entire directory structure, including scripts, libraries, and even data files.
The trick is to set up a structure which works in unpacked form
- Building Tcl DLL's for Windows
03 Jun 2009 — declspec(dllexport) was supposed to make it unnecessary ]]
----
Dana Robinson: You can use either. You can even have some functions declared as __declspec(dllexport) and other ones specified in a .def file
- Building Tcl with the free VC++ toolkit
17 Apr 2011 — would now be quite feasible to create a Tcl script which does all of the above (even fetches things not yet present, if you really want to push it). This would make
- Building User Interfaces with Tcl and Tk
27 Oct 2005 — Management
* Widgets don't control their own positions and sizes: '''geometry managers''' do.
* Widgets don't even appear on the screen until managed by a geometry manager.
* Geometry manager = algorithm for arranging
- Built-in VFS
24 Aug 2011 — looks like the native filesystem at all (for a very, very minimal, embedded system, it could even be a very hard-coded thing which just knows about the native encoding and init
- button
23 Oct 2010 — relief flat}
Then all buttons of your app (even the Tk error dialog ;-) will have pop-up behavior. ([RS])
[MG] It's actually even easier than that, now (in Tk 8.4
- BWidget
22 Mar 2012 — windows (and MacOS) widgets.
We discussed on that and this approach seams not to be possible. Even a simple ttk::frame may contain a structured bitmap surface which may not be emulated
- BWidget example: Drag and Drop Demo
04 Nov 2009 — demo program shows how to enable it,using DragSite::register and DragSite::include commands.I thought even the button widget could be dragged.How to do a feature request?
----
'''[LVwikignome] - 2009-11
- BWidget::write
14 Jul 2010 — invalid command name "DynamicHelp::use'''...
It seems that some code is missing in the generated file. Even specifying -helptext for ComboBox doesn't change anything.
More bizarre, if I execute the BWidget
- bwise
24 Jan 2011 — block set is the main target here.
'''Bwise is a package''' written completely in tcl/tk, even is pretty basic for the major part, '''to make graphs with blocks and compose programs
- Bwise - a graphical programming setup
24 Jan 2011 — m aware of the value of making a schematical diagram
of some circuit or computer or even of a program
(often less effective than a nassi-schneider diagram
as every freshman in
- bwise applications and examples
24 Jan 2011 — here, or simply put in the tcl code which is needed directy.
In principle, one could even call another bwise network activity, which is rather intricate without clear rules, though.
Say we
- Bwise Applications and Examples II
29 May 2008 — bwise applications and examples] because that page came up completely
empty when I tried it, not even with edit controls, why I don't know, all others seem to work. When the
- BWise block coordinate extraction
24 Jan 2011 — type.
It is usually harmless to add more tags, for whatever reason, the block create functions even have an option for this, for instance to group blocks.
'' Adding a tag to the
- Bwise block of the month
24 Jan 2011 — and procs required)
this is a mathematically correct waveform, without use of expr or libc or even doubles until the very last rounding step in the computations, so suitable for numerically 'dificult
- Bwise defining itself as Bwise blocks
28 May 2008 — graph even starting to do what
the title suggest for time to come, I'm sure, unless somebody feels called to
do a job... The idea, which is important enough to even
- Bwise version 0.34, all in one file, 8.4 compatible
23 Nov 2008 — version also on windows 3.1...
No extra files are needed, no libraries not packages, not even tcllib, it should run straight as it is, me thinks after just sort of an
- bytecode dissasembly and/or examination
16 Nov 2007 — tcl] posting.
[Tcl 8.5] now has the [tcl::unsupported::disassemble] command, which is available in even non-symbols builds of Tcl and which generates output in a much more useful way
- C compiled image processing on an interactive Bwise canvas
24 Jan 2011 — of adding a -mno-cygwin flag to the compile command.
Then all runs smooth and well (even pretty fast) again.
I also changed a loop condition in the C program to let
- C Image Processing
20 Apr 2010 — specify neighboring images from a tiled mosaic, so that individual image tiles can be seamlessly reassembled even after processing.
I split the code into two separate packages. One does all the image
- C struct is Tcl!
22 Mar 2012 — lindex $list 0]
set list [concat [lrange $list 1 end] [list $first]
set first
}
======
'''Lars H''': Even better would be
======
proc cycle listName {
upvar 1 $listName list
set first [lindex $list 0
- C++/Tcl
15 Dec 2010 — couple other dependencies. - [RS]: Scott, that dependency on Boost from http://www.boost.com/ is documented even on this page :^)
[snichols] Thanks for the info on Boost. I'll try including the
- C-like structs and file scope
04 Feb 2012 — some of this work to the C level to more tighly integrate it with the
core.
Even though the syntax presented here is decidedly "un-tclish" in some
respect, in practice the
- C-like syntax for numbers
07 Feb 2007 — 2
return $x
}
puts [test]
Another feature is that the variables actually exists in local scope even though their associated commands exists in global scope. This means that the variables can be
- CAD software history
23 Feb 2012 — draw on the computer's monitor. It is a tribute to Ivan Sutherland's ingenuity that even in 2004, when operations which took hours on 1960s computer technology can be executed in
- caesar
10 Dec 2002 — be even faster if map generation was factored out.
rmax: ... or maps would be cached.
rmax: And for robustness the first line should read
set n [expr {$n % 26}] ;# or even (after
- Calling Maxima from Tcl
08 Sep 2006 — to
be various return kinds, and it could be data can be multi line and maybe even intra-line split up in seperate return
packets.
The below is a first very prototypical
- Can You Read This?
12 Aug 2005 — nby Keith Vetter\nDecember 2004\n\n"
set txt "Folklore says that you can understand text even if all\n"
append txt "the letters in the words are mixed up provided that
- Cantcl
09 Jan 2009 — John@there.com
Subject: something
this is a nice simple way of writing name/value pairs, even including a way of writing long
values (with a leading tab on follow on lines
- CANTCL URL interface
12 Apr 2005 — a cantcl:/ new volume, and perhaps do things like ''glob -dir cantcl:/newpackages *'' -- this code could even transparently ''send'' information on the user's current system (win/mac/unix etc) and therefore
- canvas
15 May 2012 — lower bg text
}
$canvas bind text <3> {%W delete bg} ;# RS
======
----
'''Polygons from lines:''' Polygon items, even if displayed transparent with -fill {}, cover the underlying items, so tag bindings to them don
- Canvas cyclic object selection
27 Jan 2005 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Canvas dash lines
27 Jan 2005 — were 'after 0' which seems to have heighest priority, but even changing them to after idle, we still don't see tcl even displaying the toplevel, let alone processing the canvas events
- Canvas equaliser
25 Sep 2011 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Canvas object dropper
19 Jan 2005 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Canvas polygon buttons
24 Dec 2004 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Canvas postscript - text rendering bug
01 Mar 2011 — for info
.c postscript -file testdump.ps -fontmap fontmap
Combine this with the example(s) above.
Even though the fontmap array can have non-integer values for sizes, it looks like Tk
- Canvas scrolling by dragging mouse
25 Feb 2008 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Canvas selection with marching ants
15 Jul 2005 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Canvas slowdowns
19 Jun 2010 — is accellerated NVidia driver.
[Ro] March 2nd 2007
I find this highly unlikely. Firstly, is there even a 600Mhz P4? Lets say its a P3. If so, I find it extremely unlikely
- Canvas zooming
24 Feb 2011 — particular area to see the details. There are lots of sophisticated algorithms for the [canvas], and even some generic [Code to performs 2D graphics transforms]. But here is some simple code which
- Canvas zooming using mousewheel
21 Oct 2010 — varying.
Tcl/Tk can change floating point numbers even if you just copy them around the canvas (e.g. splitting 1 line in 2), even with ::tcl_precision 17... (eek! forget nontrivial
- Cartesian product
16 May 2012 — mathematics that the same symbol is used for many related operations which one maybe doesn't even think of as being distinct — until one has to stringently formalise them, which happens
- catch
17 Feb 2012 — this:
======
set resource [some allocator]
withresource {
some code with $resource
} finally {
# this would be executed always, even in case of error
deallocate $resource
}
continue normally
======
[HaO] 2012-02-17 Within the upper
- Categories of Tcl Users
25 Jun 2010 — of this category don't even have access to computers.
* Community Pros: can you imagine trying to handle an influx of millions of people who don't even know how to turn
- Category Spreadsheet
10 Feb 2011 — words. It also provided the means to associate calculations (known as formula) to specific cells, and even link ranges of cells to a specific formula.
The most popular spreadsheet under DOS was
- Cellular automata
16 May 2012 — case shown the rules are very simple: count the number of "live" neighbours. If it is even, then the new state of the centre cell becomes 0. Otherwise it becomes 1.
The
- CGI By Hand
03 Jan 2007 — plain\n"
puts eogieogeig
The most basic cgi, all it does is display some text, not even html! But hey, if you're this far, your server is set up, your permissions
- chan
16 Nov 2010 — as it was just 'auto' on the read, and always crlf (Win XP) on the write, even if the file used Unix line-endings). Came up with this (which is possibly obvious
- characters
16 May 2008 — 8]), which can be seen as unsigned integers between 0 and 65535 (recent Unicode versions have even crossed that boundary, but the Tcl implementation currently uses a maximum of 16 bits). Convert
- Chart of existing list functionality
06 Feb 2012 — Marks the end of the options. The argument
following this one will be treated as NAME
even if it starts with a -.
(TclX) lvarcat var string ?string...?
This command treats each string
- chatlog reaper
01 Jul 2011 — RS] Yes indeed. If [Tkabber] could take chat posts from a HTTP POST, that would be even easier - the above script would at the end produce an entry widget and a Post
- Chatroom wisdom
19 Oct 2011 — solves it,
then it will reincarnate.
'''Corrolary 2.1 ([Miguel Sofer])'''
The reincarnated bug will bite even harder.
'''Postulate 3:'''
There exists a Heisenberg-type uncertainty relation between software
quality and the
- chatTemp
11 Nov 2006 — Copy and Paste: A coder's best friend. This technique can save a coder hours maybe even days worth of time, but at what cost? The coder will miss the opportunity to
- checkvar
23 Dec 2008 — like
foo 1 bar 0 grill 1
The odd elements are taken as [checkbutton] labels, the even ones as the corresponding (Boolean) values.
You can toggle the value of a label by
- Chess in Tcl
16 Oct 2007 — would be pretty straightforward to add a persistent game DB too.
[Lars H]: Very nice (IMO even with the crude chessmen). A few of the basic moves are however still missing:
* '''En
- Chinese Checkers
05 Jan 2012 — pad) + $S(sz)))}]
if {$row & 1} { ;# Odd row
set col [expr {int($col)*2 + $sign}]
} else { ;# Even row
set col [expr {2*int((2*$col+$sign)/2)}]
}
return [list $row $col]
}
proc
- Chinese Iching Hexagrams on Chou Bronzes : TCL Example
25 May 2011 — a TCL procedure might be able to reproduce the same generating odds with dice or coins, even the Chou generating procedures are lost but for a few peg points.
----
Here are the
- Chinese Iching Random Weather Predictions
25 May 2011 — and 9 are whole or yang (male) lines.
The yin numbers of 6 and 8 are even numbers.
The yang numbers of 7 and 9 are odd numbers.
The casts are recorded
- Chinese Xiangqi Chessboard
23 May 2011 — modify. Also, that regular expression I gave only works for integers; detecting floating point numbers is even harder.
What you need to do is have each creation parameter be a function of
- Chinlish
21 Nov 2008 — this is (and can only be) a partial solution, as some 4000 .. 6000 Chinese characters can even in context not perfectly be mapped to
400 Pinyin syllables. So if you use Chinlish
- CHMvfs
30 Mar 2006 — to be useful as an LZX decruncher outside the context of CAB files. I simplified it even more.
The difference between CHMvfs and chmtools, is that I needed a Random Access, which
- ChooseDir
12 Apr 2010 — find it unwieldy and
hard to navigate plus it always seems to start at the
root even if you specify an initial directory.
The Windows choose directory dialog I like best is
- Christophe Muller
25 Jul 2011 — modline/06_reference.htmlreport/node11_ct.html].
Today, I'm still a big fan of Tcl, even if Java has become more important in my new job at Gemplus [http://www.gemplus
- ck
17 Jan 2011 — tar.gz is better version?
----
Ck requires much work to be drop-in replacement for Tk even for application which do not use images, canvases and fonts extensively (these features obvoisly cannot
- clean_pot
21 Sep 2007 — lines need some sort of tweaking. I don't use sed because it is so obtuse even to an old regular expression writer like me. Hopefully someone will come along and show
- Cleaning up pages on this wiki
13 Mar 2009 — —''
And if a specific file name is mentioned, there might be debian, etc. archives (or even some of the people on comp.lang.tcl, the irc, etc) who might have copies
- ClipboardMonitor
10 Apr 2011 — list is also stored in a private
configuration file, so that the current content is
preserved even if the tool is closed and opened
again.
Also be careful when copying passwords over
- Clipping graphical objects in a canvas widget
15 Sep 2011 — one item. The latter can
be a multi-contour curve with bezier segments... clipping is available even if
you do not have openGL.
[AM] (8 july 2003) Interesting, I know of Zinc
- clock
28 Jan 2012 — noted (00 - 99).
* %Y -- the complete year (e.g. 1990)
* %Z -- Your timezone name ;-)
There are even several pre set patterns you can choose from -- an easy complete datestamp.
* %D -- Date as
- Clock and daylight saving time corrections
05 Mar 2007 — EST - Eastern Standard Time and for daylight savings is EST - Eastern Summer (Daylight) Time.
Yuck.
[LV] Even later - I tried to poke inside Tcl 8.5's [clock].tcl , to invoke
the
- clock format
23 Oct 2010 — relatively quickly. e.g Logging systems, mail handling protocols, certain object-oriented models.
The performance is even worse on the first '''clock format''' call in each interp.
Approximately 800 milliseconds. I guess
- clock weekday conversion toy
05 Jul 2009 — by helpful chatters.
With a little work it could be extended to more date formats, perhaps even user-specified (though the defaults for omitted fields could get tricky).
# weekdate.tcl
package require
- clock.tcl
13 Sep 2005 — 19 Jul 2005'' -
Here is a variation that I created so that the time would show even if the
application was reduced to the Windows Taskbar. However, there is some behavior
that
- clonerun
16 Jul 2010 — an internal database or other data structure that would be updated (like a wiki, notepad, or even default configuration), the starkit would be installed writable and the code would just update the
- close on exec
19 Oct 2011 — open even if
the Tcl interpreter terminates.
This would cause trouble if the file was to
be deleted (which physically takes place when the file is no longer open) or
- even worse
- Closures
22 Dec 2011 — to procedures but can take/alter their internal state.
Of course this is possible to do even with OOP systems not having garbage collection, but the programming style that closures make
possible
- Cloverfield
13 Feb 2009 — to really get developers on the project. But I've learned a lot working on it, even if the project never completed due to lack of free time (building a family needs
- Cloverfield - Tridekalogue
30 Jan 2010 — in the word by a reference to the value of a variable. The reference remains valid even if the variable is deleted for some reason (like a local variable when a procedure
- CMP
20 Jun 2008 — and more likely I would consider it a bug.
Even if someone explained to me that on the particular hardware I was using, even the C programming language did the same thing
- co-routines
29 Jan 2009 — sense that you will be
able to use co-routines in the most general way, or even in the limited way that I think I can make it work (the missing piece
- coalgebraic
26 Jul 2008 — popular) of the word '''algebraic''' is:
* ''takes zero or more inputs, and produces exactly one output.''
Even transcendental functions are algebraic in this sense; what matters is only that what one wishes
- Coccinella
03 Sep 2010 — the sake of letting off some frustration, I'd like to point out that Coccinella or even Jabber in general are not the best thing for everyone. I've been testing Coccinella
- Code 39 generation
05 Apr 2011 — reference has the correct encoding for 'A'. Otherwise this code works great, tested with a real scanner even!
----
[HJG] Added some demo-code.
<<categories>> Barcode | Arts and crafts of Tcl-Tk programming
- Code Generation
29 Apr 2011 — with Tcl.
Many C++ developers use tools that generate C++ code.
Many of these tools are even developed in-house.
Here I would like to collect some ideas for how to use
- code is data
17 Apr 2011 — and so on is not that they can represent code as data (any language can), or even that they can represent their own code as data (again, any language can, in principle
- Colin McCormack
18 May 2012 — or proprietary interprocess protocols. Use tcl.
Firsts:
first mention of 'badger' on the Wiki ... damn, not even close.
[AMG]: You're the first to use the word "blunge" [http://www.dict.org
- CollapsableFrame -A Toggle Resized Labelled Frame Container
04 Jul 2011 — library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library
- Collation
18 Oct 2006 — just delete it from this page. - [RS]: No, every correction is welcome. Fixed above - thanks!
----
[RS]: Even English data may have collation problems - if they contain ff, fi, fl, ffi, ffl ligatures
- colorChooser for pocketPC/etcl
02 Dec 2007 — this for my PDAs. Even with the ugly truecolor.[HE]-end I don't understand how a truecolor image can look more ugly than an indexed one, even when displayed on "older
- Colouring graphs
19 Nov 2007 — roughly contemporary) classification of all simple groups,
which no philosophers seem to have been concerned about, even though
that proof had been far less scrutinized (being spread out over several
dozen articles
- COM on! - a tiny web browser
06 Jan 2012 — part of Internet Explorer via optcl),
animated [GIF]s as well as directory browsing supported, and even Acrobat Reader
gets embedded in turn if you point it to a [PDF] document.
[WikiDbImage
- comb
05 Oct 2008 — list (starting from 1, or the second one) as being the comb's teeth, and the even elements as the results to return when the tested value lies between two teeth (or
- Combinator Engine
26 Sep 2006 — re solely string substitutions. They don't take arguments. We *could* just expand them recursively.)
* not even any arithmetic! (Well, hardly any, we cheat a little bit on input and output...)
The
- COMet
29 Oct 2008 — have any spare time to debug it, maybe in some distant future.
To be frankly I even don't remember half of that COM stuff any more.
However I do remember that
- command
26 Jun 2008 — its arguments. (So far from Tcl syntax). A specialized mantra would say "everything is a command", even what other languages call "control structures" (if, while, for...) or "declarations" (global, proc, variable...).
All
- Command completion
15 Aug 2005 — Richard Suchenwirth] 2002-07-29 - The behavior of some shells (even including cmd.exe!) to complete commands or filenames on <Tab> is occasionally asked from Tcl too. Here is a quick shot
- command options
07 Apr 2010 — modified the Tk_ParseArgv() routine in tkArg.[hc] to handle this case. Also, to make it even more useful, I added a Tcl_ParseArgsObjv for parsing a bunch of arguments passed to
- Command syntax definitions
04 Jul 2011 — In the Tcl
world, we normally speak of [command]s and [proc]s instead.
Sometimes we even use the whole word and speak of ''procedure''s,
but when we speak of ''functions
- comment
29 Jan 2010 — content. Without fear
of the whitespace getting munched. Nor even that the my "quotes" will
leak out of the brackets.
and now even [exit] will not be evaluated.
}
----
Also note there is
- Commenting and obfuscating
08 Sep 2011 — syntax.
You write a program that seems to do exactly what you (and the client) wanted,
even when you review it six months later.
Marketing people tell you: ''in this language, nothing
- Comments on Software Patents
20 Oct 2008 — this, but beyond even that...
''I've'' been using bit-replication when dealing with image data since the late 1980's. (It was a common, well-known technique even then.) I've
- Comments on the Tcl'ers Wiki
01 Jan 2011 — repository, a link to the repository would be left behind.
The idea is that discussion, and even suggestions of changes, would occur here. But someone could, at particular points in time, as
- Common problems when linking Tcl or Tk related applications
11 Nov 2006 — 4 -lm -lc -o executable
On Linux, Solaris, and a few other systems, you probably will even need:
cc file.c -L/path/to/libraries -R/runtimepath/to/libraries -lBLT2.4 -ltk8
- comp.lang.tcl
07 Nov 2007 — articles, etc.
However, the moderator has been unavailable for quite some time, and now
yahoo has even removed the archives. So someone interested in becoming
the moderator should probably contact the Usenet
- COMPANY: AccuRev, Inc.
08 Nov 2006 — tdom to parse the result instead of screen scraping. But wait, what if you don't even know the name of your workspace? You can find this out by running the following
- COMPANY: BitMover
28 Jan 2003 — 5MB. Note that we routinely run the tool on files
with 4000 nodes, we can't even run the Java tool on files that big,
it crashes.
You could argue that we
- COMPANY: iDirect Inc.
23 Jan 2002 — ip entry widget, etc) we can do just about everything MFC/Stingray can do (and it even 'looks' better ;-). Visually (because of BWidgets and some custom tweaking on our part), you can
- Comparing Tcl with PHP
10 Mar 2006 — inconsistency in names that PHP also has, although it is a lot worse in PHP. I even think that some command naming convention should be added as the thirteenth rule [http://wiki
- Comparing Tcl with Python
17 Apr 2011 — in the Tcl tar.gz with popular C extensions, and let the Makefile to compile-install even those extensions, and not just the core language. So this does not affect in any
- Compile Tcl with tcc
28 Jul 2011 — SS] ''30Mar04'' with my linux box it compiles (just fixing something about strto[[u]]ll), but even with --disable-threads and --disable-shared crashes when I run the tclsh. [strace] shows that
- Complete Config File
16 Jan 2012 — to run the OpenACS toolkit
* integrate other scripting languages like PHP with NaviServer
In those cases even the example value of 128*1024 of sample-config.tcl may not be sufficient. Start
- Complex data structures
19 Dec 2008 — object. Perhaps both approaches need entries?''
----
***key–value lists***
A '''key–value''' list is a list where every even index item is a "key" (arbitrary identifier string) and the following (odd index) item is
- Composing curves
17 May 2012 — this idea is elaborated: define parameterised curves, and construct new curves out of them. You can even use composed curves as the basic ingredients.
''Explanation of the design:''
* With UniqueID I construct
- Computer Architecture
08 Jul 2003 — the transistor became available cheaply, and especially when the first and further digital chips appeared and even became cheaply available. I know this from experience since about 1977 or so, when as
- Computers and real numbers
27 Mar 2012 — a sum that is too large, whereas "round to even" on average leads to a sum with the right value; "round to even" thus avoids a source of systematic error.''
''[escargo] 15
- concat
28 Feb 2012 — internal representations that may exist. If
[tcl_precision] is less than its maximum, then this will even result in loss
of precision for numerical data! Also, I would like to see proof
- Concepts of Architectural Design for Tcl Applications
16 Apr 2011 — dead CTI library (XTL) could ''only'' be accessed by its originating language, C++. Sometimes, things get even worse: you need to use the same compiler !
After a period of heavy support to
- Connecting Tcl/Tk with GNUstep Objective-C programs
04 Dec 2011 — the setup can be proven to give results after some hacking. I am aware there has even been a tcl/Objective-C combination long in the past; maybe newer and more powerful
- Considerations when adding extensions to Kitten
02 Feb 2004 — have particular themes?
* Or perhaps even better, should every extension be in its own starkit, and then one just get the pieces they want? Some users want even MORE granularity than that
- constants
11 Jan 2011 — PROCESS]"
puts "FLAG3 = [FLAG3]"
}
test
======
----
[wdb] Good idea ... when making a function, why not making it even more handy?
======
proc pi {args} [subst -novariable {
expr [expr {atan2(0,-1)}] $args
}]
======
Now, use
- Constrained minimisation in one dimension
14 Jun 2004 — subdivides the interval into two parts (in the ration of the Golden Section) and
tries again. Even with this struggle, it evaluates the function only 25 times to come
within one part
- Constraining variables
05 Jul 2011 — and double values; string prefixes are just that, so "foo" is inside the
range "a..z" even if it's not a single character.
You can introspect the constraints you have set
- constructing a bwise graph from a formula
17 Apr 2011 — tree are '(net_)funprop'-ed, the outcome is also the same as for the original formula, even though branch reuse isn't done in this case (leaving us with 2 'slider' blocks
- Constructing a Bwise Graph from a Maxima Formula
24 Jan 2011 — wrong assumptions about the formula structure, but at least for a number of cases ot will even generate a correct (non-overlapping, decent shape) graph:
proc maxtoblock { {a} {rec {0}} {x {700
- constructing mathematical formulas with Bwise blocks
18 May 2012 — blocks
construct a formula graphically on the [Tk] canvas of [Bwise] (which is a normal, vanilla, even way back compatible canvas, no extensions either), which can also be evaluated, and in this
- continuation
15 May 2012 — also there is another problem with the Lua approach, in Tcl the
interpreter calls itself recursively even in the context of a single procedure! While in languages like Lua it only happens
- continue
20 Oct 2010 — why it would be a bad idea... I've never seen anyone with enough motivation to even writeup a TIP for it either, though. I've had cases where I'd like
- copy-on-write
27 Dec 2010 — a variable but this is not the same thing as passing by reference in [C] ''(and even if it were, it would still have nothing to do with [copy-on-write])''.
The
- CORBA
21 Feb 2011 — are described in IDL, the Interface Definition Language. This looks similar to a C++, Java or even [incr Tcl] class declaration, e.g.
interface Toaster {
exception Fire {};
readonly attribute long crumbs;
void
- Core VFS support
28 Jun 2008 — Should we consider "exec:"? IOW, everything is a tradeoff - even the "/\u0000", given that slash and backslash are given special attention on Win32. Even if technically ok, it might be confusing (I
- coroutine
22 Apr 2012 — the perf penalty be
too large, they can at any time be coded in C (or even bytecompiled!) as solving
perf bugs.
- D - I am eager to get help making this better
- coroutine-enabled event handling
03 Sep 2009 — other events to
# be processed.
proc co_gets chan {
# Note: We need a loop here because even if more data became available
# on the channel it may not be a complete line
- Coroutines for cooperative multitasking
31 Aug 2011 — else {
yield [list Even $item]
}
}
error "Task done"
} 1 2 3 4
Task Even { args } {
set input [yield]
while { 1 } {
set input [yield [list D [list $args $input]]]
}
} Even
Task Odd { args
- Coroutines for pre-emptive multitasking
23 Oct 2008 — to use the usual "return code" signalling pathway to instruct one's _caller_ to yield. Thus, even if we are buried in an extra layer of C stack (like all those non
- Coroutines for the Dazed and Confused
24 Jun 2010 — list. The result is "odd even odd even odd even".
But wait! What if map had been written by someone else a long time ago, before apply even existed? Can apply still
- CourseForum
29 Jun 2010 — unperson]
I like Mark Roseman's forum series in TCL. I am a big fan actually (even though I know Mark was never a fan of mine; it's ok :-) a lot
- CRC
26 Jan 2012 — handle the FR then. :)
----
[DKF]: On 8.5, the following implementation is about 6 times faster (even for a version with a corrected `>>>` implementation). It still relies on the table of values
- Create starkit.ico for windows starpack
08 Jan 2012 — png $name.gif
}
set state "DONE\nIcon file is $icoFile"
pack [button .b -text "EXIT" -command exit]
======
[jbr] - Even more "stand alone" [icomaker - tcl only ppm to tclkit.ico converter]
<<categories>>Gui
- create triangle image
26 Nov 2010 — dir {
top - bottom {
set h0 $x0
set h1 $x1
set v0 $y0
set v1 $y1
# > On even size move right limit one to right
set e1 [expr {($w % 2 == 0)?1:0
- Creating and Using Tcl Handles in C Extensions
22 Dec 2011 — for things like
* file handles, sockets and the like. Tk uses them for fonts, images
* and even widgets.
*
* Handles allow an extension to return a small string to the caller
* that is
- Creating wave formulas with BWise
24 Jan 2011 — mathematical waves] I use the Maxima syntax for formulas but we could also use C or even [Exp] type of formulea, and because
the block approach doesn't require much recompiling of
- Creation of multi-platform Starkitted binary packages
24 Jul 2008 — code might then ensure that only that tree is included in the auto_path.
One could even have things broken down so that the directory structure was something like:
script only packages
- critbit
15 Oct 2010 — the same length. But it turns out they can be adapted for use with arbitrary strings, even strings with prefixes. The trick is to alter the key value to be prefix-free
- Critcl
20 Oct 2011 — a few packages of it.
[stevel] further to that, Critcl works just fine on OSX - it even generates universal binaries by default.
[AK] whereas some of the critcl code in Tcllib indeed
- Critcl builds C extensions on-the-fly
15 Oct 2006 — installation of
Tcl. Most importantly, Critcl does not care a bit where Tcl was installed,
nor even whether it was built as a static or as a dynamic executable.
This is a
- Critcl FAQ
27 Dec 2011 — for anything to be hurt by this; it is sufficient that you have it installed. However, even if you cannot remove the bad package, you can work around it by doing something
- cron
21 Nov 2008 — will find that they have dependencies (via subroutines or other invoked applications) that they weren't even aware existed. However, these limitations, if dealt with persistently, can eventually be overcome in most
- cron and Tcl
26 Nov 2008 — the script file is executed, the system executes the specified
interpreter as an executable object file. Even in the case of
execlp() or execvp(), no path searching is done of the interpreter
- Cross platform keysyms
13 Sep 2007 — for this particular key, but I guess it should continue to
be supported by all platforms, even when that table is fixed to
include the standard name "grave".
As the system is
- Cross-version voodoo
16 Sep 2002 — be avoided at all costs), in others its just to enable support of features in source even when compiling against an older version of Tcl.
----
TclX has a special TclX_CreateObjCommand that
- CrowTDE
24 Mar 2010 — 2006/04/15 - Have you ever thought about creating a CrowTDE-[starpack]? Would make the application even more attractive - at least for me ;-)
----
[CrowMan] 2006/04/16 - We are try to retrofit
- CRUD
15 Dec 2011 — extensions?
[RS]: Looking at Wikipedia about CRUD, it looks like [sqlite] fills the description best. Or even a simpler mechanism, where the crud is written to a text file in Tcl format
- crypt in pure tcl
01 Sep 2005 — element is faster via array than list, (on my machine 3usec vs. 5usec) and setting is even more so.
compare
set ary($idx) [expr {$ary($idx2) * 3}]
with
set lst [lreplace $lst
- Cryptkit
18 Aug 2009 — From the Cryptlib web site - "The Cryptlib security toolkit is a powerful security toolkit that allows even inexperienced crypto programmers to easily add encryption and authentication services to their software.
The high
- CryptoAid
14 Oct 2009 — THREE OR FOUR GOOD FRIENDS ... SUCH WAS LUXURY TO EPICURUS. FRIEDRICH NIETZSCHE}
{THERE ARE TIMES WHEN EVEN THE MOST POTENT GOVERNOR MUST WINK AT TRANSGRESSION, IN ORDER TO PRESERVE THE LAWS INVIOLATE
- cryptogram puzzle solver
11 Dec 2007 — the wiki's policy to delete insertions into a page which are not relevant, offensive, or even at times off topic. So, if you don't mind, we'll drop the crypto
- CSS
18 May 2009 — uses different property names then html ? These style properties can be dynamically set in JavaScript through even another name convention. Styles are applied to html elements of a given type , html elements
- csv
31 Jan 2012 — 12,"Big Bear"
''[AMG]: ... it will be necessary to double up quotes internal to the element even when the element isn't contained in quotes. To be safe, elements containing quotes should
- Ctext
12 May 2011 — a bug in line 475 of ctext.tcl where the ar(modified) value is not updated even if a ".t edit undo" is called? This is the wrong version :
return [uplevel 1
- Cuda
17 Jan 2011 — since there isn't much memory available per core, and per thread in the Cuda model even less, an [EIAS] data model simply doesn't fit! What could work is to do
- Custom curry
12 Dec 2011 — stack:
======
interp alias {} double {} mult 2
======
(the {} indicating twice that the current interpreter is meant).
Conversely, even without being aware, we have used currying whenever
* a proc body consists of a single
- custom cursors
28 Aug 2009 — Windows.
----
On [Windows] you should always create your cursor files with a size of 32x32 pixels even if you do not need so much space. If you created a 16x16 pixel cursor
- Custom Icons For Win32 Starpacks - The Real Story
04 Apr 2012 — runtime that I know of is JCW's own tclkit.exe/tclkit-win32.upx.exe.
''(And even then, though you'd expect JCW's method to work with his own specially prepared
- Custom sorting
04 Dec 2008 — default string comparison) on the results of the '''string length'''. Furthermore you can speed up '''lsortby''' even more by making sure that the "sort function" is a list, i.e., say
lsortby
- Customizable Toolbar Widget
26 Jan 2006 — to alter buttons more - their name, icon, ''more...?''
* Probably more I haven't thought of, yet.
Even with the basic features it has so far, though, you can get an idea for
- CVS Best Practices
16 May 2010 — this Wiki
use CVS tags in creative ways (look at that '''package provide''' statement in [Menus Even Easier Redux] and the '''set RCSID''' in [Text variable for text widget]).
Is there a
- CVS news
21 Jul 2003 — CVS] has a large interface--a discouragingly large one, in fact.
[CL] is nearly convinced that even experts don't understand it all.
In particular, many frequent CVS users aren't aware
- CVSTrac
01 Feb 2009 — is to store the entire source
code repository, wiki, and tickets in a single [SQLite] database.
Even though written in TCL, the new system would be a standalone
program that administrators just
- daemon
28 Aug 2007 — even then the daemons should '''still''' be totally independent of the watcher once they are started.
DJB's FAQ for '''daemontools''' doesn't even mention independence, as if it was not even
- damage by duplication
29 May 2007 — the search facilities, and prefers to view his/her information as a pre-digested index, or even a structured pre-digested index (taxonomic pabulum), and merely because that individual has successfully constructed
- Dandelion
24 Aug 2011 — program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
- Daniel P. Stasinski
17 Apr 2010 — usually choose between 80x86 assembler, BASIC, C, Delphi Pascal, java, or perl. A lifetime ago I even chose Prolog for a project solution.
My latest TCL related project is x10bot, a home
- Dash lines on Windows
21 Feb 2007 — 2 -dash -. -fill grey60
[AM] I can confirm this under Windows XP, using 8.4.1 even and up to absurd widths
like -width 20. I think it was mainly a problem
- Data analysis with Tcl
22 May 2011 — a number of
packages. Some remarks will be made about Tcl 8.5, as that offers
even more facilities.
----
'''A first example: dealing with text'''
Here is the first problem we want
- data is code
17 Dec 2010 — code can do the
same by creating aliases. The main difference is that objects, being
commands even in cases where they're primarily used as containers for
data, need to be explicitly
- data is not abstracted from the language
24 Oct 2008 — a dynamic language like Tcl. In Tcl, the user
can provide input, or Tcl can generate (even randomly), code that
can be either executed immediately, or code that can be written to
- Database access for options of all widgets in an application with Bwise
24 Jan 2011 — would break the 'source' command, and probably further commands wouldn't be read from it, not even using
catch {source widgets.tcl}
reading lines by hand and selecting valid options, or [catch
- Database Interface
09 Feb 2009 — also makes the point that, even with DBI, one must still
exercise caution, that is, "write to a small, common core
SQL [[a]]nd don't even think of writing portable advanced
- Database routines for in core
12 Jul 2011 — time ago thoughts have been about deep lsearch, and possibly I missed some 8.4 (or even 8.5) possibilities in this direction.
----
[TV] 31 mar 03: I found the routines all
- DataflowCanvas
31 Dec 2010 — a dataflow model. Perhaps I can find some inspiration in your work, and maybe I can even use it as a graphical front-end. Will you post a link to the sources
- Date and Time Issues
08 Aug 2009 — clock format]] can do the typical application, zero-padded two-digit hours, minutes, seconds etc, with even less fuss:
clock format [clock seconds] -format %y%m%d-%H%M%S
001004-091226
- Date Calculations
22 Jul 2010 — to be a Saturday because that's what cal says and I
# couldn't change that even if I was dumb enough to try. From this we
# can easily calculate the day
- David Andel
02 Aug 2004 — stuff around already, and the goal of the ''crammer'' is to use whichever html docs - or even parts of them - as virtual flash cards. The algorithm for the studying as such is
- David Gale
11 Nov 2011 — CALLED THE LIFE OF DAVID GALE. It's not about me. The damn movie isn't even out yet and people are saying stupid stuff to me like "You don't look
- David McClamrock
19 Apr 2011 — Tcl was a lot simpler than the average programming language, and I began to wonder if even ''I'' might be able to write programs in it. I saw ''Tcl/Tk for Real
- DBF
01 Nov 2011 — table of data. The table has one or more columns (up to 128 or 256, or even more, depending on dBASE version) and data records. dBASE understands simple datatypes (such as text
- dde
23 Oct 2010 — Engine "s = ones(5);"
----
[CL]'s favorite DDE baby steps are with IE, because it's even more ubiquitous than Word or Excel.
Moreover, the simplest possible IE example also illustrates a
- dde restriction
17 Feb 2011 — into a safe interpreter, of course, or anything else it
feels like.) This is probably an even easier way to do it too.
Donal.
----
Following on from Donal's suggestion, if we
- deadlinks.tcl - A Bookmark File Cleaner
24 Dec 2011 — at least one entry where the href is some javascript...
MT: Egads! That lrange was never even supposed to be there. I meant to use string range. However, I don;t know
- Debian
30 Jul 2009 — than a Debian by-product. It is amazing because it really works out-of-the-box, even better than any Windows system. It is just 180 Mb, it has less programs than
- Debugging a Tcl extension written in C using gdb
28 Jan 2009 — need breakpoints before the script is running, you can just define them in advance. This is even possible before the Tcl C extension has been loaded by the Tcl script:
(gdb) break
- Debugging Aid For Production Code
28 Apr 2004 — proc debugPuts {{msg {}} {level 0} {handler {}}} {return}
}
In the original example, every single call to debugPuts (even when debugging is totally off) requires a conditional check. This can slow things down tremendously
- Debugging via introspection
31 Jul 2008 — transcript saying, that your program is halted. Then you may inspect your variables of interest (or even change them :) using one browser and another one to toggle your semaphore and continue your
- Decimal Arithmetic Package for tcl 8.5
04 Aug 2011 — 1 * $digits}]
return [list $sa $mantissa $exponent]
}
# round_half_even --
# Round to the nearest. If equidistant, round so the final digit is even.
# Bias: none
#
# Arguments:
# Number in the form of {sign
- Decision trees
12 Feb 2009 — the decision trees for the
"no (0) and "yes" (1) case) could be this:
}
set guess19 {
even {
prime {
"multiple of 3" 1 9
} {
"multiple of 3" {
"divisor of 10" 7 5
} 3
- Decision trees as expressions
01 Aug 2003 — features
* even: divisible by 2 with zero remainder
* prime: >1 and divisible only by 1 and itself
The decision tree as nested list looks like this ("yes" branches come first):
{even {prime
- Deferred evaluation
14 Feb 2004 — of course an interesting piece of code that shows
some kind of lazy-evaluation).
----
[RS] Yes. Even if evaluation is deferred into the future, it still follows the Tcl rule of substitution
- Degree histograms
20 Nov 2007 — line resources
for more than glossary information, I can tell you that the general
case is even worse than this: it's not just that the degree histogram
doesn't determine a
- Demand-driven computation
27 Dec 2011 — formula for cell A1, for instance.
Can we do the same? Yes, we can.
It is even possible without analysing the formulae for references to other variables.
The script below defines a
- Demonstrating Starkits
25 Jul 2009 — Wikit running in "httpd" mode - once they realise that it contains a full web server - [tclhttpd] - (even on Windows) it blows them away.
Next I grab another Starkit, typically [tkvnc] - to emphasise
- Depth of a list
12 Nov 2008 — msg1 $msg2]
That way it will always be possible to see how many messages were returned even when the messages contain spaces. This leads to another observation on lists in Tcl: the
- Design patterns in Tcl
09 Dec 2008 — agregation that programs become bigger and bigger, and so slow it isn't funny anymore for even relatively simply tasks, and that uninformed people might be deluded to think that is the
- Designing SNIT widgets as mixins
30 Sep 2009 — that no TCL code is involved in dispatching it on all further calls. If there were even twenty redirections of this kind,
I think it still won't add any significant performance
- Desktop Environment
29 May 2009 — environment, where user has powerful scripting language at his disposal. With Tcl introspecting capabilities it is even possible to write RAD tools which would allow to do nontrivial scripting by drag and
- destroy
24 Oct 2010 — loaded in memory once I was done with them. I learned that before destroying a toplevel, even in Tcl you have to release resources that you are not using anymore ;D
''Ro
- Deterministic finite state machine
25 Jul 2011 — that corresponds to the [regular expression]
# ^1*(01*01*)*$
# i.e. any binary word with an even number of 0s
set M {{S1 S2} {0 1} S1 S1 {
S1,0 S2 S1
- developerWorks
14 Aug 2002 — is a major center for interesting, generally accurate
articles of IT interest.
It's heavily biased toward [Linux] and [Java],
favors [Python], and generally neglects or even
rejects Windows, [Perl] and Tcl
- dgHelpBrowser
09 Feb 2012 — I might include it in the next release.
6. Two things about $HOME/dgHelpBrowser.ini - first, even though it
appears to be saving the font size change off, when I start the
- dialog
26 Jan 2010 — in the taskbar and may have different frame decorations (the buttons on the outside edge) and even different animations when being mapped and unmapped. This is usually handled by setting the dialog
- dict
16 Feb 2012 — dict in args, retrieve it with:
set dict [lindex $args 0]
Because dicts always need an even number of key value key value..
----
**dict vs TclX's key list?**
[LV] Has anyone
- dict discussion
25 Jul 2011 — like traces on reading, writing, and
unsetting).
----
'''CN''': I wonder if this command wouldn't be even more useful if it allowed to use a '''-nocomplain''' switch in 'dict get' and 'dict
- dict for
20 Oct 2010 — when the data is later used as a list or string. Amazingly, this is the case even for [pure list]s (lists with no string representation): the conversion to dict forces the
- dict tips and tricks
23 Jan 2012 — 0, dicts have a "chronological" order - each added element appears at the end. So you can even apply custom sorting of dict keys for display purposes:
======
proc dict'sort {dict args} {
set
- dict update
16 Feb 2012 — to the dictionary within dictionaryVariable (unless dictionaryVariable itself becomes unreadable, when all updates are silently discarded), even if the result of body is an error or some other kind of exceptional exit
- dict with
02 Feb 2011 — the dictionary will be lost when the script completes, since [[dict with]] overwrites the entire dictionary, even if none of the unpacked variables were changed.
These limitations are particularly problematic when calling
- Dictionaries as Arrays
28 Oct 2010 — cannot recall any instance of that argument being used, and does not think the [TCT] would even consider it.)''
If we were to accept the above is trivial and feasible, and apply
- dictionary
18 Dec 2010 — 1 foo 2 bar]
or as one even-sized list:
set d [dictionary create [list 1 foo 2 bar]]
Dictionaries can be used as an even-sized list:
set d2 [dictionary create
- diff
26 Dec 2007 — we identified if the "word" is actually a number and if so, we compared them numerically (even allowing a certain tolerance if required).
This way you are immune to numbers formatted in
- Differences between tclkit and tcl
21 Sep 2011 — the reason is that tclkit is not intended for the same audience as the
source or even a traditional binary distribution.
The reason it is important to track the differences, though, is
- Diffie-Hellman Key Agreement Protocol
15 May 2012 — s an example using the [bignum] extension, which is ultra fast at calulating these formulas
with even 2040 bit numbers.
lappend auto_path lib
package require bignum
#Can be any prime number
- diffing very similar files
30 Jul 2011 — command-line tool to do it. (And it was a nice exercise :))
[AK]: True. It becomes even better in the future with the recent addition
of [KBK]'s implementation of the algorithm
- Digging into the internals of Tcl's clock
19 Dec 2011 — next second becomes 03:00:00 am. So, technically,
the time being requested doesn't exist.
Even worse, of course, is Eastern timezone (Ohio), 01:59:59 AM, Nov. 3, 2007.
Why
- din is noise
21 Mar 2011 — their waveforms. It uses JACK to output audio, supports MIDI and OSC as input, and can even be controlled using an [IRC] bot. [Tcl]/[Tk] scripting is also supported.
http://dinisnoise.org
- directory size
10 Nov 2011 — Is it worth TIP'ing it? Could this functionality be added to the [file size] command?
Even if the C code itself has to be a recursive function adding up the sub
- Directory Tree Synchronization
03 Dec 2007 — Now it's a near no-brainer.
I love little snippets that delineate issues and pitfalls, even if I don't use them they save me time.
I love youse all. [CMcC
- Disable autorepeat under X11
27 Aug 2011 — greathers than the repeat rate it no longer detects the events correctly. On the other hand, even with [[set delay 0]] it still works - it seems that under normal conditions the KeyPress
- Discrete event modelling revisited
29 Nov 2010 — the total time and wait time.
This remains the case for values close to 1.0. Even for a value of 0.7,
I got a sequence like: 4.1, 4.46
- Discrete Fourier Transform
30 Sep 2011 — is set to {} for an even number of data.
#
proc ::Fourier::dft { data } {
variable PI
set result {}
set length [llength $data]
set nocomps [expr {$length/2}]
set even [expr {$length%2==0
- Discuss: wikignomes
03 Dec 2009 — are no edit wars. I have seen on C2 edit wars that could last 24 hours, even days! One would write a page; the other one would delete it; the first guy
- DISCUSSION: Argument Expansion Syntax
28 Sep 2007 — considered and rejected.
Can we move on now please?
[DGP] For that matter, [[apply]] will not even work for the [[exec]] example
above (when ''$program'' contains spaces).
[Jacob Levy] Fixed the $args
- Discussions on making data file access simpler
11 Nov 2008 — it very useful not to have to reinvent the database code over and over again
'''lvirden:''' even if data happens to be IN a relational database, there are no joins, views, rollbacks
- dislocate
05 May 2010 — emacs] going and open a zillion buffers. Woe to the server that hosts my [emacs].
Now, even though I'm on broadband, and so is the granny next door, my connection is
- dispatch
01 Nov 2003 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHORS AND
- Display a graph in a BWidget Tree
21 Apr 2003 — B1 NAND2
X_N2 O2 A2 B2 NAND2
... rest of alu definition ...
.ENDS ALU
At an even higher level of our design, the ALU is instantiated, but also one of our primitive
- Dissecting a scrollbar
06 Aug 2011 — 0 -$min_size))}]
}
# This keeps the slider around even if it is too small.
# That way the scrollbar doesn't automatically disable itself.
# (Even if the slider can't be used the
- Distributed computation
18 Jun 2011 — server. The data persistency comes
from tie or tequila.
(As suggested by Michael Schlenker, we can even use the [[unknown]]
command to automatically get the procedures for us. And we can use
- distributed in core database
10 Jul 2011 — fine for many things.
As time progresses since the time of mini and workstation computers to even portables with more power and memory then most of those ever had, the question is
- Distribution Mechanisms
26 Aug 2007 — access to a couple of external extensions I think to be able to load extensions and even some development code I think.
As for Tcl modules - I'm not certain exactly what
- DLL
04 Dec 2007 — and
are extended by the use of DLLs.
Some larger Windows applications will use dozens or even hundreds of DLLs.
Tcl C/C++ based Windows extensions are DLLs.
----
A DLL that exposes
- DNS Library Revisited
04 Jul 2011 — on your machine.
* It does not offer any cache, which is not a very good idea, even though the DNS server is usually "close" to you.
To palliate both problems, I have
- docstring
13 Mar 2012 — of a proc body, it is easy to parse it out. In addition, for all procs, even without docstring, you get the "signature" (proc name and arguments with defaults). The code below
- doctools
11 Jul 2010 — documentation, yes, there are zero. No one has apparently ever used it for that. No, not even me. I usually have no C API's around in need of documentation, only Tcl
- Documenting Tcl's warning/error messages
09 Mar 2011 — DKF] said; but `::errorCode` contents are too limited for a clear detection of what happened, and even some core commands don't use appropriate error codes. By the way, some questions arise
- Dodekalogue
15 Apr 2012 — separate pre-pass before the command is actually
parsed. This means that it will be replaced even when it
occurs between braces, and the resulting space will be
treated as a word
- Does my hardware controller need to use threads?
13 May 2011 — rely on long-running external
resources, like database look-up or communications with physical devices
[[references]]. Even in the latter case, though, there are a number of
alternatives:
* [[explain [bgexec] ]]
* [[more generally
- Doing arithmetic on currency
18 May 2012 — thinking about when they're rounding, and potentially even choosing a rounding method different to the [[expr]] round() function. e.g 'round-to-even'
[MS] Understood about validation. What I meant is
- Donal Fellows
23 May 2012 — doing interesting, since engineers can throw together a system that provides simple design support frighteningly quickly (even without a rapid-prototyping tool like Tcl/Tk.) Any system that can demonstrate the correctness
- DoS
16 Dec 2007 — untrusted sources, it is already exposed to DoS and hack and crash attacks, even without this specific vulnerability. Even if you run all untrusted code in a safe interpreter, you're still
- dos2unix
16 Jan 2011 — reason;
}
fconfigure $fid -translation $translation;
puts -nonewline $fid $data;
close $fid;
}
return;
}
----
2003-04-27 [RS]: Even better - since Tcl accepts all usual line terminations on input, and uses the native on
- Dots and Boxes
25 Jul 2009 — Kevin Kenny] saw this robot as a challenge, and worked with Donal to come up with even stronger players.
Working independently, [Allen Flick] introduced another ''Dots and Boxes'' game, now located at
- Double Buffering
29 Apr 2009 — to do it" is also very valuable; it shows, what one has to avoid. There is even a special cathegory for such examples here: [Don't do that].
I was trying to
- doxygen+tcl
29 Feb 2012 — so it scans tcl files (I see it on stdout), but the output documents are empty, even I have some procedures defined in tcl files. Any tips?
[RZ] Check your settings in
- dqkit
07 Jun 2010 — to downloadable binaries of reasonably recent threaded tclkits for Windows & FreeBSD, it'd be much appreciated. (even an un-threaded post tcl8.4.4 tclkit where Tk isn't broken on FreeBSD
- Drag and Drop
13 Nov 2010 — of such a region [Vince] (Jan 2003). Is it even sensible to think this could this be exposed to the Tcl level, even?
----
**Other thoughts/comments/ideas of note**
I think it
- Drag-N-Drop Example
10 Nov 2008 — to working out how to interface with the Unix/X world. CDE/Motif support would be even neater, but the documentation there is abysmal and the Mofif DnD protocol is a bit
- Draw a table on a canvas
20 Jul 2011 — rowidx%2==0? "even" : "odd"}]
foreach txtcol [lrange $table($canvas,colpos) 0 end-1] \
numcol [lrange $table($canvas,colpos) 1 end] \
text $values {
set coltype [expr {$colidx%2==0? "even" : "odd"}]
if
- Drawbacks of Tcl's Regexps
13 Mar 2012 — incomprehensible and thereby totally at odds with the rest of Tcl's wonderfully readable source code. Even trying to work out what a function like 'find' or 'cfind' is supposed to do
- Drawing diagrams
09 May 2011 — with wireframe), where the main advantage of a pipeable command like the unix pic is that even when files get large (huge for 1990) the whole thing continuous to work.
[WJP] (21
- Drawing rounded polygons
08 Dec 2004 — variable rad(0) \
-from 0 -to 200 -command doit -relief ridge
scale .rad2 -orient horizontal -label "Even Vertex Radius" -variable rad(1) \
-from 0 -to 200 -command doit -relief ridge
image create
- Dropdown windows
25 Aug 2005 — tried to generalize its front-end procedure, '''wdropdown''', as much as possible, so it doesn't even require any widget to exist: rectangle or point coordinates may be given instead of a
- DTrace
14 Dec 2009 — probes returning TIP 280 information are unavailable in Tcl 8.4 (currently, this is the case even in 8.4 with TIP 280 support enabled); they are fairly expensive to use (mainly
- Dual or Multiple Monitors
15 Nov 2011 — Try to determine if we are operating on a system with dual monitors. It even handles switching modes mid-execution. At least on Windows. The maxsize command seems to keep up with
- dupfind
03 Oct 2008 — simply return 'true'
}
} else {
return -code error "Unbekannter Schalter: $item"
}
} else {
incr count; # each arg counts, even if there are too much
if {[info exists a($count)]} {
if {[string length $item]} {
# Defaults
- dynamic language
14 Apr 2006 — Dynamic Languages], and not only is
[Tcl] not in any of the programs, it's not even mentioned as a dynamic language,
"like [CLOS], [Python], [Self], [Perl], [php] or [Smalltalk]." To me
- Dynamic Libraries in Tcl
18 Dec 2011 — a library could also be loaded in memory (or even functions in principle) once, and be used by more than one program, and even by more than one user. They would have
- Dynamically adding methods to a Snit object
18 Oct 2008 — have explicit
support for this functionality built-in. However, it is still possible to achieve,
and even quite elegantly, using the existing delegation facilities. Note that there
may be other ways to
- e.g.
04 Sep 2008 — result is not the one expected, this is reported on stdout; and in the end, you even get a little statistics, somehow like [tcltest].
----
# PROLOG -- self-test: if this file is sourced
- e4graph
16 May 2012 — about, not having to know about other connections represented in the data set.
[[Cool things: swappable, even scriptable, back end, at least
architecturally. Arbitrary data stores. Conceptual power.
Embeddability. Portability of data
- e: a packaged tiny editor for eTcl
21 Oct 2008 — start an app with a series of [package require]s, that code will be [source]d even though it may not be used at all. With auto_index, source occurs on demand
- e: a tiny editor plugin for eTcl
12 Nov 2008 — m Goto Bottom {.t.t see end}
And for a feature that most M$ editors, and even [emacs] don't fully provide: displaying the cursor line and column position. For this I
- Eagle: Re-implementing Tcl in C#
07 Jul 2009 — In some scenarios, an Interpreter object may even be used by multiple threads at the same time.
[JMN] "In some scenarios, an Interpreter object may even be used by multiple threads at
- EAN-8 Barcode Generator
05 Oct 2008 — ean8_csum {number} {
set sum 0
foreach {odd even} [split "[string range ${number} 0 6]0" ""] {
incr sum [expr {$odd*3}]
incr sum [expr {$even*1}]
}
set check [expr {$sum % 10}]
if
- EAN-13 encode/decode functions
06 Jan 2012 — bar/space widths
#Lefthand digits start with spaces, righthand with bars
#Lefthand-even are pattern inverse of odd: zero: 3211 ==even==> 1123
set digits {
{3 2 1 1}.
{2 2 2 1
- EAN-13 generation
05 Apr 2011 — add them up
#and multiply by 3. Add to that the sum of the remaining six even positions
#The checkdigit is an inverted modulo 10. Eaxample: If the total sum is 87
- easyPasswd
16 Mar 2007 — me. Why, there's even [Password Gorilla], a Tcl-based, portable clone.
-----
[LM] You're right, I use [Password Gorilla] too, but I can code ''myTrulyHardMapPasswd'' again even when these stronger tools
- Eclipse
18 May 2008 — ActiveState TclDevKit (but they don't even think about a license for the DevKit, if they dont get started with Tcl at all). There are even no really good commercial editing tools
- Eclipse Europa TCL Editor (DLTK project)
05 Aug 2011 — to even open a project in Tcl perspective is way slower than for other languages.
Folders are hierarchical for good reason - why would you flatten the tree out like this?
Even if
- EclipseDLTK
07 Dec 2008 — out Eclipse 3.3.1.1 with DLTK 0.9 and can't seem to get even basic features (outlining and folding to work). Syntax coloring works fine, but not much else
- editwindow
07 Dec 2009 — this notice is included verbatim in any
# distributions.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# ------------------------------------------------------------------------
package require Tk 8
- eDonkey
05 Aug 2006 — your client is not turned on, or as a proof-of-concept
of the fact that even with dynamic IP address is possible to identify people on internet using fixed information the
- eigenvalues and electronics
29 Mar 2005 — so forward circles who often seem to think they can understand computers by really miserable and even evil ideas and projections of human functioning, a lot of wrong and dangerous ideas exist
- Eigenvalues of a matrix
25 Oct 2006 — 1 0 1} is approx 0.557506665977 0.702414383919 0.442493334025, largest eigenvalue is 2.2599210499
Even though the original vector is near an eigenvector the algorithm still finds the largest eigenvalue
- Eight Queens, minimalistic
11 Mar 2011 — j {0 1 2 3 4 5 6 7} {
set o [expr {($i+$j)%2 ? "odd" : "even"}]
set coords [list [* $i 40] [* $j 40]\
[* [+ $i 1] 40] [* [+ $j 1] 40]]
$canvas create
- Einfach Tcl
19 Sep 2008 — Richard Suchenwirth] -
''This page ("simply Tcl") is in German for even more i18n;-) It is the draft of a planned presentation.
First thought of ppt or Word, but somehow I preferred the
- Electric Fence
02 Mar 2004 — that is used to debug memory usage errors in C programs. It helps with Tcl extensions and even possibly with the Tcl core.
http://perens.com/FreeSoftware/
----
See also: [Valgrind]
----
[Category Debugging]
- Elegance vs. performance
17 Apr 2011 — blue) remains pretty linear. sum3 (green) is initially worse than sum 1, but from the break-even point on it's better:
[WikiDbImage elegance.jpg]
======
pack [canvas .c -bg white -width 600
- element
10 Jan 2012 — that's fine. However, I assert that if I
read a string from a file, or even get it from a user, but have done
nothing to make it list safe, that
- Elmer
14 Jul 2011 — string is automatically converted to a Python string object...no special quoting
required. Python objects are even handled and can be passed to other Python code
through the Tcl interpreter.
Elmer allows
- Emacs
06 Jul 2010 — all convenient or natural to have to use special syntax to make a variable name usable, even though I know perfectly well how to do it. By the same token, very few
- emacs mode enhancement
16 Sep 2008 — options to something like C-x \, move your cursor onto a line of Tcl code (or even a continuation line), press the magic keystroke, and voila!
(defun tcl-multiline-options ()
"spread option
- Embedding Images in the Wiki
11 Dec 2009 — to add a dot before the http, or wiki would have changed it to a ref even though I doubled up on the [['s)
Sheesh, we're not picky :-)
--[Bryan Oakley]
''Sheesh
- Emmanuel Frecon
20 May 2011 — masks using the same names as their Windows constants counterparts and represent structures by lists of even length containing the keys and values of the structures.
* notifier [http://www.sics.se/~emmanuel
- Emulating closures in Tcl
21 Jul 2011 — try {
uplevel $block
} finally {
catch {cd $cd}
}
}
======
This is safer because it tries to undo things even on an [error], and doesn't keel over horribly if the original directory is ripped
- encoding system
01 Oct 2011 — cp437 for [KBK] in New York and me in Germany. Reconfiguring stdout doesn't really work - even if you
======
fconfigure stdout -encoding cp1252
======
the stubborn thing still stays with cp437...
[MG] does
- encryption
26 Jan 2012 — text) from which it is not easy to recover either the plain text or the key ''even if the algorithm used is known''. Reversing the process (getting the plain text from the
- Endecalogue
09 Mar 2003 — Greek ''deka-logos''. By the same means, English has ''catalogue'', and even ''endecane.''
[RS] agrees, and thinks the story is even more complicated, since the trailing -ue seems to indicate that the
- Engineering Notation
11 Sep 2011 — way this could be simplified ?
[Bryan Oakley] notes: that's a lot of unbraced expressions!
''[MJ] - even more so if you consider that if and elseif pass the first following argument to
- English number reader
10 Jun 2011 — if possible, by building up, and finally evaluating, an expression. It passes Dan's test cases,
even supports some outdated formats (backwards compatible ;-)
en2num {four score and seven}
87
en2num {one and
- Enhanced photo image copy command
04 Apr 2012 — think I found a heavy bug: if "image create photo" is used in a namespace or even if there is :: in the image name my app crashes. A workaround is to rename
- Ensemble
17 May 2012 — author for
integration. But that may not always work - two people might have
alternative implmentations (or even different functional
implmentations for the same subcommand name).
In some languages, each subcommand gets its
- ensemble with parameters
22 Jul 2010 — gets by assigning fixed values to the parameters is still useful to reason about — perhaps even more useful than the general function.
In the case of '''[math]::special::Jn''', all of
- Entities
14 Mar 2012 — gt;
is equivalent to the "greater" sign, >. In Tcl, variable names prefixed with $ do string substitutions, even inside another string (if not braced). Consider this example, where initially two "entities" are defined
- Entry Validation
29 Jul 2011 — in it will be violated when you are entering the first of them - and it is even possible that you will want several different kinds of validation, depending on whether it is
- env
07 Nov 2010 — to
result in behavior that your code may not expect. So it is better to not
even try to do this on Windows, rather than attempt to write around the quirks.
There
- epcEdit
03 Nov 2009 — is a highly customizable editor for [XML] or [SGML] documents.
epcEdit allows you to easily edit even huge XML or SGML documents with complete control over the document structure. It contains an
- Erasure Tolerant Codes
16 Feb 2008 — to be somewhat securely stored, that meant that one should be able
to access the data even when one or more of the servers were down.
A bit of 'Googling' showed that
- Eratosthenes Sieve
18 May 2012 — small primes.
Some things to try when running the script:
* Try reshaping the table to an even number of columns, say 16, and click the first few entries in column 15. Now
- Errors management
12 Feb 2010 — books, the use of a `return` command in the end of a procedure is always recommended even if no value is actually returned (i.e., like Pascal procedures or C "void functions
- Errx
25 Jul 2006 — daily already, although the
more fancy things (like the bt) are not yet fully finished or
even nonexistant.
[MSW]
----
Make it simple, paste it here - code on a wiki page, with the
- escargo
28 Apr 2011 — says that there is a complete command. However, that is true
# for the empty string and even a list of empty strings.
# Don't bother to safeguard against those for now.
proc
- Essay on Tcl/Tk
18 Mar 2006 — was afraid of nothing: neither Basic, nor Perl [http://wolf-dieter-busch.de/makelisp.htm], nor even Snobol. I tried them all – with the one exception of Tcl. Don't ask
- Estimating Mountain Height Using Look Angles, Etcl Console Example
15 Jun 2011 — represented.
----
[gold] Certainly a good suggestion. The textbook used Greek letters alpha and beta, which were even more ivory tower thinking.
----
***References:***
* http://www.grc.nasa.gov/WWW/K-12/airplane/kitedrv
- eTcl
19 Jan 2011 — etclrc) even if not interactive started. Perhaps in an alternative file for different behavior.
----
2006-05-01 [czp] I am very excited ! eTcl is a small wish-to-come-true. I even
- EU-Commander
20 May 2010 — 4.15). There is a 'tremendous' speedup in working with the EU-Commander (V 0.84). Even loading large pictures is very fast now. With the new version I will also add
- eval
28 Nov 2011 — is introduced since tcl8.5, eval is the way to expand lists to use as arguments. Even though now pretty much replaced by `[{*}]`, eval is still used a lot for scripts intended
- Evaluating polynomial functions
18 May 2012 — guarantees a function's approximation will even be perfect when the degree of the approximated function is reached, it is intuitive enough for advanced mathamaticians, and even the absolute error bounds can
- event loop
27 Apr 2011 — special mention of [David Gravereaux]'s demonstration with [TES] of a safe way to combine the Tcl event loop with the Windows message pump (even in the presence of threading).
<<categories>>Gui
- event processing & garbage collection in Tcl and Tk
22 Sep 2011 — believe that events (i.e. events that are hardware interrupts) may well delay or interrupt (or even cancel) any running garbage collection. A practical code example showing that animation speed in widgets
- Event programming and why it is relevant to Tcl/Tk programming
14 Dec 2010 — some event handlers and to start accepting events using the [[vwait]] command. In [Tk], things are even easier as the library sets up a load of handlers anyway, and also starts up
- Event tutorial
19 Feb 2007 — a key) and takes an appropriate action (execute the correct switch case). To make the correspondance even clearer:
In this example, the while acts as the event loop, the gets generates the
- event/response delay investigation
18 Dec 2005 — my results are achieved on a windows platform. Another platform might need another [every], or may even fail to achieve a 1 ms resolution.
Screenshot:
[http://www.msp430web.de/misc/oscilltest.png
- Everything is a dict
03 May 2007 — not. Before 8.5, the concept of [dict] - a pure-value key->value mapping - isn't even supported by the [Tcl] core (though an extension is available for 8.4).
But playing
- everything is a list
13 Dec 2008 — convinced that the [EIAS] point of
view is not only a shortcoming, but it could be even a great benefit
to consider that [Everything is a list] of strings.
First I want
- everything is a string
25 Nov 2011 — to come with its own library for printing values, doing I/O, initialising variables, and often even for copying values. In Tcl all that is immediately available, since it can be done
- Everything's a ...
31 Mar 2003 — one who writes them.
And I'm still discovering in how many situation we don't even have to write a proc, when an ''[interp] alias'' can do it in a lightweight
- Evolving the Tcl/Tk Core
16 Mar 2011 — build cross-platform. (Only 24 hours per day!)
* Maybe the code works just as well (or even better) as an extension package. (For example, [Expect] works just fine without being included in
- Example of reading and writing to a piped command
22 Sep 2011 — arg1 arg2 arg3 ...]]'''. This protects against whitespace embedded in the arguments from futzing up the works. Even though there's no problem with your command line, one day you might change it
- Example Scripts Everybody Should Have
14 Jun 2011 — decreasing -- numberfile1.txt numberfile2.txt
----
**uniq**
This is actually one of the simplest Unix utilities, but even so I will only produce a cut-down version here. The only option I support
- Excel
03 Dec 2011 — fields are multi-line (eg, paragraphed text)? Microsoft's own export function is rubbish at this. (Even something which converts an in-field newline to a tab or space would be a
- exchanging variables between interpreters
15 Jun 2010 — do that.
The trick is: traces. With traces you can change the value of a variable, even if you just read it.
The program below merely illustrates the process, it should be
- exec
09 Jan 2012 — the end of switches. The argument following this one will be treated as the first arg even if it starts with a `-`.
**Examples summarizing various methods of `exec`**
* Simple command:
======
exec /bin
- exec magic
31 Aug 2011 — you may want to invoke "wish" instead of "tclsh", like so:
#! /usr/bin/env wish
though even better is
===
#! /usr/bin/env wish
package require Tk
===
In this way, not only would
- exec quotes problem
04 May 2012 — MJ] The main issue with exec quoting seems to be that the automatic quoting exec applies (even though it is correct and convenient most times) sometimes gets in the way. It would
- execline
10 May 2011 — everything up until the ''';''' which corresponds to the closing brace). I think you get the picture.
Even though there's no resident interpreter, the above script manages to maintain state. It does
- execx
28 Jun 2009 — Beside different progs I use this tool in a project that takes the concept to an even higher level: if a requested tool is neither on the local search path, nor in
- exit
23 Oct 2010 — s Tcl guys, remember??
----
I also noticed that exit is being called when the program ends even if you do not call exit. this can be useful if you want a certain
- Expect
13 Dec 2011 — Extension (JATE).
People use Expect to automate interaction with non-[GUI] (and typically non-cursor-controlled, even though a persevering Expect programmer can tackle them, too) applications that prompt the user for
- Expect and Tclkit
22 Jul 2009 — s [Tcl Dev Kit] has full support for including Expect in starkits and starpacks. You can even do it on Windows [http://www.activestate.com/Products/Expect/].
----
The following is an old
- Expect Examples
05 May 2011 — is already set up before you run the Tcl Script, simply use ''spawn "ls -l"'' or even ''set processHandle [[open "|ls -l 2>&1" RDONLY]]''. My example is good for long-running
- Expect for languages other than Tcl
20 Sep 2010 — and powerful channel-processing capabilities, and event-oriented ones in particular, that other Expects don't even attempt. ''However'', only a small minority of Expect programmers ever use these. In fact, many
- expect in pure Tcl
03 Jan 2012 — which creates pseudo-ttys in Linux. This way, it works fine, even with programs that don't flush the prompt, or even worse programs that don't want to send a prompt
- Experiences with a custom tclsh
11 Sep 2002 — 3 -ltclstub8.3 libreader1.a libreader2.a -lm
(slightly edited, irrelevant details have been omitted)
Notes:
* Even though "stubs" are enabled, you still need to link against the Tcl library itself, as
- Experiments with matrix operations
07 Aug 2011 — april 2004) I have implemented two versions of a matrix-matrix multiplication and the trend continues: even though I create two transposed versions of the matrix in the list-of-lists implementation
- expr
20 Oct 2010 — floating point hardware allows this to be configurable to nearest even, nearest odd, and a few more options. But usually nearest even is the default. The result may seem inconsistent, but it
- expr shorthand for Tcl9
02 Mar 2012 — this then -- as is evident from us even invoking this extraordinary law -- these people obviously must have been evildoers anyway)."
4. None of this has even begun to address the problem of
- Expression parsing
10 Jun 2011 — Richard Suchenwirth] 2002-06-09 - Arithmetics in Tcl is made easy with
the [expr] command, which even, in contrast to Tcl's Polish (operator first,
then operands) style, accepts the popular (from
- Extending Tcl
16 Sep 2011 — common?]],
but sometimes a program usable as an EM already exists and then one doesn't even have to create it.
An EM typically communicates with a Tcl pipe created with [open
- Extension Developer's Wishlist for Tcl
20 Jan 2003 — 1. Clear, reproducable instructions and tools for writing extensions that compile on Windows and MacOS (and, even better, across all platforms)
1. Agreed upon standard procedure for extended commands and easily adding
- Extension Stubs Tables
11 Mar 2012 — is, that at
least under linux you don't strictly 'must' use an extension
stubs table, even if you have an extension2, that uses
functions of an extension1 (just export the API
- eZdit
29 Dec 2011 — 58:27'''
Strange editor behavior... I usually use <shift-del> instead of <Ctrl-x>. This works even if a local language is turned on. But <shift-del> deletes symbol immediately after selection
- ezsdx - a small frontend for sdx
23 Mar 2012 — want to convert it to a kit (great.kit), unwrap it, Wrap it back up, or even better be able to Wrap & Run so you can test it.
It's got a
- Falling Marbles
12 Jun 2011 — if {$x > $X1} continue
if {($row & 1) && !($col & 1)} continue ;# Odd row, even column
if {!($row & 1) && ($col & 1)} continue ;# Even row, odd column
.c create oval [bbox $x $y $S(pegsize
- FAQ: HTTP/FTP etc
29 Jan 2007 — can probe pool.ntp.org (a random time server on the Internet) on port 123 or even one of the DNS root servers (port 53).
As Lars pointed out, it doesn't
- Fast Fourier Transform
21 Apr 2012 — zero.
The return value is always in the first format. (The DFT generally produces
complex results even if the input is purely real.) Applying first one
and then the other of these
- FastCGI
02 Dec 2011 — idea is to get away from the mod_<language> and have FastCGI give everyone a robust even playing field. We shall see. Here is a link to the info: [http://kasparov.skife
- Feather Command
10 Feb 2009 — pointer then the unknown command is invoked which normally tries to auto load it or may even try and execute it. This step should not occur when invoking command objects as they
- Ffidl
27 Mar 2012 — Cmd-Shift-A, pressing it makes the blue labelframe flash red.
Note how the hotkey works even with Wish not in front...
#!/bin/sh
#
# Let's ffidl with Carbon HotKeys!
#
# Copyright (c
- Ffix - Ffidl eXtented
22 Jul 2010 — for anyone, and ODBC is not that simple; it's possible that someone would write Tclodbc even in that case. However, I'm sure that '''a lot''' of binary extensions existing today
- fickle
10 Jun 2011 — ifickle 2.04 at http://tcl.jtang.org/fickle/ifickle-2.04.tcl'''
Dr. Groth was even kind enough to supply a sample [[incr Tcl] script for ifickle.
Here it is:
%{
#!/usr
- Fiction!
09 Nov 2008 — return true
interp alias {} fail {} return false
# a useful proc: removes an element from a list,
# even with multiple elements
proc lremove {list elt} {
while {[set i [lsearch -exact $list $elt]]>=0
- Filament - A very lightweight thread package
21 Aug 2008 — consumer_even - in running state, do some trival work, but every
# fifth invocation, wait for a message
filament::new consumer_even vars {i} init {
set i 0
} run {
puts -nonewline " consumer_even
- file attributes
03 Jul 2011 — the [file] man page), that functionality
doesn't appear to be present in Tcl by default. Even the [tclx] extension says
that its [chmod] doesn't exist on Windows.
So what '''does
- file copy
29 Jul 2011 — a directory with a file, or a file with a directory will all result in errors even if '''-force''' was specified. Arguments are processed in the order specified, halting at the first
- file delete
03 Jul 2011 — an error. Trying to delete a read-only file will cause the file to be deleted, even if the '''-force''' flags is not specified. If the '''-force''' option is specified on a
- file forward compatibility
16 Aug 2011 — file_normalize proc for Tcl8.4 behaviour is that 'file normalize' will return the normalized path even if the file does not exist. But this proc requires the file to exist before
- file join
03 Jul 2011 — list/string problem haunts us in tcl all the time... Even [[[list] "a b"]] ends up as a two element list (even though [list] clearly should create a one element list whose
- file nativename
03 Jul 2011 — with forward slashes, which always is the best way to represent paths in Tcl source code, even on Windows. My guess, now, is that the only time we really need the backslashes
- file rename
30 Aug 2011 — A '''--''' marks the end of switches; the argument following the '''--'''
will be treated as a source even if it starts with a '''-'''.
----
<<discussion>>
[jmn] 2008-07-11 On windows, check your version
- File selection dialog for Tile
06 Apr 2011 — file selection dialog for [Tile] as a replacement for [tk_getOpenFile], [tk_getSaveFile], [tk_chooseDirectory] and even more! It was coded by [Schelte Bron].
'''Commands'''
ttk::getOpenFile
ttk::getSaveFile
ttk::chooseDirectory
ttk
- File Upload example
25 Mar 2011 — who may come across these pages: don't bother all too much, I make backups regularly, even intermediate ones on a CD-ROM I can simply drop everything new on, so there
- file writable
03 Jul 2011 — otherwise.
----
<<discussion>>
[RS] just noticed that from Windows 2000 over network boundaries, it may report '''1''' even for directories where I positively may not write. A hacky workaround seems to be:
======
set
- filesystem benchmarking
03 Jul 2011 — 3/8.4 don't correctly check the more complex NTFS Windows user permissions).
''Note 3:'' even with a new (hacked) version of tclbench which allows me to multiply the number of
- fileutil
28 Mar 2011 — upon which to perform functions. They represent, in a sense, shortcuts for various awk scripts.
----
Perhaps even some code like [Glenn Jackman]'s:
proc touch {filename {time ""}} {
if {[string length $time] == 0
- Finite State Machine
24 May 2012 — processor ticks quite deterministically in practice, and when done with so many layers of network processing, even that is quite deterministic in the end for many applications. But of course not overall
- Finite State Machine a tcl example
24 Jan 2011 — would be easy to define them for a larger set of natural numbers in this way, even automatically.
As from common enough mathematical notation, we'd have
#states x #inputs
total state
- Finite state machines
05 Oct 2008 — A control structure. Hmm. The whole pentium or whatever CPU one uses, even when not a von Neuman, and possibly even when outside the broad turing machine boundaries, is full of logical
- First European Tcl/Tk Users Meeting
21 May 2012 — was a very good talk and showed a potentially promising compiler based
on sound principles. He even plans on making a Java backend. I was
convinced that he knows what he's
- First impressions with tcl/tk 8.5.0
01 Aug 2008 — surprised that it is written in Tcl/Tk. ''[HE] I got this reaction in the past even without Tile.''
About the [package require], anyway, all the ttk code is now in the
- Fitting a new Rear-End to Arrays
18 Dec 2011 — arrays and put a new back-end on them based on [list]s, [dict]ionaries, or even something more exotic. There have been attempts to do this in the past ([BLT]'s
- Fixed-point arithmetic
03 May 2011 — ceil" -
"round-to-even" {
set rounding_method $newname
}
default {
return -code error "Rounding method must be one of:
round-up, round-to-zero, floor, ceil or round-to-even"
}
}
return $rounding_method
- Fixing Tk_Uid leaks
27 Dec 2007 — that should be fixed, if only for the legacy apps. I don't think it would even require a TIP of any kind, because it's a serious bug/design fix.
[George
- Flare
12 Nov 2006 — has nothing to do with Tcl but Tclers seem to be pretty knowledgable about other languages even if they do keep coming back to Tcl :) - VPT
Flare is intended to replace Lisp
- flickroo
23 Apr 2012 — You can also use this package and be able to download almost everything from
flickr.com even without a Flickr account or a consumer-key-secret.
In this case you cannot upload
- Flip Flop
23 Jan 2011 — though an overseeable case can be sketched with lots of simplifications. Not strickly simple for engineers even, though, just comparitively speaking.
The idea is doable, though. Its like having a circuit which
- Floating Palette
16 Jul 2009 — open which are placed in a BWidget notebook packed conveniently to one side of the screen. Even with the luxury of using a large monitor in high resolution just for parallel text
- flock
21 Jun 2009 — zero is assumed. If ''length'' is zero, then the lock always extents to end of file, even if the file grows.
If ''origin'' is “'''start'''”, then the ''offset'' is relative
- flow-based programming
18 Jan 2010 — the output from a separate process or a socket
Two new disadvantages are added, which may even be more serious:
* How do you handle the case where [[nocomments]] filters out the entire
- Fltk Tcl binding
03 Dec 2008 — few other places.
This binding is nice because it can coincide visually with a Tk
application, even though the commands and widgets are completely
distinct from Tk.
Currently at version 1.0
- focus
26 Sep 2011 — is an empty string.
'''focus -force''' ''window''
: Sets the focus of ''window'''s display to ''window'', even if the application doesn't currently have the input focus for the display. This command
- font
24 Oct 2010 — b configure -font $font
Found by [Pat Thoyts] in the [Tcl chatroom].
I think you can even bypass the "font create" bit and directly say
.b configure -font [array get attributes] ;# RS
- Font problems
16 Dec 2007 — tried all sorts of things with encodings, and we still
have problems. On top of that, even non-tcl/tk programs, like windows
emacs, are having problems displaying things using these fonts
- font scaling
14 May 2010 — be N pixels, it seems reasonable one would want the font to remain at N pixels even if the scaling factor changes.
I think the following code is a better solution, unless
- for
17 Apr 2011 — set r
}
proc negate-even {x} {expr {$x%2==0 ? -$x : $x}}
map negate-even {0 1 2 3 4 5 6}
======
With [lambda], it could be even simpler. - [RS]: [lmap] is
- forall
21 Jun 2007 — if the same task can be done with nested proc calls (and regular returns), while looking even more similar to the original task specification:
forall a $A {exists b $B {forall c
- foreach
27 Jun 2011 — result of [[lindex $a 0]] and vice versa, which in general is something quite different, and even when it isn't it will result in [shimmering].)
[AMG]: [[[lassign]]] can do both these
- foreach little friends
11 Nov 2011 — into count
counting {int($x)/2*2 == $x} into even
counting "int($x)/2*2 != $x" into odd
}
puts "$sum1, $sum2, $count steps, $even evens, $odd odds"
======
Result:
66, 132, 11 steps
- foriter - a loop command
14 Mar 2006 — i 0 [llength $mylist] {...}
and the llength only executes once, right?
[Sarnold] Exactly! And you may even omit the start argument:
foriter i [llength $mylist] {...}
----
[KPV] Two comments: first, calls to [[llength
- fork
16 Jul 2011 — so it only reports the package being available if critcl is too?
[RS]: True - I've even learnt somewhere that it's best to put the [package provide] at the very end
- fork bomb
28 May 2004 — kill_all.tcl] if you want to test it out. If your system fails to work even as root after starting it then you have problems...
One way of doing it in
- Form widget
01 Feb 2006 — your login callback will look like this:
Docmgr::Login::callback {} {
h1 $::first_name
....
}
----
[RS]: Note that even though the first example uses the ::tk namespace, it is not part of [Tk]. To
- Formatting durations
07 Jul 2011 — variable length. Consider the problem of "what's the day one month after 30 January," or even "what's the time at one day after noon on the day before the clocks
- Formatting ls information in XML
04 Dec 2005 — some hacking to extend it.
Feel free to correct or extend this example to make it even more useful.
See [Formatting file information in CSV] for a variation using the [tcllib] [csv
- Formatting Rules
26 Feb 2012 — get the same background color. When starting table rows with `&|` and ending them with `|&`, odd and even rows get different background colors. The following example:
======
%|a|b|c|d|%
&|eeeee|[Tcl]|g
- Forth
05 Dec 2011 — of Forth is "standalone" rather than on top of any OS. We're losing some (or even many) of its advantages otherwise. Someone described Forth as "Lego among the programming languages" (as
- FOSDEM 2003
05 Aug 2007 — if there's no entrance fee?
[RS]: The FOSDEM page says that they are very willing to take donations,
which in Belgium are even tax-deductible.
See also [FOSDEM 2004]
----
[Category Community]
- Fosdem 2005
14 Dec 2005 — off... ]]
[TV] I was there, and indeed there were various people walking by and in, and even 'wanted' certain lectures, which was ok. I made som e pictures (no full length videos
- Fosdem 2006
05 Aug 2007 — for anything between
switching lights on and off and showing things on the LED display to even driving sound
synthesizer blocks). And generally I'll also be showing my Open Source Analog
- Fossil
24 Mar 2011 — stores content using an enduring file format in an [SQLite] database so that transactions are atomic even if interrupted by a power loss or system crash. Furthermore, automatic self-checks verify that
- Fourteenth Annual Tcl/Tk Conference (2007)
05 Mar 2009 — ve not been able to make a conference, but if it's in New Jersey or even ~2-3 hours driving distance from NJ, I will definitely be there. (I live in
- Fractal Mountains
23 Jul 2011 — of the water level; and redraw does some fancy footwork to keep the same mountain data even if
you vary the number of iterations.
----
The mountains this makes are so nice that
- Fraction Math
11 Aug 2011 — bad. [Fraction Math - Answer to exercise]
[Arjen Markus] I have not yet analysed the above (not even the original one, though both are intriguing), but I do know a two-step approximation
- Franz Wirl
22 Apr 2008 — Initiative GSOC 2008 http://code.google.com/soc/2008/tcl/about.html, I started to think even more TCL and XoTCL.
If you like to contact me please use Franz.Wirl [[at
- fredderic
27 Aug 2010 — usually found writing little Applesoft BASIC programs, instead of doing my grade 5 homework (or sometimes, even in class if an idea hit me). I touched on Assembler (by poking hand-compiled
- Freewrap
18 Oct 2011 — various forms of this application - from wrapping [pure-tcl] scripts to wrapping [tk] and I believe even tk + certain [extension]s.
The pure Tcl version--freewrapTCLSH--generates an executable that's
typically
- Full-adders
14 May 2007 — the bottom), which turn bright or dark depending on whether they get "power".
To make things even more pedagogical, the wires also change
color to red when they carry power. When a
- FullyTransparentDigitalClock
06 Feb 2009 — now and haven't encountered the "tick" problem.
The flickering windows problem doesn't go away even if you move "wm geometry". To see what I mean try this simpler version of
- FullyTransparentDigitalClock2
05 Aug 2009 — and is it going to cause a problem if they just keep accumulating?
Thanks!
Interesting note - even if I run the clock on a remote SPARC Solaris system, and have it display
- Fun with Tcl
15 Apr 2011 — be fun, even if the programmer often searches the ''Holy Grail of the languages''. The discussion is open.
----
[Functional Programming]
Tcl makes it possible, with a common style, and even with some
- Functional Programming
30 Oct 2007 — expressions ("commands" in Tcl) in order - in Lisp this is called "implicit PROG", and yes, they even had a GOTO :).
I'd say functional programming is a style that you can have
- Functional programming (Backus 1977)
04 Jun 2009 — languages and tools need to angle towards simpler interfaces, not bloated systems of apis.
I think even in his examples perhaps his functional forms are still too basic, though I like some
- fuse
18 Jan 2012 — the basic function of the FUSE package a little better, in hopes of using it or even contributing to the Tcl binding project in the future. This is not so easy since
- Future of Tcl/Tk
01 Apr 2008 — docs often expect the user to be familar with the standard C library and sometimes even Unix. Even if the user is using Linux (which is less and less true each year
- Fuzzy string search
18 Jan 2012 — Suchenwirth] 2002-08-03 - Comparing strings for equality is
easily done in Tcl - but returns "unequal" even if strings are "almost
equal", differ in very few positions, e.g. because of a
- Gadgets
14 Jul 2007 — an extra level of listiness in there:
[string map [list @var [list $var]] $typeproc]
You can even lose the $typeproc variables, instead directly including the template. To make things easier still, make
- Gaussian Distribution
16 May 2012 — heads for ten throws.
But of course, it will also happen we throw 6 heads or even 7 tails.
And if we wait long enough, a sequence of 8 head is not
- gbuttons
25 Jul 2009 — I'll use tools that make me more productive (both in terms of development and maintenance) - even at the risk of alienating a few people who don't see the need for
- Geany
03 Jun 2011 — bugging me.. Tcl scripts starting with the #!/bin/sh [exec magic] are treated as shell files, even if their extension is *.tcl. Trying to get the devs to fix this has not
- Gem Game
25 Jul 2011 — when the game is paused.
''[escargo]'' - The timer pauses for me on version 1.5. (It even backs up a little, which
I think is only fair.)
----
''[escargo] 7 Oct 2003'' - I
- Generating a generic platform name
30 Jan 2007 — that the machine is 'capable' of 64-bit.
Since by default Tcl uses the n32 ABI even on IRIX64 machines,
IRIX64 and IRIX are handled the same way. This is what GNU
- Generator
23 Feb 2011 — line [lines /etc/passwd] {
puts "[incr count]: $line"
if {$count > 10} { break }
}
# File will be closed even on early exit
}]
[para]
If you create a generator that consumes another generator (such as
- Genetic Algorithms
27 Aug 2008 — Robert Ladd).
I make no claim to correctness (even though for the listed test case it does seem to work) or to performance (even though it does not turn out that bad
- geodesy
07 Jul 2011 — I'd certainly welcome code that fits a reference geoid into the framework!
(In any case, even large scale maps are usually projected on a polyconic or transverse-Mercator
projection, with geodetic
- get_ints_from_objs
06 Feb 2011 — ERROR;
}
----
[DKF]: Neat. Here are some ideas to take what you've done and make it even cooler (but not much; you've got nice work there.)
* You might want to add
- GetOpt-ish
14 Jun 2011 — TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
namespace eval getopt {
# list of option vars
- gets
25 Nov 2010 — Working with binary data]. It will try to recognize end-of-line characters no matter what, even inside of packets.
If you're using gets in a loop, and want to stop
- gets workaround
09 Feb 2005 — Windows/CE] don't allow this: either stdin reports EOF,
or the channel name is not even known. Here is a workaround that creates
a toplevel window with an entry, which is
- Getting rid of the value/command dichotomy for Tcl 9
17 Apr 2011 — evaluate.
Is there a way to generalize this even further? Could "a(ha)" and [[list a ha]] be synonyms? Would that lead to an even more generic design, which can unify minor
- Getting stock quotes over the internet
30 Apr 2007 — 100
set cash 3285.74
##
# -------------------------------------------------------------------------
#
# "portfolio::getInformation" --
#
# Takes a list of symbols, from Nasdaq, NYSE or even mutual funds etc.,
# and returns a list of results, one for each symbol given.
# Each
- Gimp Client
07 Apr 2009 — static bindings between
procedures). Using this stuff, Tcl can fully access the PDB capabilities of Gimp, even on remote hosts. The API is exactly the Scheme's
one translated to Tcl, with
- GIPSY
06 Apr 2011 — php?lang=en
Description: Visual GUI builder. Uses Tcl/Tk.
Runs cross platform (Windows, Unix, MacOS, even [PocketPC]).
Uses the GNU Artistic License.
Currently at version 2.6 .
Updated: 02/2003
Contact
- GL Fractal Mountains
14 Dec 2005 — on my 1.2gig machine...OpenGL rocks.
..what is windows...what is DirectX...how come we even use Microsoft products
...buy a game that doesnt use OpenGL and you add one more
- glob
23 Oct 2010 — can be used to simulate [ls -l in Tcl].
----
In more recent versions of Tcl, glob even has a flag to specify whether
one wants just directories or files returned.
----
[LV] does
- glob forwards compatibility
27 Nov 2011 — would like a compatibility layer which can be loaded into Tcl 8.0-8.2 (probably even older versions of Tcl too), overriding the old glob to emulate the new one in
- global
22 Oct 2010 — hello
8.2.2
======
----
Using the [variable] command in place of [[global]] is often good
practice, even when the variable ''is'' global. If you later
decide that you want to encapsulate a
- gnocl
09 Apr 2012 — what a problem." Even gnoclCanvas is optional, not required. VTE should be the same. Had you seen any of the disputes about whether Tcl, Tk, and Gnocl should even be included in
- Gnocl Desklets -PhotoAlbum
24 Mar 2011 — interactive application, should not produce icons in the taskbar or have any rendered frame. It might even be the case that non rectangular windows are wanted too. The various settings for the
- Gnocl JukeBox
18 Mar 2011 — occur! However, all that extra power comes from the Gnocl bindings to the Gtk+ libraries so even the a growing Tcl based app remains slim.
Yesterday I listened to my favourite Italian
- gnocl or PyGtk?
22 Nov 2008 — the opinion that too many programmers relish in the complexity of their code, even if the code is terse even for themselves to explain. To compare the Gnocl offering with the pyGTk
- gnocl Popup Menus
28 Nov 2008 — much more conservative. And even, if you think it's curious, believe me: it was a problem. "Been there, done that". The versions needed are making a problem. Even on the OpenBSD
- GNU
27 May 2008 — of anyone developing the [Tcl] core (or common extensions) to compile completely cleanly using this compiler, even when all warnings are turned on.
* the '''[GPL]''', GNU Public License, is a family of
- Good girls don't
10 Jan 2010 — html].
In a nutshell: for me, the essence of scripting is not the language choice,
nor even the level of dynamic typing (which [Tcl], [Perl], Python, and [Lua] all approach differently),
but
- Good Looking Tk
19 Oct 2009 — their clients. Others call for even closer
move to the Windows look and feel for their clients.
The Mac OS X supports want tk to look even more like that environment.
About
- Google Code of Summer 2007 Proposals
04 Mar 2010 — look at how to move Tk's text
widget towards supporting the full CSS2 box model (even if not with the
same syntax, and definitely *without* the HTML parsing!) That would be
- Google Code Wiki parser/help widget
26 Aug 2011 — x [glob -nocomplain -dir $info(filepath) *.wiki] {
if { [catch {open $x r} fid] } {
continue; # Don't even track the filename, since we can't open it to read
}
set filename [file rootname
- Googling with SOAP
11 Sep 2009 — software is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the accompanying file
- Googol magnitude
14 May 2012 — digits
This is an infinitesimal fraction of a googleplex. So infinitesimal we could not express it !
Even after one billion year of printing, we'll have about 3.2 * 10**38 digits
- Goto in Tcl
28 Dec 2011 — hell}}
3 {puts 3:$n; goto 1}
hell {puts hell!}
}
======
Looks good enough, runs good enough even if I put the limit at 50000. ''break'' terminates the state engine, as would an
- GPL Scripts
08 Jan 2007 — reasons. One is that copyright law is federal law (in North America at any rate) and even in relative backwaters federal judges are pretty sophisticated. Furthermore, a goofy decision on the law
- grab
24 Oct 2010 — yes, global grabs should be avoided if at all possible. Even then, they should be avoided unless absolutely, positively unavoidable. And yet, even then you need to think twice before doing it
- Grab Tips
10 Feb 2009 — are extremely difficult to handle otherwise, but which can do tremendous damage to your application or even to your session/GUI/OS (when you're using global grabs.) It is probably better
- Graph Manipulations
11 Dec 2009 — – throughput, net construction.
* '''5. Max Matching:'''
* - Edmonds Algorithm
* Important problem, very useful and there is even saved space in struct::graph::op for it:)
'''Approximation Algorithms:'''
* '''1. Travelling salesman problem'''
* - Metric
- Greatest common denominator
11 Aug 2011 — are both even => gcd(p,q) = 2gcd(p/2,q/2)
if p is odd and q is even => gcd(p,q) = gcd(p,q/2)
if p is even and q
- Gregor: A DSL for building semester calendars
06 Jul 2009 — It's not a "do once and forget it" task. Topics change from semester to semester (even when teaching the same course). Dates change each semester. Holidays are not always in the
- GRIDPLUS
27 May 2008 — is (where possible) based on [Tile] widgets and also features some major enhancements which can reduce even further the coding required to achieve the required window/widget layout. More later...
[JAG] - Adrian
- GRIDPLUS2
04 Apr 2012 — started on GRIDPLUS2 a while back. Tcl/Tk 8.5 had been around for a while even then, and I assumed that it would be "stable" by the time GRIDPLUS2 was finished
- gsm
13 Jun 2009 — encoding]
----
[dzach] 2006-8-1: I was trying the library, and sent a message in greek, even in lowcase! That's very nice! Is there any way to receive a message or
- GSoC Idea: Build system for extensions
11 Mar 2011 — critcl is a big ask, although it could obviously be made even simpler by critcl's being packaged in tcllib or even the core.
In a way, the apparent misunderstanding of what
- GSoC Idea: Core Performance Analysis
29 Mar 2011 — which directly use and measure the performance of various sets of API functions, internals, etc.
Possibly even develop/collect a suite of applications which can be used to measure real-world performance
- GSoC Idea: Fossil Tk Client
16 Mar 2011 — would allow the plug-in drivers to be tested without requiring a working GUI.
It should even be possible to have [tcltest] scripts that automate the testing of the drivers.
This also
- GSoC Idea: More mtmtcl structures
11 Mar 2011 — for the computations I wanted to do, and consequently there are some gaps in its coverage even for rather elementary things. The project would then be to fill those in. Some possibilities
- GSoC Idea: Parser For expr Command
19 Mar 2012 — function "cos" with argument -1. This is an artifact of the way Tcl follows C usage even though its own syntax is very different. In order to support arrays, some new notation
- GSoC Idea: Parsing mathematical expressions
11 Mar 2011 — job, but it is still a fair amount of work to make it practical. You could even
add extra functionality here, like the introduction of custom operations.
Benefits for the student: learn
- GSOC2010:Themed Tk on Unix
16 Aug 2010 — enough to run real applications (Coccinella uses tile-qt as the default theme on my system, even when running GNOME).
Dominant language in Tile-gtk is cpp - 4734 lines, which is 80
- GSoC: Tips for accepted students
27 Apr 2011 — with mentor
* use tcl-gsoc mailing list to consult project's functionalities present achievements (it's even recommended)
2. Don't hesitate to explicitly ask not only a mentor but also on
- GTK Stardust-like theme for Ttk widgets?
29 Jan 2009 — people actually seem to prefer the [GTK]2 look to anything you can get with [Tk], even in 8.5. I don't for the most part, but I've got to
- GUI separate from the backend code
13 Jun 2004 — pointer relationship, but designed to be understandable and formally tracable. That such idea of 'streaming' a even heavy graphics protocol can work is proven by every unix/linux machine with X on
- GUID and UUID
24 Mar 2010 — t know if it's a peculiarity of my machine's network configuration or not - but even so it seems to me that this tcllib package should avoid calls that may take
- Guidelines for writing big Tcl applications
19 Dec 2011 — Guidelines for writing big applications in Tcl**
[Lectus]:
Even though Tcl is a scripting language, it has been used for large projects as a full programming language.
I created this page to
- gzip
25 Aug 2011 — program) that uses an ''unpatented'' (and unpatentable) algorithm for its compression. The program [bzip2] can compress even more, but takes more memory to do so.
The [zlib] library uses the same algorithms
- Hack the Wiki Style to Your Liking
17 Jan 2008 — old look and, while at it, changed it a little. I decided to share my solution. Even if you don't like it, you can hack it. Except that, of course, if
- Halting Problem
27 Mar 2009 — can'' prove in special cases whether a program will or will not halt, and you can even do so automatically if you can enumerate all of the program's possible states, and
- Handling internet addresses
07 Feb 2009 — 192.168.0.4 within 192.168.0.0./24
or within 192.16./16 or even within 192.168.0.0./255.255.255.0?
Here are a few helper functions
- handling of ANSI terminals using Expect
23 Aug 2005 — txt}] "\n" txt
return ${txt}
}
----
There are devices building the screen not line by line.
I even found devices that try to be intelligent and speed up the terminal output by just
- Hard Archiving Strategy using Tcl as master control
09 Nov 2011 — no knowledge of the Tiff image format or of how to decode that format. I.e., even if they were to type in 16MB+ of base64 data, and successfully decode it (again
- Harry Robinson
22 Nov 2004 — TCL experts! And this TCL programming language has been devised so smartly, it is just amazing. Even an old brain like mine can understand how it works! :-)
-----
[Protecting a TCL program against
- Haskell
20 Nov 2006 — if a language will precalculate all its possible branches... but this is not realistic. These lines, even writen in C (very non-lazy language) will not divide by 0.
''[NEM]: Yes, but
- hat0
04 Apr 2012 — a literal, even though the list inputs to practical list comprehensions nearly always come from variables. Replace with "`foo [[map $bar {a b c d}]]`" and it looks pretty good. Even better
- HDL
29 Jun 2003 — engineering considerations or even mathematicals about such sec subject, but from physics and electrical engineering, where mathematically very complicated circuits were designed and verified long before the time even the transistor, let
- Hearts
06 Oct 2007 — I do the other AIs, since otherwise it's going to be a little too basic, even for an 'easy' player. (Right now, though, it has the advantage of making it easy
- Heblish
04 Jul 2011 — output file.
But parallel output to the DOS window (stdout) does not show the Hebrew lettering;
Even if I change stdout's encoding via "fconfigure stdout -encoding xxxx";
I've tried UTF
- Hebrew
01 Jun 2005 — ago I wanted to be able to write greek and hebrew computer texts, before I'd even heard of unicode, and since I was quite used to tcl/tk, I made an
- Hebrew numbers
30 Jun 2007 — position (index 0) of each ''range''
list as a sort of "data-comment", which increases readability even if
looking unusual for Tcl (or in fact, any language I'm aware of).
proc
- Help! My Tcl application just hung!
12 Feb 2005 — January 2005: The "/" if the filename is correct; because Tcl always uses "/" as the file separator, even on Windows. To get backslashes use:-
wm title . "File = [file nativename $fidd]"
The rest of
- Help.kit
15 Jul 2009 — should also copy en.htm(l) to index.htm(l) if you want it to work even with unsupported languages. You can have a look at the content of this starkit for
- Here document
30 Jun 2011 — line breaks and other whitespace (including indentation) in the text. Some languages allow variable interpolation or even code to be evaluated inside of the string."
----
''[EKB]: FB, I agree with your point
- hexadecimal conversions
15 Feb 2011 — 02x }" $i $i ]"
}
}
string map $mycharMap $convertString
}
#example:
set hexcharMap "" ;# global variable
xxd2 hexcharMap "abcdz" ;# slow, even if initialized
string map $hexcharMap "abcdez" ;# much faster
----
[Bob Rashkin] I know there are plenty
- hgedit
24 Jan 2011 — directories under the pages which contain
greek/hebrew glyphs to make a generally readable page for even the oldest browser.
Caching of the characters makes displaying them fast enough after the first
- hidden cursor
13 May 2011 — gumby blue red } }
======
On my Debian Box, this shows Gumby, so not a success. It is even less successful under Windows:
Error: bad cursor spec " gumby blue red "
The documented "no" cursor
- Hidden Forces in the Information Technology world
17 Apr 2011 — of this. -[jcw]''
----
I thought that was obvious: tcl is a FREE language, from the start even (as far as I go back at least), and it was primarily made for a
- High-level wrapper for pdf4tcl
03 Jul 2011 — header both} {left middle right} {
set header_even [list $left $middle $right]
set header_odd $header_even
}
method {header even} {left middle right} {
set header_even [list $left $middle $right]
}
method {header
- Higher level C API
14 Nov 2008 — test of arguments.
10) In interactive mode (i.e. TkCon) either intellegent name completion or maybe even automatically
generate small GUIs to help enter in commands arguments.
What is needed is.
1
- HiLo
03 Sep 2009 — like the biggest problem with this program is the simple [gets] for reading from the user.
Even the FAQ at http://www.tcl.tk/man/tcl8.4/TclCmd/gets.htm and the
- History of TCL_EVAL_INVOKE
11 Sep 2008 — namespace tail]] and some [[namespace current]] allows the FQ name of the proc to be determined, even if it was renamed or accessed via an import or alias. If [[info level 0
- HL7
08 Dec 2005 — empty string.
set var [hl7string [lindex $segment $fieldno]]
} else {
#More than one fieldname: split another level
#Even better would have been the same syntax for each sublevel
#and then call a function
- hoco an homogeneous coordinates package
25 Sep 2011 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Holon - a simple programming system
22 Jul 2011 — readability: Source as a text file remains readable, even after a long time has passed -- programs written 30 years ago can still be read, even if modifications may be necessary to make
- Home, End and other formatting problems
28 Jan 2012 — almost a year later -to the day. The bug has been fixed even on my editor and the fix works even on Windows 98, to boot! Wow! It's a new day
- horoscope pie plotter
21 May 2011 — heard of apple pie, blueberry pie, and even funeral pie but horoscope? (Less snidely put, pages full of code with no exposition at all (even in the comments) are a bit less
- How can I calculate how much disk space is being used in a directory
13 Aug 2011 — those in where I need them - or even reinvent them (or rewrite from memory). A single file is still the most robust unit of deployment, even if not a [Starkit]...
----
[LV] I
- How can I compile Tcl type scripts into binary code
29 Apr 2011 — Tcl compiler] are the strongest protection because they actually obfuscate in such a way that not even runtime introspection would reveal your code. The latter is arguably the best, as it translates
- How can I do this awk like operation in Tcl
23 Feb 2006 — default or specifiable FS into variables 1..NF, where NF gives the number of fields.
It even reconstructs $0 if you assign to one of the fields.
''Side note:'' while $1 in
- How can I get input from a user and then safely make use of it?
18 Mar 2009 — Okay, here's an example:
======
$ tclsh
% gets stdin ans
This is a test with $ and { and even ] in it.
46
% glob $ans
unmatched open-brace in file name
%
======
This is an example
- How can I make effective use of the BWidgets toolset
04 Dec 2005 — drops the menu isnot accessible). The background of the menu that drops is accessible. I have even written a recursive routine to find all widgets beneath the MainFrame, and changed their colour
- How can Tcl programs on two different machines communicate
09 May 2012 — code your own tiny process server in Tcl for the Unix host. At that point, an even tinier Tcl-based client can tickle it to accomplish the result you're after.
: I
- How can the community help
07 Jul 2010 — 1. There are other things - follow up with more examples!
I know that reporting problems, and even griping, is a daily function of
comp.lang.tcl . However, notice that many of the
- How did you discover TCL/TK
22 Aug 2008 — I first stumbled across Tcl in my perennial search for new languages to fool around with. Even amongst such ''exotic'' languages as Smalltalk, FORTH, Perl, Lisp/Scheme and Glish, Tcl was unusual
- how do i do $$var - double dereferencing a variable
28 Aug 2011 — for application programming. Many, ''many'' of the
people who ask about '$$' are coming from [Perl], but, even
there, such double-dereferencing is recognized as a hazardous
error
[http://perl.plover.com/varvarname
- How do I insert text programmatically at the current insertion point
18 Dec 2005 — Madden wrote:
>
> .t index insert
>
> thus:
> .t insert [.t index insert] "Some text\n"
>
It's even better than that, Neil. The word "insert" is a special mark
in the tag widget
- How do I manage lock files in a cross platform manner in Tcl
22 May 2012 — t matter, and only consistent chunks can be read. The only data that might be inconsistent even if your O/S is failing miserably is the final record if it is currently
- How do I read and write files in Tcl
25 Nov 2011 — I have
a ] and other such things, will they remain?
And what about extra spaces or even a tab?
$ tclsh8.6
% set fd [open "/tmp/testdata.txt" "r"]
file4
% set a [read
- How do I remove one line from a file?
18 Nov 2011 — the same?]]
[AMG]: Here ya go:
sed 4d infile > outfile
You tried too hard. :^) This is even simpler than your [awk] version. Sed is a wonderful thing... too bad it's a
- How do Wiki Categories work
12 Feb 2011 — the link is.
Hence this page will show up as belonging to all the categories below,
even though the '''Category Tcler's Wiki''' is the only one which makes sense.
----
The following
- How does Tcl work in the cloud?
02 Jul 2011 — everyone; that's just horribly inefficient"
* "... the location of things matters, but it did before anyway even if people didn't know it"
* "grid computing is focussed very much on scientific computing
- How one discovers the API for a COM-exporting application
22 Sep 2007 — for Applications, which apparently does not support any mechanism for retrieving the literals of enumeration values, even though the Office applications themselves often display these names to the end user. So people
- How Tcl accesses the Win32 API
11 Nov 2008 — of the SDKs which
are available free of charge. But most projects fear to use or even just look at those
because of possible copyright issues.<<br>>
[APN] The constant values can
- How Tcl is special
07 Jul 2011 — defined function, that function captures all output, even error messages.
----
[KJN] 2004-12-01 delivery of Tcl and Tk as shared libraries by default. Even tclsh and wish use these shared libraries
- How Tk compares to other GUI toolkits
21 Nov 2007 — its second decade of successful
application, Tk remains the most reliable cross-platform GUI toolkit,
besting even [Java]'s [AWT] in its effective coverage.
Beginners also find it easier to start with
- How to build for WinCE
13 Jul 2011 — AWARE", including quotes
* Set Language to Neutral(Default), and close
* Save wish84.exe
Looks '''very''' nice. Even screenmmwidth, and distances in mm/inch, are correct.
----
This page tries to collect information needed
- How to compile Tcl and related C extensions on Windows
15 Dec 2010 — 2007-07, this toolchain doesn't seem to have kept up and doesn't appear to even launch properly on Vista 64bit.
----
[Steve Blinkhorn] wrote on comp.lang.tcl recently [http://groups
- How to create my first Starpack
28 Feb 2012 — starkit.
You can even use your own application for the initial time through; "starkitting" is straightforward enough that people have been successful doing it for the first time even with applications which
- How to debug memory faults in Tcl and extensions
12 Jan 2012 — simply do
export LANG=POSIX
This has further reduced the debugging "noise" for me.
de
----
Unfortunately, even compiled with -DPURIFY and with the (very helpful)
exit redefinition from above, tcl8.4a4 does
- How to embed a non-Tk GUI into a Tk frame
14 Aug 2011 — ident of our [toplevel] or [frame] by [wm].
----
[Rildo Pragana] - For a multimedia window, you may even crop and pan its shown media, with Tk'k place geometry manager, see [Crop multimedia
- How to embed Tcl in C applications
22 Mar 2011 — too, visual basic, even smalltalk, and what else), or special program to control a certain piece of program. When the protocol design is done even better, one can even write generally useable
- how to find my own IP address
18 Jul 2011 — SDW]: DKF, ask and you shall recieve. This script switches between Unix and Windows, and will even detect if your address was
obtained from DHCP.
switch $tcl_platform(platform) {
unix {
########################
# Parse network
- How to grow your own Wiki
30 Apr 2012 — edit the new page. Seems kind of boneheaded, but at least now I know. Hmmm...and even then, the original link stays as linked square brackets (instead of becoming a regular link
- How to make a Tcl application
21 Jan 2004 — particular file, the
other the number of days:
proc listFiles { pattern matchProc days } {
...
}
It would be even nicer to allow an arbitrary number of arguments - then
we do not have to worry
- How to make a Tcl application - part three
08 Apr 2011 — using the wide() function to force ordinary integers into 64-bits integers. ''This type is available even on platforms that do not natively support 64-bits integers!''
The most important aspects of
- How to make a Tcl application - part two
13 Jan 2004 — move/copy this discussion to its own page later).
----
[Lars H] My main concern is that even the first (supposedly
non-object oriented) half of this page is ''far too object-oriented
- How to migrate to Tile
10 Aug 2008 — and a bit of manual tweaking
(this was reasonably possible with Tile < 0.7).
In fact even Tk's built in dialogs will throw errors all over the place
with such an
- How to read answers posted on the comp.lang.tcl newsgroup
27 Dec 2011 — strength of c.l.t. Far closer to the
center of the local ethos are brief, even gnomic, explanations of what
the helper speculates is the crucial ''idea'' of a correct solution
- How To Read Large Strings without Newlines
03 Jun 2011 — any suggestions or similar experience?
----
[AMG]: I wasn't aware of any problems with long strings, even when they lack newlines. The computer I'm on right now takes about thirty milliseconds
- How to run external script from Tk and make it throw output to the console?
09 Mar 2012 — execution indefinitely. Instead they will read or write as much as they can and then return, even if they didn't totally complete the job. (For commands that write, I'm pretty
- How to send a file through a socket connection
28 Jan 2007 — pedagogic.
# You might want this to come from a command-line argument,
# or environment variable, or even let the clients pass
# it in.
set destination_directory /tmp
# A command-line argument is
- How to start with tcllib
11 Jun 2008 — try it out. Actually I don't even know how to start a page on the Wiki so that is why I did not even just do it myself. So, for starters
- How to update a page
17 Dec 2008 — the style I've used here for dates on [TIP]s because it is completely unambiguous (even if not really [i18n]-aware, I admit.) Numeric formats are all very well, but they
- How to use new fonts without installing'em
06 Apr 2009 — font named "Scriptina".
** AFAIK there's nothing in win32 API able to return a font-name, even if the "AddFontResource" function '''DOES''' add the font-name to the system font-table ! ''[Lars
- How to write C-coded extensions for Tcl
06 May 2012 — s time). Just yesterday I tried to compile tclpro on Windows, from the cvs head, and even 'autoconf' failed with an error, which is rather pathetic.
''[JCW] barges in...'' - I've recently
- How was I invoked?
20 Jan 2009 — My intention was maximum speed on generating multiple, partially just once-used local objects
which not even are bound to variables.
----
There's more, though: with 8.5, it becomes possible to
- Howto export Microsoft Outlook contacts to XML using tcom and tDom
09 Jun 2011 — Snippet is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# http://msdn2.microsoft.com
- HP Calculator Simulations
13 Jul 2008 — program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General
- HTML character entity references
14 Mar 2012 — the original domain in odd-indexed slots, and all the members of the original codomain in even-indexed slots, which happens to be just what is needed for the reverse mapping.
----
'''[AK
- HTML generator
08 Jun 2007 — Of course, if you stored your table props in an array or dict it'd be even better:
[<table> [<tr> [<td> {*}$attrs id monster [<b> "Forbidden Planet"]]]]
''[escargo]'' - So one of the
- HTML to DOM via http/htmlparse/struct::tree packages
24 Mar 2010 — this code it is possible to:
* specify an URL to download the HTML data from (following even redirections)
* specify a path to a HTML file
* specify already loaded/built/... HTML data
... to
- HTML widgets
18 Jun 2010 — TkGecko]. Unfortunately both did not manage to reach a production release.
To support WYSIWYG editor
If even implemented, an HTML widget can also offer user editing of rich text content, like that
- htmlparse
18 Feb 2008 — tags before the rest of the parse can see them
(and get confused by them), or even switching to a different HTML parser. (I did try tDOM, but
it gets confused by
- http
22 Jan 2012 — complaint that [socket] blocks
in the form [[socket $host $port]] when $host does not exist/respond,
even when the ''-async'' option is used.
This basically further maps into a complaint that gethostbyname
- http::formatQuery
08 Mar 2010 — should be equivalent, many implementations don't recognize either of those variants.
As it turns out, even Amazon's Product Advertising API requires query strings to use upper case character triplets..
This
- hubs remote interp
01 Apr 2011 — a new alias is creaed with
a ''cmd'' equivalent to the ''cmd'' of the original alias,
even if the original has been renamed. An alias can also be
deleted on the remote
- Huffman coding
16 Mar 2005 — given
the overly simple 26 character alphabet that I use - no digits or
special chars, not even blank can be represented), but I expect such a
construct to be badly maintainable, and
- Huffman coding, part 2
24 Nov 2005 — with the binary string,
you get an idea how much compression is possible with this approach:
even the custom Huffman map together with the binary string comes out
shorter than the original
- Hugelist
29 Jun 2010 — for the Tk 8.4 [listbox].
[ulis hugelist image]
It adds functionalities as:
* alternate color for even lines,
* each item can change its image, its left offset, its font.
So it's
- Hyperlinks on a canvas
07 Aug 2011 — Explicit bindings are needed for highlighting on (ButtonPress) and highlighting off (Leave).
This feels very roundabout (even though it is still probably easier than
most C APIs would be), probably too complicated
- hypot
23 Apr 2008 — topic, since I am not aware of any quality line drawing algorithms that use hypot() or even sqrt().
----
[AMG]: Feature request! Why not extend hypot() to take any number of arguments? In
- I have a script in a text file - how do I run it
22 Sep 2011 — FILE itself "clickable".
If its name is of the form
NAME.tcl
it should be, already. Even once its launched, there might still
be issues about this mode; a conventional installation "hides
- I love foreach
17 May 2011 — be annoying--it's
prolix and confusing to the initiate: when is a comment a comment? (even
[JO] got that one wrong), always having to use [expr] to do any math,
the
- I worry about Tcl's future
04 Dec 2011 — learn. And even when you do know more than one language, most developers seem to prefer to use just one most of the time if not all of the time. Even more
- i18n - Tcl for the world
25 Jul 2009 — Ligatures, groups of two or more letters, can at times be treated as one character (arranged even in more than one line, as seen in Japanese U+337F ㍿ or Arabic U
- i18n - Writing for the world
14 Mar 2007 — widely; even in India it has
national language status. Add the US, (most parts of) Canada, Australia, and of course it still dominates communications on the Web. But talking of writing: even
- i18n tester
23 Oct 2007 — not Latin characters only, given the number of people that use them) may not show up, even if you have installed the proper fonts.
This may have to do with rebooting your
- Iapp
03 Apr 2006 — each user would be an instance
3/ most data would be cached using Tcl_Objs (maybe even not using nscache)
4/ Background jobs could also use the same thread, using common non
- ical
08 Jun 2011 — net/ical/
----
January 2010: Has anyone successfully tried to port the C-Code to windows or even compile it on a windows machine? Would be great to get Ical portable as a
- Iching_Fortunes
21 May 2011 — authors have pointed out that a few of the hexagrams look similar to
Chinese characters or even Mayan calendar notation. Without wading too deep
into alternate realities, the Iching hexagrams could be
- ico
06 Jan 2012 — my other files.
[AF] says glad you found it useful, I just want to make this even easier:
package require ico
set newico "new.ico"
set old [list foo.ico bar.ico
- Icon
11 Nov 2008 — icon/index.htm] is a programming
language with a long and rich history, although it is even more
obscure than Tcl.
''Also, see [About Tcl and popularity]''
There are several points of
- iConnect4
10 Jan 2012 — a row (horizontal, vertical,
diagonal), you win.
Computer Opponent
You may play against the computer
or even have it play itself. You
may halt the computer by changing
it back to a
- IDE
22 Oct 2009 — at first sight. Editing with syntax coloring; Debugging with breakpoints, variable watches, step over/step into. Even debugging of c++ code. I haven't used it yet, but it does look promising
- IDE: from cathedral to patchwork bazaar
09 Jun 2008 — emacs] or [vi], or even Wordpad, which are feature-poorer than full-fledged IDEs, and yet they achieve much with little.
Edit here, test there, works smoothly even on a [PocketPC]. An
- Ideas for a numerical analysis package
12 Aug 2011 — use framework out of this. The design issues are:
* Comfortable use from within Tcl
* Acceptable performance, even with large sets of data
* Easy to pass to and from binary extensions
My first
- Ideas for Wikit enhancements
26 Oct 2010 — their learning curve is slowly becoming as steep as HTML or LaTeX or even worse (Word!). Actually, I even find the rendered HTML pages difficult to read (and so difficult to use
- Ideas to Fix the Tk Scrollbar
13 Jun 2006 — indicates that there probably needs to be a kind of proxy calculation which is more approximate (even perhaps the current method) and as time/usage allows, each line calculates its correct geometry
- iDict: a multilingual dictionary
17 Jul 2007 — large-volume data entry with the pen. But it's fully feasible to edit text files, even in Arab, Chinese, Hebrew, or Korean, with e.g. [iKu].
----
[Arts and crafts of Tcl
- idiom
10 Aug 2008 — array references, and [lappend] didn't raise any errors there.
I even tried this:
set a "{"
llength $a
lappend a
and even though llength complains about a having unmatched open brace in
- if
20 Oct 2010 — are conditions and which are code. The odd-numbered arguments (first, third, etc.) are conditions, the even-numbered arguments are code to run when the preceding condition is true, and if there
- If I were to complain
27 Oct 2010 — not be possible in Tcl (depends on the implementation, ripped effect into other changes, etc.), 2: even if that problem might now be easier to solve, other problems that are currently easier
- If we had no if
01 Mar 2010 — name).
[KBK] Hmmm, I think that I had the Church numerals in the [combinator engine]
page even before I wrote the above; you're perfectly right, of course, that
S and K
- If we had no proc
16 Jul 2008 — Since Tcl 8.5 gives us the [apply] command, it is possible to remodel part (or even all?) of the [proc] functionality in its terms, in a devilish cascade of [interp alias
- If we had no variables
28 Sep 2007 — to frown.
In [functional programming], variables are less popular. In [Functional Programming (Backus 1977)] it was even tried to do almost totally without them, by just composing functions instead of data objects
- iKnow: a pocket quiz
26 Oct 2008 — Richard Suchenwirth] 2003-05-15 - As yet another Tcltoy (runnable on a [PocketPC] of course, and even there taking up only half of the screen), here is
a quiz vaguely inspired by
- image
20 Jun 2010 — an image, any proc/command formerly using that name is replaced. This could be frustrating or even disasterous if a user provided a name such as [set] or [interp], etc.
----
The Tk
- Images With Transparency and Plain Images
15 Sep 2011 — extension mmencodes implicitly when writing data with formats gif or jpeg (and maybe others). It is even possible to read a jpeg image and get a mmencoded gif or vice versa.
#! /usr
- Imagine a language
04 May 2011 — tell you how many times I've broken add on libraries written in Perl, Python and even Tcl). -- [Todd Coram]
[jblz] Colin, this reminds me very much of "The Lisp Curse": http
- imap4
29 Jun 2010 — the same code which we have in [Tcllib], waiting for a maintainer to clean it up ?
Even if not, as you can see, there is already a place where your code can
- iMap: an indexed map viewer
25 Jun 2007 — s (and JPEGs even more, but Tk prefers GIF), so it's easy to get some and display them on a [canvas] (for smooth vertical scrolling). Such maps get even better usable
- Implement tcl in tcl
29 Jun 2007 — Tcl:
#
# A lot of course, but this are important stuff you should
# know before to try even some trivial example:
#
# - No 'expr' support, this also changes if/for/while semantic:
# What in
- Implementing enumerated types
27 Jul 2009 — Is there a mechanism whereby I can create [constants] or even better, enumerated types within Tcl?'''
----
''KBK:''
In Tcl, everything is a string, so you can simply use your names as
constants
- Importing auto correct entries into SIM messenger
29 Dec 2011 — auto correct" implementation. I have discussed this here already (see: [AutoCorrect]).
SIM does have "auto correct", even if it's just a half decent implementation. It is a plugin called "Replace text
- Importing expr functions
14 May 2012 — get the integer part of a number, we'd say
set i [expr int($x)]
or even, for more efficient calculation,
set i [expr {int($x)}]
where we have all brackets, braces
- In the beginning - first stop for someone new to Tcl and Tk
28 Aug 2011 — book. The
[BOOK Tcl/Tk for Real Programmers] is another good book, but again, it is even less for non-real programmers. Ousterhout's [Book Tcl and the Tk Toolkit] is a
- incr
22 Dec 2011 — be an integer. ([RS])
<<discussion>>
Work is underway to add more 64 bit support into Tcl. Even when this happens, the increment value is supposedly going to continue to be limited to
- Incremental GUI text search
16 Oct 2009 — configure" doesn't return the existing configuration <shrug>. Anyone is welcome to make improvements and maybe even add it to tklib.
======
namespace eval ::find {
namespace export find
variable config
namespace eval instance
- Indeterminate Progress Bar with Tile
09 Aug 2011 — parent procedure has closed. When I tried that, the progressbar loop would go on and on even after the parent procedure had finished. Setting up the second top-level window with the
- infix
02 Apr 2010 — mappings in great detail, but that seems to be a feature in search of a problem. Even the in/out lists seem a little over-specified to me.
[Lars H]: Yes, that
- Infix arithmetic with XOTcl
19 May 2004 — a cunning
# unknown command handler to auto-convert numbers to objects (auto-boxing).
# Then uses an even more cunning class-level unknown handler to rewrite
# expressions into a format suitable for [expr
- info
23 Oct 2010 — 0] => "
}
}
Note also that the [Bag of algorithms] makes a couple of mentions of backtracing, and even has other uses of [[info ...]].
----
[AM] A common idiom that I use:
set scriptdir [file
- info default
23 Oct 2010 — Indeed it would. That was really just to show that you could achieve what you wanted, even with [info default] working as it does now. Perhaps the built-in implementation could be
- info object namespace
21 Feb 2011 — namespace will destroy the object (though use of the ''destroy'' method is to be preferred, and even using [rename] to kill off the public access command is better…)
If your build of
- Informal Tcl Book Reviews
27 Jul 2011 — Book]
----
There are recurring questions on the Tcl list about "Which book should I buy?" (or even [Where can I find a book about Tcl]?) There are several great books, and I
- inifile
28 May 2009 — provide a ''default''-value instead. [AF]: added in v0.2
* The INI seems to be locked even if only opened for reading... [AF] this is an OS limitation, nothing specifically written into
- Init Scripts In The DLL
17 Dec 2005 — it is not quite the same as building the initialization scripts into the
library.
Note that even if initialization scripts were built into the library,
tclkit-like tools would still often be
- Injection Attack
16 Jan 2011 — in is playing with fire! Executing it is suicidal, so let's be safe by not even typing it.
======
set exploit {[exec rm -rf /]}
======
Here's a safer version for testing:
======
set
- Inserting an Entry Widget in TkTable
21 May 2010 — Tktable widget; a cell's state derives from the tags it has, and I can't even see any easy way to determine what tags a cell has.
[[ [Category GUI] | [Category Widget] ]]
- inspect
18 May 2004 — See also the updated version of [tkinspect]: [TixInspect]
----
[RS] admits he never looked at [tkinspect], and even less at [Tix] at all... and that the promise in the first sentence was never
- install
18 Oct 2006 — with your computer operating system (or sometimes with the language being used in the application - or even sometimes a web forum specifically for the software package!) where one can ask for help
- Installing Tcl/Tk on Ubuntu
15 Sep 2009 — the requirement exactly, i.e. Tcl 8.4 will be installed if the application requires it even if 8.5 would work just the same. Therefore, you may end up with two
- Integer range generator
24 Feb 2009 — 6 8 10
This procedure will correctly generate a list of values in a specified range even if you don't know in advance whether the range will be ascending or descending
- integrate
09 Jan 2012 — rule")
#
# at least 5 data pairs are required, and if the number
# of data pairs is even, a padding value of (x0,0) will
# be added.
#
# 04-13-2000 -- by: Phil Ehrens
- Integrating Itcl into the Tcl core
08 Aug 2011 — be to finish up the itcl TIP.
Even with all the noise about how ''desperate'' programmers need OO, there still doesn't
appear to be even one of these desperate people willing
- Integrating Tcl and Emacs on Windows
17 Nov 2006 — 1. Works fine for me after that.
A proc in the tclshrc will make it even easier.
----
Even easier, add the following to your .emacs file:
(add-hook 'inferior-tcl-mode-hook
- Intelligent Agents
13 Aug 2011 — and STRIPS-style
planning operators.
**Multi-Agent Systems**
Often multiple agents may have to interact or even actively cooperate and
coordinate in order to achieve tasks in a shared environment. Development of
- Intelligent Design
20 Jan 2006 — Richard Suchenwirth] 2006-01-08 -
Yes, Virginia, there is intelligent design. And you can even do it yourself.
Just think.
"Intelligent" is basically about understanding. "Design" as a noun is a
scheme
- interact
08 Sep 2011 — the timeout, control-D to exit"
spawn tclsh
# not $timeout, because it's special to expect even if not to interact
set time_out 1
while {1} {
puts "\[Timeout is: $time_out
- Interacting with databases
10 Nov 2010 — power of Metakit available in a natural and intuitive way. [OOMK] constructs Metakit objects and gives even more access, together with the benefits of [Snit].
[Jacob Levy] has written the [e4graph] extension
- Interactive features in Tcl9 discussion
16 May 2007 — usage help as an error, like this:
% button
wrong # args: should be "button pathName ?options?"
Or even better,
%info
wrong # args: should be "info option ?arg arg ...?"
and then to see the
- Interactive plotting with Plotchart
01 Apr 2011 — notes:
* This was tested with Plotchart 1.8.2, newer versions ought to make the program even simpler.
* I found a bug in Plotchart, which necessitates to insert a dummy point for
- Interactive Polygon in Bwise
24 Jan 2011 — s main graphical interface, which is block-wise programming.
The normally scrollable canvas, easily made by even early versions of Tk, contains graphical items which in the Bwise program would often represent
- interface
20 Apr 2005 — just a test case for demonstrating interfaces,
# and not a real object, nor a good or even reasonable implementation
proc stack1 {option args} {
global stack1_data
switch $option {
clear {
set stack1_data
- Interix
12 Apr 2012 — to get your work done and finally use the already known Microsoft applications on your desk (even remote with "rdesktop")
* save space and money for one additional workstation (on your table)
* SFU
- Internal Movable Windows
23 Apr 2012 — my copy - change the "Done" text to "x"; make the title bar ''-bg darkblue -fg white'' ... Even if [MDI] is not the best way, Tcl is great for such experiments, and I
- interp alias
10 Feb 2012 — case, try using a second interpreter
interp create helper
interp alias {} glob helper glob -nocomplain
Or even sillier, [interp hide] the normal '''glob''' command:
interp hide {} glob
interp alias {} glob {} interp invokehidden
- interp hide
10 Feb 2012 — is raised. Commands to be hidden by '''interp hide''' are looked up in the global namespace even if the current namespace is not the global one. This prevents slaves from fooling a
- interp serialize
15 Jun 2010 — info array set} {
interp hide $interp $cmd
interp alias $interp $cmd {} $interp invokehidden $cmd
}
This way, even if the slave interp has tried to "patch" e.g. [unset] in an attempt to
- Interpreting TOOT
19 Oct 2005 — the start, which is rarely true, and may not even be possible.
----
[PWQ] ''18 Oct 05'', going back to the original example, even though NEM acknowledges it was not the best example
- Interrupting loops
16 Dec 2009 — comp.lang.tcl, slightly adapted by [RS]. Note however that frequent updates make long runs last even longer ;-)''
'''A3.''' by Tim Wilson mailto:tdw_news@my-deja.com:
The solution I have
- into what directory should one install the various pieces of a tcl application or extension
10 Nov 2011 — the final disposition
directory, as opposed to the directory structure within the source archive.
There might even be some cross over with the directory structure of a [starkit] or similar construct.
[LV
- Intro to Tk
26 Mar 2008 — nothing shows up on
the screen (Wish's window is as empty as when we began). Even worse, there
seems to be some confusion about how large the canvas is:
% winfo width
- Introspection
11 Mar 2010 — several [info] subcommands) but you can also determine if they are arrays (various [array] subcommands) and even perform introspection on the activity affecting that variable (the [trace] command.)
[LV] However, I don
- Introspection on aliases
10 Feb 2012 — was created. It is ''usually'' the same as the command-name specified for the alias, but even that is not guaranteed (a number of colons may have been prepended to that name
- Introspection shortcomings
16 Sep 2008 — be [rename]d, there's ultimately no way of knowing what an alias command maps to, even if it goes from {} to {}! Consider:
======
% interp alias {} a {} puts a
a
% interp alias {} b
- Inventory of IPC methods
27 Apr 2012 — Open with [open]. Not particularly efficient, but sometimes sufficient. Also, can be used on different machines, even of different operating systems, as long as they share a file system ([RS])
[FIFO] or
- Invoking browsers
13 Sep 2011 — list $progs]
BHT
----
We verified this to work on a variety of Windows platforms:
# On Win95, even if there is a web browser installed, it cannot
# open an internet address, only a
- iPAQ
04 Jul 2011 — to the used vocabulary (Tcl commands too), so I have it on by default. Pocket Excel even offers a [Unicode] character selector, barely usable due to a too small font, but allowing
- iPAQ goes Japanese
23 Nov 2008 — to "/Program Files" - localization is still an adventure playground - and getting stroke order right challenges me even after years of doing Chinese...
But we want to talk Tcl, of course. The package
- iRead: a Gutenberg eBook reader
02 Dec 2007 — handles another format variety: indents for list entries, or paragraph beginnings), come on a new line even if not double-spaced.
----
[AK]
Ha. Now pack the reader and the file into a
- irrational
27 Mar 2008 — this leads to a computer algebra system.
So I wonder, is there a number that cannot even be expressed by a finite series of algebraic manipulations? How about cos(cos(...(cos(cos
- Is Tcl Different!
21 Jun 2011 — See [The Lish family] for helpers from 7-bit ASCII to 16-bit Unicodes.
'''User-friendliness''': Even most Tcl error messages are kind of a joy to read - endless loops (recursions) aren
- Is tclsh or wish suitable as a login shell
03 Jan 2010 — lang.tcl response is to suggest the user use [tkcon] .
However, use of tclsh/wish or even tkcon as a login shell is likely to have more issues than command history.
[LV
- Is there a a decent tcl script for finding matching brackets
21 Nov 2007 — I was wondering how to find matching brackets, or braces would be fine too, I guess even quotes would do, in *ANY* syntactically corrent tcl/tk script?
I mean preferably a way
- Is white space significant in Tcl
20 Jun 2007 — procedure using the list command as described previously. (You can even
define the procedure on the fly. It will have global scope even it if
is created within another procedure.)
Wrong answer
- ISBN
10 Jan 2012 — International Standard Book Number), is a
a unique ten digit number assigned to every printed book (even the same
book in two different editions will have two different ISBNs).
The ten digits
- Islist Extension
19 Dec 2011 — objects for changing their type. So a developer could detect, if variable contents change their type, even if they shouldn't.
If a command like "'''info type''' ''data''" would exist, than we
- It
27 Sep 2004 — Information technology", an industrial category like "farming"
or "transportation" (or perhaps even more like "finance" or "human
resources"), is often abbreviated "IT".
[RS]: But as experience tells us, it's not always
- It seems like Expect is not actively developed
26 Nov 2007 — expect everything to keep getting new features; lots of open source projects are under constant development (even though new features perhaps aren't necessary).
[LV] I understand what you mean. However, many
- It's an Alias World!
16 Jul 2009 — of aliases: the
# ability to create short or easier to remember alternative names to commands
# or even sequences of commands.
# In Windows, I found a very convenient way to do this with
- itcl-ng
25 Feb 2012 — I have been working very very hard for a payed work project, so I did not even have time to look here.
itk 4.0b3 is available here [http://incrtcl.cvs.sourceforge
- itcl::code
22 Oct 2011 — Can be used to access parts of an [itcl] object, even if it is private.
It is used when the ''implementation'' of an object requires callbacks from contexts that are not strictly
- iterating through an array
24 May 2006 — l} {}; time {noop [array names arr]} 5
557274 microseconds per iteration
----
[Schnexel] Array search sucks (I´d even say it is bugged). Sure, deleting elements within an array search loop might be too
- iterators
21 Dec 2011 — however, if the list-bundling of the second argument could be given up, it would be even more pleasing to write and read:
======
iterate i -numeric "0 $max" {...}
iterate line -channel $chan
- itins
21 Nov 2008 — of associated values
proc pairs {list} {
set odd ""
set even ""
foreach {key val} $list {
lappend odd $key
lappend even $val
}
return [list $odd $even]
}
}
# commands that can be invoked in the itins
- itunes music player
11 Sep 2006 — Mac OS X, you can control iTunes via [AppleScript]
using the Tclapplescript extension, or you can even send raw
apple events using the [TclAE] extension.
You can pretty much control everything in
- itunesdb
04 Apr 2009 — when trying to parse a cidb file. I wasn't able to find any documentation (or even mentioning) of the ''CD Info.cidb'' fileformat. With a little bit of research I have
- Jabber
15 Jan 2008 — system for exchanging messages and presense information. It is multilevel (IM-facilities themselves actually aren't even in the core of the XMPP spec [http://www.xmpp.org/rfcs]) and has a
- Jacl
07 Jul 2009 — do with Tcl ... it has been long enough that the people still working there may not even remember that there was ever a Tcl and Sun connection.
It'd be great however
- Jaf
07 May 2009 — that using tcl is the easiest way to let your filesystem interact with you (ask where to store a chunk of a file for example, even with a gui!)
Cheers.
----
!!!!!!
%| [Category Person] |%
!!!!!!
- Japlish
24 Jan 2006 — have improvements, just edit this page.
Normal-size hiragana (lowercase) and KATAKANA (UC) are all included (even the rare VU). Compound syllables like /kyou/ from Tokyo still await a better solution than
- Java
15 Sep 2011 — when the object is constructed. A Java application can be started from only one main method. Even though several classes may have main methods within them the application itself is started from
- Java vs Tcl
04 Sep 2008 — http://www.cryptoheaven.com] works fine straight from the .jar, though, of course, it would be even better if it was implmented in Tcl ;-)
[LV] notes that Jacl isn't an application
- Jim
22 Dec 2011 — in max 1000 lines of code, otherwise I'll
be forced to make it an extension, even if the Jim model is "little core, all extension" I really consider the OOP system
- Jim closures
21 Jul 2011 — care also of the ''fragile references'' problem. It is able to
reach every Jim_Obj created even if this object is stored at the moment
of the GC scan inside some data
- Jim Graham
06 Mar 2011 — would have, if written in C,
amounted to roughly 50000 lines of C---I don't even run into
anything like that in my worst nightmares!
If anyone has any comments on
- Jim OO
25 Nov 2010 — initial state of all new objects.
It is important to list all class variables in 'classvars', even
if initialised only to the empty string, since the class makes
these variables available in
- Jim References
27 Dec 2010 — do so Jim is able to reach every object that is currently ''alive'' inside the script, even if
this object is not reachable starting by the ''root nodes'' of the graph of
- jima
10 Oct 2011 — Tcl.
Recently I discovered http://www.twine.com and I am giving it a go. I even started a Tcl twine where I plan to put things there that I find of
- Jittering toplevel
20 Sep 2011 — thankfully!) stand still. I saw this
effect in an ad on AOL's home page, and even though I'd hardly ever use
it, in this Saturday breakfast fun project I wanted
- Jochen Loewer
16 Sep 2009 — Solid, Oracle)
* httpdm/httpds -- pure tcl webserver (with worker processes, started 1997, use internally and externally, even with SSL ([tls])) featuring TclCGI's within safe slave interpreter; rpc communication between master and
- jpeg
04 Jun 2009 — ALOVE] Realistically speaking, probably billions of web pages have been using jpegs for many years, so even if this
Forgent Networks lawsuit got anywhere, it would be in the courts for years
- Judy Arrays
22 Dec 2007 — ve reached is
that the database guys figured out how to deal with memory hierarchies to
even slower external memories 25 years ago and the same tricks work in the
main memory
- Juggler
20 May 2007 — command reinit -anchor w
radiobutton .even -text "Even" -var ss(pattern) \
-value even -command reinit -anchor w
pack .frb -side left -in .fbot -padx 1
pack .cascade .even -in .frb -side top
- Jython
25 Jul 2008 — to begin with. This is not a criticism. Python was meant to be ''read'', not scanned. Even its List Comprehensions are verbose compared to, say, Haskell. I find myself slinging classes quite
- Karl C. Hansen
02 Nov 2005 — to my Wiki page!
I have been a Tcl evangelist since the early 90s, and once even interviewed with John O. & company out at Sun. I have introduced Tcl/Tk use at
- Karl Lehenbauer
16 Apr 2011 — seems, have some form of end-user programmability.
For example, Microsoft Word and Excel, dBase 3, even Word Perfect. In the
Unix world there's emacs, mush, awk, perl and the shells
- kbs bugs and comments
05 Feb 2011 — tag core-8-4-branch). How to change a used version or add new versions and even add other packages please see in [kbs packages]
[LV] Do you want to receive reports
- KDE
19 Dec 2007 — play around with window managers, such as I did here, where KDE runs its menus and even a web browser and the windows are managed by wmaker, which is supplied with [cygwin
- KDE window icons
14 May 2010 — trying the above on SPARC Solaris GNOME, I notice that the
directory is different and that even after fixing the directory,
I still don't see an icon displayed either in the
- Keep a GUI alive during a long calculation
16 Apr 2011 — calculations. If the GUI is to be kept
alive, then it must get some CPU resources, even if the long-running
calculation doesn't relinquish them willingly.
The easiest way to structure
- KEXP radio playlist a System Tray icon
16 Jul 2009 — thought "pois.. talvez isto não seja grande idéia, Zé...". Anyway I never have Winamp visible, not even in the System Tray, so why bother?
So this simply uses Winico to display an
- keyed list
07 Sep 2011 — version.
----
keylget returns only the value of the 1st element with matching key in the list even if there are multiple same elements.
e.g, in the list {{inventory {{member {{member-type
- keysyms for Tcl
23 Jul 2011 — Richard Suchenwirth] 2004-12-12 - Even after nine years of Tcling,
it's always good to look around the [man] pages. This Sunday morning I
discovered [Tk]'s [keysyms] man page, which
- KeySyms on platforms other than X11
11 Dec 2009 — characters in MacOS specific encodings or in [Unicode].
Tk OTOH uses the [X%|%X11%|%] keysym codes even on Windows and [MacOS X] in
the implementation of the keyboard events. They are used
- KISS
26 Jan 2012 — once, but again, less degrees of freedom allow less bugs.
* Reinventing wheels is fun in Tcl, even more if you re-use existing functionality (spokes, hubs, ... ;-)
* Try to depend on less. For
- kitsplit
21 Jan 2005 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHORS AND
- Kitten
15 Feb 2012 — more than an experiment ... this is how you might build a [BI]--if you wanted to." Even so, it's within 10% of 'producthood'.
----
Kitten is constructed as a regular [starkit], with
- Knoppix
23 Feb 2009 — have Tkcon... It's just '''one''' script. Most distros come with Tcl these days. Note that even '''Linux From Scratch''' [http://www.linuxfromscratch.org] won't do without it: http://lfs.oregonstate
- kwic
06 Jun 2007 — kwic file-format, etc., taken from the Tcler's chat:
[11:02] Colin I can't even remember writing it, and doubt I could again ... I wonder if I've had a
- KWizzz
31 May 2011 — the kit file to `application.kit` and distribute `tclkit.exe` or `tclkitsh.exe` with it. Or even better:
$ tclkit sdx wrap application -runtime tclkitsh.exe
for a command line program (you cannot
- L
04 May 2010 — I tried the links I found here and in Google but to no avail. I am even not able to download and build via the bitkeeper client as the free version is
- Lab 3D
29 Oct 2008 — on_finish} {
dict set scene anim $var [set $var]
}
} result opts]} {
# The finish handler must happen even in case of error.
anim_cancel
return -options $opts $result
} else {
# Actually start the animation
- label
20 Sep 2010 — wrapping, see [message]. Note that labels ''can'' show multiple lines, if their text includes newlines; they even have the -justify option.
----
'''Composite labels:''' A text label can hold either a constant text
- LabVIEW
08 May 2012 — plays it.
Programming in LV is (even more) fun (than programming Tcl ;-)) because you do not need to type your program (G), you just draw it. Even kids can do it [http
- Labyrinth
19 Jan 2006 — exists $bmpName]} {
set S(bmp) $bmpName
return
}
switch $::tcl_platform(platform) {
unix {
set tmpdir /tmp ;# or even $::env(TMPDIR), at times.
} macintosh {
set tmpdir $::env(TRASH_FOLDER) ;# a better place?
} default {
set
- lambda
17 Apr 2011 — then the function "body" in parens. He then goes to show (translated to modern ASCII, and even (almost) Tcl :) that
lambda e {expr $e**2 - 4*$e} == lambda a {expr $a * ($a
- Lambda in Tcl
17 Jun 2011 — define a "proc with no name", or rather
the empty string as name, we need not even define a lambda proc as
above. Tcl's proc command returns nothing, which is the
- lambda in tcl8.5
12 Sep 2011 — of Tcl, without it is like to use C without pointers.
[NEM] See also [namespace unknown] and [Locally-scoped command aliases are fun!] for making Tcl even more [Scheme]-like.
<<categories>> Example
- LAME
18 Apr 2011 — dll could be called directly from tcl and be passed the sound data to encode, or even better, if a tcl wrapper for LAME existed ;-).
Trying to do the first, I post
- Language identification
22 Nov 2007 — they occur in the string in question.
These may be characteristic single letters, word parts, or even frequent words.
If they're very characteristic, they may be specified two or more times
- lappend
21 Oct 2010 — been optimised in 8.4 to not shimmer when processing pure lists. In fact it is even faster than [linsert]:
% set a [list a b c]
% time {set a [linsert $a 0
- Larry Smith
04 Sep 2011 — environment
* [deref] - indirect references
* A [Programmable RPN Calculator] (not complete, but worth looking at perhaps?)
* tkMenuMgr: [Menus Even Easier]
Direct reference to home: http://www.smith-house.org/
<<categories>> Home Page | Person
- Larry Virden
02 Feb 2012 — blog is more about my
daily aches and pains, as well as discussions about my kids - even down to one
teenager at home, and one in college, still tends to dominate my
- lassign
15 Jan 2011 — reason to massage the values list at all. The [foreach] will do exactly the same thing even if the values list is shorter than the [args] list. I.e. this should be
- Latest BWise
31 Aug 2010 — I packed the files with my latest bwise experiments which when the right packages are installed
even as I use it on both Linux (Fedora at least) and windows XP (pro):
http
- Laws of Form
21 Aug 2008 — neutral
elements of operators, if these are considered variadic, and having zero
arguments. This makes sense, even in Tcl, where one might implement them
as
proc and args {
foreach arg $args {if
- Lazy objects for delayed processing
09 Aug 2011 — readfile myfile.txt]
exec date myfile.txt
puts $grabit
======
The result will show as a timestamp, even though that information didn't
exist at the time when $grabit was defined.
There are
- lcomp
29 Dec 2010 — in $l]"
puts "Double values from list: [lcomp {$n * 2} for n in $l]"
puts "Only even numbers: [lcomp {$i} for i in $l if {$i % 2 == 0}]"
proc digits {str} {
lcomp
- LDAP
28 Apr 2011 — the public yet.
I thought about that several times. It would be ideal for tcllib
or even standard tcl (like the http package).
[CL]: ooooo. ASN.1 ''would'' be nice for [tcllib
- Learning Tcl/Tk through examples
03 Dec 2006 — I love to read legal cases. We always find surprising stuff, psychology, interpretations, logic, etc. And even humour at times!
I am not the only one. A lot of people are like
- LED
03 Jul 2011 — flash them (toggle bg/fg colors and normal/active states), disable (and resume) flashing. There's even a demo for Knight Rider fans."
===
Identifier: led
Version: 0.0.2
Title: A library
- LED display driven by the parallel port under tcl control
04 Feb 2011 — ve no idea about how you do it from NetBSD. It must be possible though (surely). Even if you have to get a freeware DOS, and boot to it from a floppy
- Leo
05 Nov 2005 — 3.3
----
[Brian Theado] 27Oct2005 - Some help from the leo forums has led me to some even more useful leo scripts than the above. The bodyString method only returns the text from
- let - a simpler sugar for expr
10 Dec 2005 — distinct. You can write this:
let a = $a+2
or this:
let a = 3 * 4
and even:
let a = {$b*cos($d)}
It is better to enclose expr-essions into braces when
- Let unknown know
27 Jun 2008 — expr $args}
% 1+2 * 3
7
The "||(or) 1" appended in the condition lets this fire even if the expression
would result in zero...
I started these experiments because I wanted to
- Let's think about "callspaces"
08 Apr 2011 — one day become possible to persist a call stack, and continue it later, or elsewhere, or even replay it like a repeatable snapshot. [Generator]s and [continuation]s could be implemented by
- LGPL
17 Mar 2005 — discussion - I can't even find a reference to it. Is this intentional? Is it perceived as a 'negative' issue for Tcl and perhaps people worry it will even now scare off
- libpgtcl
27 Mar 2012 — script, and is known to work on many variants of [Linux], [FreeBSD], [Mac OS X], and even Windows.
The configure script does a pretty good job of figuring out where the Tcl
- license
09 Sep 2008 — terms.html
.
[Kbk] writes in comp.lang.tcl the following summary of the Tcl license:
In even simpler language:
Paragraph 1. It's ours.
Paragraph 2. You can use it, modify it
- Licenses
16 Jan 2012 — terms.html
.
In comp.lang.tcl the following summary of the Tcl license was presented:
In even simpler language:
Paragraph 1. It's ours.
Paragraph 2. You can use it, modify it
- like python generator
29 Apr 2011 — think of a scenario of a deadlock. '''generate''' should be implemented by condition variables, instead, or even better, message queues (but I don't think tcl supports that...)
proc generate {var proc
- line numbers in text widget
03 Sep 2011 — up properly unless the width of the line numbers is a multiple of the tabs (and even then there can be problems if using the traditional tk tabstops).
Another problem is that
- linked lists
13 Jun 2011 — list is good design. That's why the ''opaque'' design no longer get me... it is
even more complex to understand because of the non-orthogonality.
To come back to channels's
- Linux
21 Nov 2008 — the basic UI to the OS.
* GNU system utilities, many of which are [Unix]-like or even updated ports of what were originally unix utilities making Linux familiar to the [Unix] user
- Linux Console Text Editor In Pure TCL
30 Aug 2011 — neither has gumstix wiki. Could you please elaborate more on running tcl on a Gumstix? Or, even better, write a new wiki page for it?
----
[LV] Perhaps the backspace key would work
- linux_vs_windows
17 Oct 2007 — people have with the command line is that they think of MSDOS's and don't even know Linux's has much more features. I wasn't sold on the command line
- Lisp
20 Sep 2009 — files, and especially sockets, and than the games of interprested concept complete-like are quite simular, even the functional (de-) composition hierarchy being quite comparable mostly.
When it is about aesthetics, you
- list
11 Jun 2011 — is an even more technical perspective, taking into account the implementation in [C] of Tcl 8.x lists as a type of [Tcl_Obj], which has the effect that even though Tcl
- List Comprehension
18 Jun 2011 — 12''
======
set evn [listc {set i} i <- $i {expr {$i%2 == 0}}]
puts "\tOnly even numbers: $evn"
======
''Only even numbers: 2 4 6''
======
proc digits {str} {
set lstr [split $str ""]
return [listc
- List computations in a FPGA, driven by Tcl
24 Jan 2011 — modern to add (Field) Programmable (Gate Array) hardware to a computer farm to speed up computations, even with C to HDL tools, like for instance available from Xilinx and Nallatech, in this
- list map and list grep
17 Aug 2011 — print $4 }'
spField4=grep $string part_i_need | awk '{ print $4 }'
...
I realize that this is even an overly verbose and klugey way to express the concept, but the fundamental mechanics are
- List the call stack
20 Mar 2008 — CALLER $callerlevel: [info level $callerlevel]"
}
# ...
return
}
[KPV] Here's another version which prints out argument values
(even default one). (See also [Pstack].)
======
proc stacktrace {} {
set stack "Stack trace:\n"
for {set i
- listbox
08 May 2012 — a surprising way: [focus] is needed, but can't be applied by clicking into a listbox, even with the -takefocus 1 option. After an explicit
focus .lb
the widget border is highlighted
- listify
24 Feb 2010 — always returns a list, but that doesn't mean it is some universal listification operation, or even that the idea of such a thing makes sense. Every string->list operation makes some
- Literate programming in a wiki
25 Jul 2011 — to specify the start of an application.
(There might even be more than one application in the wiki at a time,
or even multiple versions.)
Thus the wiki not only documents an
- Little Circular Networks in Tcl
24 Jan 2011 — claims no rights to keep it unchanged, as usual.
Networks are important, end knowing essentials is even important for programming, and in tcl we can quite well explore what happens with data
- llength
21 Oct 2010 — single ''word'' strings (i.e. bareword literals) are permitted in Tcl can be frustrating for people (even old-timers....).
''[escargo]'' finds the fact that ''bareword literals'' are permitted some places and not
- load
23 Oct 2010 — the net without any more help from me.
----
So what do you do when load, or, even more mysteriously, [package],
fails? There are many, many ways for this to happen, and typical
- loadf
17 May 2010 — faster.
''Wow. I've never ever used critcl before. Now I'm convinced. I didn't even know I had critcl on my system, but the above cut'n'pasted and Just
- Loading Glade UI Confgiuration Files into Tcl/Gnocl Applications
07 Dec 2009 — wide range of Gtk/Gnome widgets. The latest release of Glade [http://glade.gnome.org/] may even have support for other popular third-party widgets. The resulting layout is saved as an
- Local Packages and Transparent Namespaces
19 Oct 2011 — the client can
# access the commands of the loaded module
# -force force loading of the module even if it was loaded previously.
set extraArgs {}
set mode static
set argNum 0
if {[llength
- localization
22 Dec 2011 — mean something else, of course. In practice, some l10n is almost invariably applied to some extent even in "pure" translation, because some cultural differences cannot be ignored. In the present context, you
- Locking Metakit for CGI
27 May 2007 — it.''
It will be available at http://rohanpall.com/projects/locktower/ - ''Unfortunately, this address is dead. Even worse, I did not get any response from Rohan Pall to my email request for
- Looking for TCL Jobs
18 May 2012 — Tcl Jobs]
----
**Available**
'''Klaus Häfner''' (mailto:anticro@gmx.de) - Bamberg, Bavaria, Germany
Available as freelancer everywhere, even would contract near Bamberg.
Languages + Tools: Tcl/Tk (12 years), IncrTcl, Cocoa/ObjC, C, Java
- Low-level vector data in Tcl
19 Oct 2011 — 0 -1]]"
proc even {v x y} { return [expr {$x % 2 == 0}] }
puts "p timing = [time {mvec i 0 -1 even}]"
puts "pred len = [llength [mvec i 0 -1 even]]"
puts "e
- lquery
14 Jan 2012 — for such purposes, but I'm not there
yet (all my installations are 8.4, occasionally even an 8.3). What we
have since time immemorial, however, is [list]s, just as
- lremove
18 May 2010 — on a 2007 vintage machine we're talking maybe a couple of hundred microseconds for lists even of size approx 10K, so it's not likely to be an issue except for
- lrepeat
21 Oct 2010 — to the result of the inner lrepeat). But it is true that this would be possible even for a Tcl implementation of lrepeat.
[RS] In fact, my application was rotating binary photo
- lreplace
20 Jun 2011 — which is '''2''' in this case.
Clearly, the insertion takes place ''just before'' the ''first'' element, even when ''first'' is '''end'''-relative. This is inconsistent with [[[linsert]]], which (despite the documentation) inserts
- lreverse
21 Oct 2010 — The big winner, however is the countdown while loop, which given in the above form is even slightly faster.
It would be interesting to time the tail recursive implementations ''lreverse7'' and ''lreverse8
- lriobf
07 Jun 2010 — Tcl source protection to easily create [starkit] where all the embedded Tcl scripts will be encrypted, even if they are part of a package. The protected code can run without modification with
- lrmdups
22 Jun 2009 — elements from a list. The returned list will be sorted.
: '''lrmdups''' ''list''
----
[RS]: You don't even need a procedure for this, because that's exactly what ''[lsort] -unique'' does:
interp alias
- lsearch
20 Apr 2012 — lsearch -all -inline {foo {} bar {} grill} ?*
foo bar grill
----
From 8.5 on there will be even more switches, for example TIP 127 [http://www.tcl.tk/cgi-bin/tct/tip/127
- lset
21 Oct 2010 — lset foo $i $i; # => OK
}
lblank (very bad name, sorry, just an example) should probably accept even a single argument instead of a range,
so that lblank foo 100 is an alias
- lsplit
13 Feb 2004 — lappend yes $el} {lappend no $el}}
list $yes $no
}
proc even x {expr {$x%2 ==0}}
% lsplit {1 2 3 4} even
{2 4} {1 3}
----
[SS] the RS's version is
- Lua
08 May 2012 — developed open source at a Brazilian institution, characterized by using hash tables as central data structure, even for vectors and lists. Lua's kernel is unusually compact.
Lua style emphasizes [metaprogramming].
Roberto
- Luis
21 Nov 2007 — today computers it is just as fast as you would want it to be (even on pentium I), even 486 66Mhz for up to ten users, depending on what your doing with
- LZ77 Compression
24 Nov 2005 — sped up noticeably: use the idiom [[K $x [[set x {}]]]] instead of [[K $x [[unset x]]]]. Even faster is the bytecompiled variant [[lindex [[list $x [[set x{}]]]] 0]].
Which reminds me ... soon
- m+
20 Nov 2011 — name] break
.m.m$head add command -label $l -underline $u -comm $cmd
}
}
======
I've done even more complex versions in the past where I'd also give the binding for the
- m4
18 Dec 2008 — I also like to think that "L-3" (the name of my company) is an abbreviation for "Link" (the name of my division), even though it's not actually true. ;^)
----
!!!!!!
%| [Category Language] |%
!!!!!!
- Mac OS X
03 Jun 2011 — even if there are grabs or global grabs active on other widgets
* tk::PlaceWindow needs to avoid placing windows under the menubar
* wm attributes broken
* 'Leave' events seem to be generated even
- MacOS
13 May 2008 — are coming with [MacOS X] installed.
Note that [Daniel Steffen] and others provide
[Tcl], [Tk], and even [Tclkit] in formats suitable for [MacOS Classic] (both 68k and Power PC!), up to [Tcl
- MacOS X shortcuts
13 Sep 2007 — just the POSIX path and generally manage to keep track of files even if they have been moved; they may even reliably reference objects on remote servers that you're not logged
- Magic names
18 Aug 2011 — just by changing the name of the lookup array, which can make programming easier. You could even use read traces to populate the arrays on-demand...
[LV] Most Tcl and Tk commands
- Making a Path Absolute
30 Jan 2011 — no way to know what symlinks there are that you could insert either. It isn't even necessarily right to remove ''dirname/..'' combinations from the filename, since that will also go wrong
- Making www.tcl.tk a better place
17 Apr 2009 — might be simply HTML -- and the fact that it is an incomplete mission after '''three years''', even using basically the same contents of the original site and some other material collected elsewhere
- man
16 Dec 2007 — man
interprets it as a file specification, so that you can do man ./foo.5
or even man /cd/foo/bar.1.gz.
See below for a description of where man looks
- man tcl(n) gripes
26 Dec 2011 — of the script" appended to it.
[LV] feel free to file bug reports on these issues. Even better, file bug reports with patches and perhaps your wording can get into the next
- Managed and shaped toplevel
04 Jul 2011 — extension has been around a long time; even ten years ago nearly every Xserver supported it properly (the exceptions were based on Win16, and even then they could do a creditable job
- Managing the reference count of Tcl objects
19 Jun 2009 — the caller whether the operation worked.
return status;
}
======
'''DKF''' - It turns out that you can be even more efficient than the above by taking advantage of the fact that ''Tcl_ObjSetVar2()'' does
- Manipulating blocks of data
22 Apr 2003 — profi software land I would have known of no one,
really, no one who would even even consider using Fortran in favour
of a more modern language except for compatibility reasons....
Why
- manipulating data with Tcl
14 Jan 2009 — that output directly into the input file.
If I need a bit more sophisticated processing and even a picture to get a better feeling
for the data, well, no problem:
======
#
# Get rid
- Manipulating sets in Tcl
28 Jan 2012 — there is a finite number of them.
The same holds for intersections like the set of even numbers with the set of primes - there is only one number in this intersection - or
- Many people who think they need Expect do not need Expect
16 Jun 2009 — are rare circumstances in which an
expert might choose to use it.
----
Expect is still useful even with the above mentioned programs. If you want to automate the tasks these programs perform
- Map in functional programming
11 Jan 2011 — 2.262
% map {x {expr {$x*1.16}}}
wrong # args: should be "map lambdaExpression list"
======
See? Even the error message is informative!
Given the simplicity of coding involved, writing a fancy version
- Mapping words to floats
31 Mar 2004 — to do with [tcl_precision]?
% set tcl_precision 17
17
% sfrac "hello world"
0.30378829776699118
But even at maximum precision, the tenth character cannot be fully reconstructed:
% fracs 0.30378829776699118
hello worlc
- Mapping words to integers
16 Mar 2005 — if you change that, say to [[a-z0-9]], to provide a proc with that name... Even if it looks like a RE, it is just a function call.
}
proc word2int {word
- mapproj
18 Apr 2010 — regions with a predominantly north-south extent; the Nile valley (or even the whole of Africa) would show well on it. Even Argentina or Norway would not look bad on it, although
- Markov
08 Aug 2005 — well as the length of the segments themselves. This helps the script narrow down the data even more, allowing it to produce more meaningful output when it has a lot of data
- math
21 Sep 2010 — you pick tcllib up from its CVS repository, you will be able to get access to even more functionality:
* ::[math::bigfloat]::abs, acos, add, addInt2Float, asin, atan, ceil, ...
* ::[math::bignum]::cmp, tostr
- mathematical foundation of computers and programs
28 Jul 2005 — more to put the machine to work: verifiability. Which starts by allowing that one in general even can define all possible input sequences and memory states, and define that each one of
- mathematical set
11 Jan 2012 — shorthand.
You could go farther down this path and do
= x {x + 1.5}
as a somewhat more radical version. It's even shorter. I still prefer let, though.
<<categories>> Command | Discussion
- Mathematics with Tcl
09 Feb 2009 — the taxicab solution includes the most common approach to sets in Tcl (and one that can even be extended to multisets).
* Shouldn't the last line of the `diff` example results be
- Matrix determinant
17 May 2010 — 1} is approx 1.49352366679e-055 1.0 8.08991986122e-056, largest eigenvalue is 2.0
Even though the original vector is near an eigenvector the algorithm still finds the largest eigenvalue
- Matrix multiplication and encryption
01 Feb 2006 — key. An important feature of most "industrial strength" ciphers, such as RSA or DES, is that even if you know corresponding plaintext and ciphertext you still don't get any useful information
- Matthias Hoffmann - PhotoPrinter
12 Jul 2011 — EXT $FFILE
jpegtopnm ${FILE} \
| pnmscale -xysize $BBOX \
| pnmtojpeg \
> ${FFILE}
and generating a same size index is even easier:
#!/bin/bash
while [ -n "$1" ] ; do
FILE="$1"
STEM="${FILE%.*}"
EXT=${FILE#${STEM}.}
FFILE
- Matthias Hoffmann - Tcl-Code-Snippets - misc routines - command line parsing
30 Apr 2008 — 1; # otherwise simply return 'true'
}
} else {
lappend a(swiunknown) $item
}
} else {
incr count; # each arg counts, even if there are too much
if {[info exists a($count)]} {
set a($count) $item
set
- Matthias Hoffmann - Thoughts And Ideas
04 May 2007 — exhausting and time-consuming, even with [tcl]. Generating HTML syntax is complex even with the help of [html], [ncgi] and other packages. Maintaining session states makes things even more complicated.
What came
- Matti Karki
05 May 2012 — command-line tools, text parsing and editing (regexps) and all kinds of simple every day tasks.
* Even if Tcl/Tk is handy tool for small tasks, it is capable of handling larger
- Maxima
25 Jan 2012 — appears after calling CMeval.
[Lars H]: That is even slightly worse than I had feared. The '''CMeval''' (my "Maxima evaluate" above) doesn't even take the code to evaluate as an argument
- Maximum Use License for Everyone
13 Apr 2010 — think it's highly unlikely that I ever will--but it's an interesting, and possibly even important, theoretical question.
The most basic ideas underlying my Maximum Use License for Everyone are
- Maze in openGL om windows navigation controlled by Tcl/Tk
24 Jan 2011 — use.
Also, I added a 'reset' button, to set the controls back to the middle, and even a gradual 'brake' button, which starts a after sequence to damp the sliders slowly to
- MazeSolver
31 Jan 2009 — general graph (i.e. with loops). In the tree case, you can always generate a solution (even if non-optimal) by following a wall since you're guaranteed to encounter every location
- Measurement widget with units conversion
31 Dec 2011 — 2 == 1} {
# Odd number > 1, let the entry complain
eval [list $w.entry configure] $args
} else {
# Even number, set a bunch of option values
array set opt $args
foreach option [array names
- Megabyte's tkImg build
23 Jan 2009 — at your own risk).
----
** Why should I get this build instead of version 1.3 or even instead of ActiveTCL's version 1.4 ? **
* This version has many bugfixes, both compared against
- megapkg structure extension
21 May 2011 — object systems.
======
structure name
======
'''Structure keys:'''
Any characters can be used for keys in a structure (even binary). A custom hash table is used, so the NUL character is valid in keys
- MegaWidget package
13 Feb 2007 — make accessible
code that is ''not in tcllib itself, just next to it in development space''
(even if it's only in an ''as-is'' archive)?
[LV] '''Nov 11, 2003''' See the
- Megawidgets with TclOO
29 Feb 2012 — as the original commands
just as [proc] writers produce commands which take their
place on an even playing field with the Tcl built-in
commands. However, I see
FlashingFrame create .f ...
And
- Mel's Internet Toolkit
18 Feb 2012 — a higher-level library...sits on top of cgi.tcl and provides very elegant pages with even simpler code."
-----
''"If you like the idea of big corporations telling you how different the
- memoizing
26 Jul 2010 — Some FPers take great [Joy] in the like-named Forth-related language where you don't even have (named) arguments to functions - "everything's on the stack".
----
[NEM] Am I right in
- Memoizing - Is it a good idea
15 Jan 2007 — if the cache item existed.
This is when I discovered that [catch] prevents return from working even though no error has been generated. This may be the designed semantics of the ''catch
- Memory Footprint Comparisons
24 Dec 2007 — it allows very precise control of resources;
* Tcl/Tk is valuable as a script language, but it's even more so as a part of a hybrid application.
-- ''BGE''
----
!!!!!!
%| [Category Object Orientation] |%
!!!!!!
- menu
19 Jan 2012 — item and it highlights - then the image displays properly. Secondly images with transparency in them are even worse and seem to cause a kind of black smudge obscurring half the image and
- Menus Even Easier
26 Nov 2005 — Menus Even Easier
- Menus Even Easier Redux
24 Jun 2007 — Menus Even Easier Redux
- Menus made easy
20 Nov 2011 — to ::$xlabel.
It works now. Friday, May 03, 2002 -- [Ro]
You might also check out: [Menus Even Easier] -- Larry Smith
[RLH] -- How do you attach the menus?
[MG] I just pasted the
- Meta-object Protocol
14 May 2009 — it's the Henry Ford of core OO proposals.
Writing a customizable MOP is ''very'' difficult; even now (having designed and implemented [TclOO]) I still feel I don't grasp the full
- MetaKit and Tcl Web Server
29 Apr 2011 — so it would authenticate against the TclHttpd Metakit database. Next day my Squid users didn't even realise there had been a change!
OK, now I am feeling adventurous I want to
- Metakit File Format
08 Mar 2010 — for the comparatively small table of offsets and not for a large blob of binary data. Even better when entries are deleted or set to NULL. The offsets are relative to the
- MIB Smithy SDK
16 Aug 2011 — access to MIB definitions, rather than read-only access provided by similar extensions.
* Full support for even the most obscure areas of the SMI that similar extensions lack.
* Duplicate record names are
- Microsoft Access
06 Jan 2012 — it:
You can use [database configure] to create an Access
database - in fact, you don't even need Access on the system.
(You do need Jet, but I don't think I
- Microsoft Windows and Tcl
20 Apr 2012 — tcl/tk libraries and executables. See the wiki page for detailed instructions.
Worked well for me even on [Windows 95] with 8.5b1 (and that combination officially isn't supported any more
- Microsoft Windows and Tk
23 Jul 2011 — who programs in this area steps forward to assist in improving the situation.)
* '''Text widget contents''', even with exotic Unicodes, can be printed on WinNT by copying and pasting into a Notepad
- MicroTcl for Tcl9
28 Oct 2010 — software that requires a scripting engine with minimal footprint. Some commercial games use [Lua], which is even smaller than Tcl.
[Steve Bennett] [Jim] attempts to be a very modular Tcl. Many features
- MIDI
07 Jan 2010 — or a dependent library could not be found in library path
I get this error message even if I try to explicitly "load midi.dll" rather than using "package require"
[FW]: I
- Migration to 8.4: CONSTification
25 Dec 2007 — compatible.
'''Type II'''. Some routines that returned a string were
defined to return a writable string, even though the returned
string was really owned by the Tcl library, and documentation
instructed not
- Migration to 8.4: Tk Private Commands
02 Dec 2008 — used other private commands you will need to do the same for each of them.
----
'''NOTE:''' even quicker workaround! Before releasing Tk 8.4.0, the command
[['''tk::unsupported::ExposePrivateCommand''']] was extended
- Mike Tuxford
06 Dec 2006 — 8080/cgi-bin/wb.main.tcl [[LV: That URL is no longer valid; KBK: it's even been expunged from the Wayback Machine]]
* [Linux Bandwidth Sampling Tool]
* [Linux Bandwidth Sampling Tool]
* [Simple
- MinGW versus VC++ 6.0
04 Apr 2011 — the MS VC++ compiler (6.0 is known to work well, this wiki has
reports, that even the free VC++ 7.0 toolkit will work
[http://wiki.tcl.tk/11431]) and the
- minimal example
23 Jan 2011 — along to be solved. A large complex program will go
into a smaller pile, and may even be looked at occasionally. But small
coherent examples, with specific descriptions (particularly if said problems
- Minimal OO requirements for Tcl
24 Sep 2011 — tar file?
> Or what?
Must-have: Easy way of using a large collection of packages (maybe even
hierarchically named packages.) Perl seems to have some good ideas in
this area (I don
- Minimalist Curses
17 Jan 2011 — just don't match, however if I do a "put" the characters are ok, even with curses on, even dow the characters are on the range 0-254, for instance character ñ
- Minimizing file names
23 Dec 2005 — or tk_getOpenFile to choose a file, the file name returned
is a full path name even if the file is in the current directory. This can clutter up
messages and entries
- Mismatch between regexp -indices and switch -regexp -indexvar
15 Feb 2008 — indexvar the way one would
think, the test writer ''cooked'' the tests so they would pass even
though not producing the real expected results, or the code is doing the
right thing
- mk4too
16 Jan 2009 — view which blocks its rows in two levels.
This view acts like a large flat view, even though the actual rows are stored in blocks, which are rebalanced automatically to maintain a
- mkproc
08 Nov 2007 — args
} %SELF% $instance
will define this proc:
proc myObj {method args} {
::MyPackage::InstanceCmd myObj $method $args
}
Even in this simple case, this is clearer than the alternatives. The following method works at
- mktclapp
05 Aug 2009 — someone else]] HOWEVER, note that, despite what CL occasionally claims,
there remains a place for mktclapp, even in a TOBE-endowed world. As
[DRH] wrote in April 2006,
"If want a convenient
- Modal dialogs
28 Apr 2011 — users to do other things unless the dialog is finished. Modal dialogue is still common nowadays even there are arguments in usability community that most modal dialog are actually results of failures
- Model railroading with Tcl
14 Jan 2005 — to both - middle button now applies brakes but takes
some time to stop, and steam raises even after the emergency brake.
.....
set g(braking) 0
set c [canvas .c -width 600 -height
- Modern Bindings for the Text Widget
30 Apr 2007 — procs too, so that a widget of class
### modernText always uses the ::modernText procs defined above, even if they are called from other procs.
### The copy-and-modify code below will likely
- Modifier Keys
04 May 2011 — PC keyboard on Windows or Linux.
The Binding Modifier "Alt" is not recognized on the Mac, even though some Mac keyboards label the "Option" key "alt".
'''Using a PC Keyboard on the
- modify a proc's behavior with a shim
31 Jul 2011 — next { args } { tailcall [lindex [info level -1] 0]_shimmed {*}$args }
======
Found another version of shim:next even more like [stacking]. Fixed up to use try instead of catch.
======
proc shim:next { name
- Monads
28 Jul 2011 — we are using our original ''list'' comprehension with an entirely
different type than lists! We can even perform our more complex test in the Maybe monad:
======
test Maybe [Maybe >>= [Just 3] {msquare
- Monopoly
02 Sep 2007 — chest (draw a card but different results)
* pay a tax or receive income (at Go) or even free parking.
* be in or visiting Jail
The next throw you move on more spaces
- moodss
13 Feb 2011 — ps,
random, route, sensors, SNMP/snmptrap,
system modules for Linux. and trace modules, etc.
It can even keep track of all of this info on multiple servers.
Supports use of ssh for
- More Tcl socket performance
29 Jul 2011 — Choose any host other than the local one, and the difference
# between C and Tcl shrinks even more. 5837 is a port chosen
# merely for convenience.
set channel [socket localhost 5837]
fconfigure
- Most programmers don't know what Expect can do for them
30 Mar 2009 — the developerworks article at:
[http://www-106.ibm.com/developerworks/library/l-sc1/?n-l-4112]):
even most active [Expect] programmers are aware of only a fraction
of its capabilities.
First, they
- mouse gesture
02 Nov 2010 — then add where we changed direction to the list
# this proc is close but yet so even far
# should be rewritten
set new_coords [list]
set last_x 0
set last_y
- mousewheel
08 Mar 2012 — have to bind to the <Button-4> and <Button-5> events. - IIRC, Button-4/5 is even not the only way of mapping the mouse wheel on X. As X doesn't
- Move an item on a Canvas Widget in a Straight Line (animated)
26 Mar 2012 — Hence the example :)
The proc below works so that the item on the canvas moves an even amount (by both X and Y) every time. The variables passed to it are $c
- Move any widget
29 Oct 2010 — brace-quoted string (here, the third argument to [proc]) contains mismatched braces, and this is necessary even outside double quotes, for instance in comments. Maybe you're just doing it out of
- Move cursor by display line in a text widget
27 Mar 2008 — the feature found in the default tkTextUpDownLine where the original column is maintained across repeated operations even though some lines passed through don't have enough columns -- [Brian Theado]:
proc min args
- Moving an anthropomorphous robot arm
04 Mar 2007 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Moving Canvas Window Items - Can someone tell me what's going on here?
02 Apr 2003 — grabs the item and begins to move it, but the button jumps back and forth with even the tiniest of movement. It's almost as if the mouse is moving backwards as
- Moving dots
24 Dec 2011 — problems (oops, maybe I didn't see right, is the distance linear?) would seems solvable. Maybe even automatically. I remember a big book with diff. eq. that definitely contained images of this
- Mozilla
12 Nov 2006 — portability,
use of standards, included scripting language) could be duplicated with [Tcl] as
a base (maybe even using [starkit]s as a base). I have sometimes wondered if
[XUL] could be used
- MPA
15 May 2012 — Released with a BSDish License.
The fact is that the floating-point numbers are still experimental, even if it 'works'.
(that means, the precision of fp. numbers is a subject i personnaly
- mpeg2encode
04 Jul 2011 — path/to/video.mpg
puts "mpeg2encode done."
----
[AM] With [TclMagick] I have been able to automate even more of this (I do not need to define a parameters file like the above
- MS Windows: Starter wrappers
02 Nov 2008 — have standard handles, they '''may''' inherit them from console executables, they may even inherit the '''console''' handles. They may even call SetConsoleMode() for these handles successfully; ironically, the latter is the very
- MS's bytecode engine ideas
22 Dec 2011 — line". You can even generate the code block dynamically using a filter proc. It's always nice to have a fast base language but macros can offer some relief even now.
----
26jul04
- msgcat
20 Mar 2012 — d files" "Il y a %d fichiers"
...
puts [format [mc "Directory contains %d files"] $nfiles]
======
'''[DGP]''' Even easier. There's a [format] already built-in to [mc]:
======
puts [mc "Directory contains %d
- msgCourier
16 Apr 2010 — focus on lower level communication methods.
3. A message queuing product which offers guaranteed message delivery even when applications become temporally unavailable due to network or application failures.
GPL License. MsgCourier is
- Msys
12 May 2012 — are abnormal (a lot of nix utilities need special help to deal with paths containing spaces --even those that ought to know better [['''bjam''', for example]]).
For others reading or installing MSYS
- multi-arg coroutines
17 May 2010 — name $args
}
}
======
The predominant cost in this is that of tracing intermediate commands to avoid leakage. Even if this were not the case, the cost of calling a proc to wrap the
- Multi-assign
27 Aug 2011 — so it'd be idealistic to suggest both at once ;)
[rmax]: I think both changes would even be allowed in a minor release, as the foreach optimization doesn't change behaviour at
- Multi-Core Processor Test using Threads and Critcl
01 Nov 2010 — that adding threads above the maximum number of
cores in the processor initially reduces throughput until even more threads are
added. I suspect this is an artifact of the way in which
- Multi-line TclOO Text Entry Widget
23 Jun 2010 — the -allowtab 1 option
* corrects some deficiencies of the Snit version
** Paste was allowed into widget even when -readonly 1
** All configuration options not recognized by the multiEntry object are sent to
- Multicolumn listbox
18 Dec 2010 — listcontrol from [mkWidgets]
* [tktable] creates a widget command called ''table'' and installs its doc as tkTable (even though to require the package, you use '''Tktable''').
* TableList from [incr Tk]
* WISH List by
- Multics
28 Sep 2011 — provided numerous ideas that [Unix] built on - the Unix name itself was a pun of Multics. Even if less known, this is part of the [Tcl heritage].
These clippings from "The Multics
- Multiple inheritance with TclOO - how to resolve ambiguities
10 Jan 2012 — superclass. But as far as foo is concerned, it has nothing to do with bar, or even whether it coexists as superclass in foobar or not.
''Very puzzling... at least when coming
- Multitasking and the event loop: the script
15 Jul 2005 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Mumbling over a mega widget framework
29 Mar 2005 — widget. It's still
a work in progress, and there are topics that I've not even begun to
consider (like creating GNU Emacs-like keymaps).
Nevertheless, I hope that it can
- Murphy
07 Nov 2010 — The mythical author of Murphy's Law:
If anything can go wrong, it will.
There's even a ''cottage industry'' around this ''law'' and other ''derivations'' -
see, for instance, http://www.murphys
- Muse
03 Aug 2009 — to do with "what other tclers contributed." In fact, one of them even pre-dates Tcl, itself. Smearing someone without even having the cajones to use your real name. Nice.''
[ANON]: Eolas
- MySQL
08 Sep 2011 — shtml is an article on using Tcl, MySQL, and the MySQLTcl library.
"The new MySQL is even available as a library you can compile into your application. Proprietary licenses are available if
- N-puzzle
31 Oct 2011 — position into a list
# 3. counting how many swaps needed to get to the solution
# 4. even number of swaps is solvable
#
proc IsSolvable {{lboard {}}} {
global B S
if {$lboard eq {}} { ;# Turn
- Named arguments
08 Feb 2012 — them with the ''args'' of the proc (which has to be paired, i.e. contain an even number of elements):
proc replace {s args} {
array set opt [concat {-from 0 -to end
- Named Arguments - By Specialisation
08 Feb 2012 — the parameter that is in this ordinal position.
* '''--''' The next parameter is not a parameter name even if it matches one.
'''First the original code'''
======
# The argument processor.
proc userargs {_arglist _args
- namespace
21 Oct 2010 — 19 Sept 2007 - There is no definitive "best way". I use namespaces all the time. I even use them for "objects" that aren't singletons. I've done it so many times
- namespace current
21 Oct 2010 — your program execution, as "two or more colons" are parsed as namespace separator. -- [schlenk] You may even use the wrong tool for the job, [namespace which] could be more like what you
- namespace ensemble
21 Oct 2010 — Note that it is legal to make the target of an ensemble rewrite be another (or even the same) ensemble command. The ensemble command will not be visible through the use of
- Namespace resolution on unknown command
26 Jan 2005 — value given for parameter "command" to "a::b"
while evaluating {a b}
----
RS: It would be even more symmetric if we could write
proc {a b c} {} {puts c}
instead of
namespace
- namespace which
21 Oct 2010 — For me, it was surprising that
======
[namespace which -variable array(element)]
======
always returns the empty string, even if
======
info exists array(element)
======
returns true (e.g. the array element exists).
One might
- Natively accessing XML
19 Oct 2011 — Jochen Loewer] Excellent Brian! I think this XPath based updating of XML/DOM structures makes it even easier to generate/manipulate nested
structures. I also read about a similar approach somewhere else
- Neil Madden
25 Jul 2010 — written while I was an undergraduate. A nice example of the usefulness of higher-order functions, even if I didn't know what that term meant at the time!
* [Simple TkHTML Web
- nested list
27 Jul 2009 — eq $Right}]
# 0
======
if 0 {
The last command shows the more interesting property : even with the same data, even sorted, Left nested lists are always different from Right nested list and that
- Nested-loop join
03 Dec 2002 — and (left/right) "outer join" which keeps all rows on the left of right hand side, even when lookups fail.
Here's page with tons of info [http://www7b.software.ibm.com
- netstrings
06 Apr 2012 — at the application level (even [md5] is much better that straight [crc], and for serious use you'd be up at [sha256] or something like that) or even a full encrypted channel
- Network Theoretical Elements in Bwise
26 Jan 2012 — For instance driving maxima to actually compute what goes on in the networks, even symbolically, and some scripts to even make sounds of the result. Of course this is all the more
- Network Time Protocol - NTP
04 Oct 2010 — names are always valid but every hour or so they resolve to a different server. -- [CLN] Even better the "pool" is sub-divided into world regions (Europe, Asia, etc) then further into
- Never Try To Teach A Pig To Sing
21 Jan 2012 — mothers-in-law singing... Now you've presented me with a truly scary picture. And some even dare to put their stuff on CDs and sell it. <shudder> ''-- [PS]''
----
I prefer: Never
- Neverwinter Nights
31 Mar 2012 — from Bioware that comes with a toolkit for creating your own
game worlds and you can even build small-scale multiplayer persistent worlds
using it (supporting around 50+ players).
It has no
- New Control Structures
08 Jul 2009 — something very similar is in the ''do'' procedure further up this page).
In this version, we even handle things like [break]/[continue] in the loop:
proc foreachNewMsg {vars con group script} {
upvar
- New features requested for wiki
11 May 2006 — ideas for future enhancements. Notes by [LV] and [stevel].
* diff pages (particularly for large pages) - perhaps even showing changes at top of page - along with this, a button for 'minor' changes, or
- New Pages
08 Mar 2012 — there is some other link? Won't the pages become 'orphans' otherwise?
2006-12-29 [JMPB] - Even if they become 'orphaned': a bot can be written to go through all pages (simply
- New Tcl/TkAqua FAQ
28 Dec 2011 — mach-o, but wrong architecture
NSCreateObjectFileImageFromFile() error: not a Mach-O MH_BUNDLE file
You may even get a 'bus error' on these conflicts.
When trying to build a universal binary extension
- newexec
22 Sep 2006 — String Representation)
[00:47] dkf_ EIAS, even if it doesn't
[00:48] kbk Everything Is A Stork
[00:48] dkf_ Everything is a string, even if it isn't right now
- Newton-Raphson Equation Solver
11 Dec 2007 — current guess if the derivative is too small. (I also went ahead and called it "secant" even thought I agree -- morally it's Newton-Raphson. But it helps to distinguish from the
- NexTk
07 Sep 2008 — be even better than before, and more consistent, especially with minwidth/minheight windows.
I updated the top of this page with some new NexTk demos I have created. 2 demos even helped
- Ninth Annual Tcl/Tk Conference
12 Nov 2006 — apparently just playing for his own pleasure and not that of anyone else? He did not even seem to change tracks ever...)''
After being on the go for about 20 hrs, I
- NJG
20 May 2007 — period not only there has been no development involving Tk's photo image manipulation but none even has been suggested. So when the announcement of [TclMagick] (first [tcl-magick]) appeared on this
- NLP for a Knowledge Database
10 Jun 2011 — Episode 230: 18-Oct-2000
The language parser understands a variety of question types and can even some types of compound questions.
The engine is designed to allow for any show, not
- No Magic or Policy in Starkits
08 Apr 2011 — layout.
The above is worth repeating, IMO. All a starkit does, is contain a dir
hierarchy (even if just a flat one) which gets "mounted". That mount
point happens to be the
- Nokia 770
10 Dec 2009 — for arm-linux on my Nokia 770 (OS version 2.2 'gregale'). It seems to run, even Tk works, but has one serious limitation: The soft keyboard will not show up in
- Nokia E90 Communicator / Symbian 60 Tcl/Tk Support ?
23 Nov 2010 — Windows] works: it's slow, it's complicated, it's time consuming, and it doesn't even have a decent [shell]! -> It's crap ...
Well, I will start over in a few
- Not Functional Imaging - Scripting Imaging
02 Apr 2012 — code and make it less readable - [simple]r is better :) And getting simplicity without sacrificing robustness even more so. One (optical) example of simplification in Tcl is currying ([Custom curry]), but it
- Notebook App
02 Mar 2010 — instead, consider allowing someone to decide. Frankly, with lots of pages, I would want narrowing down even more.
Another thing that I always like to encourage in tools like this is to
- notepad++
22 Jul 2011 — above problems.
Also - it's really unfortunate that c-style comments are recognized by the highlighter even when editing Tcl files.
the sequence /* is very common in scripts dealing with the filesystem
- Notes from the 2001 Tcl Conference
19 Jul 2003 — word searches, is likely the problem being discussed. [RS] Anyway, one word searches can be had even shorter, like this: http://www.purl.org/mini/tcl/xml
* Yesterday (Tues), more of the
- notes on building TclPro
23 Feb 2005 — t seem to work
with autoconf2.5. It's probably easy to fix, but it's even easier to use autoconf2.13 if you can.
(Debian users can do "apt-get install
- Notes on compiling tcl with icc
25 Jul 2002 — global/eval.htm]. This is how I (mostly) solved them.
* '''Difficulty #1:''' icc writes to stderr even on succesful compilations without warnings, gcc does not. This was tripping part of the configure
- Notes on continued fractions
02 Oct 2004 — good iterative solutions of the same length. (In the case of '''findContFrac''' the iterative variant is even much more obvious.)
* In '''findContFrac''' you forget to evaluate an expression in the recursive call
- noteworthy off-topic postings to c.l.t
05 Nov 2002 — B66B7256@cs.man.ac.uk>. Incidentally,
we need to explain how good Tcl is at [Lego], even if that isn't technically off topic!
"[Chocolate Ice Cream]"; also, more chocolate in a
- notifier
08 Jan 2010 — and the notifier will deliver that fact back up to the higher levels of the core. Even if a (non-fatal) signal turns up, it is handled here (usually by restarting the
- nroff
16 Jan 2008 — use even now. The sister tool [troff] produces rather pretty output, similar in quality to [LaTeX]. [groff] is the most common modern implementation, and can produce fine nroff-level output even to
- ntext
24 Jul 2007 — appropriate for tk_strictMotif?
'''HISTORY'''
An earlier version named newText was posted on this Wiki; an even earlier version was posted as [Modern Bindings for the Text Widget].
''What are sensible defaults
- null
26 Jan 2012 — illegal'' by the standard; even though they can occur in a Tcl string, there is no sensible way to interpret them as text, since they're not even characters. Hence they are
- Number of business days
06 Nov 2006 — doing this is actually pretty simple... maybe enough that it's worth doing it this way even though it's kind of annoying to bludgeon one's way through:
proc is_holiday
- Numerical Analysis in Tcl
28 Dec 2009 — be very useful.
Even with all this, there's always the syntactial issue:
set y [expr{$x + [f [expr {pow($x,$z)}]]}
vs
y = x + f(x**z)
or even
y = x
- Numerical array operations
13 Jul 2011 — macro could be put in a .h file easily).
And it works fine, as I showed even quite efficient. And at least insightfull.
Which is not something I can say about the
- Numerical RPN
15 May 2012 — pick
def vdup dup 0 range
def vdupd dup ++ dup dup 2 + itemdup + swap range
def even odd not
def factorial {0 !=} {-- dup ++ dup -- {dupd * swap -- swap} times swap drop} (++) ifte
def
- Németh József Gábor
24 Mar 2005 — name (without the middle initial) is quite common. If you are old enough you may have even heard about Joe Namath, the American football quarterback who had been a quite high orbiting
- OBEX
17 Mar 2008 — set input [dict get $buffer $fh]
if {[binary scan $input cS opcode length]!=2} {
DEBUG {Not even 3 bytes...}
return
}
to_short length
DEBUG {Length $length...}
if {[string length $input]>=$length} {
DEBUG
- Obfuscation
21 Oct 2008 — conceptually simple, the obfuscated
representation is rather surprising.
Also, a different obfuscation is produced each time
'''even if the input is the same'''.
- Use of a package wasn't to impress the
- Object
05 Sep 2009 — doc/snit.html
I don't recommend using any other object system than these if you want anything even vaguely "objects and classes" conventional.
<<categories>> Category Concept | Category Glossary | Category Object Orientation
- Object orientation
20 Jul 2011 — at [http://phaseit.net/claird/comp.lang.tcl/ootcl.html].
----
The community would benefit greatly from even the most rudimentary OO benchmarking project.
[Miguel Sofer] points out that Doug Bagley's "Shootout
- Object Type Control Discussion
05 Aug 2003 — foo foo"
jyl set obj blah
jyl now, the object in $obj is inaccessible and irretrievable even though it should be retrievable?
jyl dkf?
dkf In the following case, the rep is
- Object vs. Megawidget
26 Oct 2010 — one could create a framework where they didn't worry whether these megawidgets were coded, or even behaved, anything like Tk (or [Ttk] now). While this would mean that all developers start
- Obsolete Suggestions for Tk 9.0
06 Nov 2010 — Scrollbar]''
''[DKF]'' - Why wait for 9.0? I want it fixed ''now'' and I wouldn't even consider it a real incompatability.
''[GPS]'' - It seems like it will be a difficult bug
- Octave
06 Nov 2011 — aren't associative, but they are alternative: a * (a * b) == (a * a) * b. Sedenions aren't even alternative, but they do have power associativity: a * (a * a) == (a * a) * a. I'm
- odyce
23 Jul 2011 — Also, some examples would be very welcome.
That pages mentions that no headers are required - not even <stdio.h> and friends? [EH] System headers, together with Tcl/Tk ones, are embedded into
- Odys object system
09 Mar 2005 — just a draft, but I think the main ideas are already present.
Every kind of comment, even if very negative, is welcomed.
'''Prototype implementation'''
# The ODYS object system
# TODO:
#
# - 'class' class methods
- OEM
06 Jan 2012 — or software into his own product ([RS]) In this form, USAicans are fond of employing it even as a verb ("We're going to OEM everything in the back closet--call it
- Offering TCL Jobs
16 Jul 2011 — It’s time to put those old technologies out to pasture and step into the new century, even for stodgy old telephone companies.
Right now, we’re searching for a System Test Engineer (SQA
- Official library of extensions
29 Apr 2012 — never happen with some official thing that has a bottleneck of one or two people (or even 10 people) as gatekeepers -- there are too many extensions and too many platforms that they
- Oldest living Tcl page
06 Aug 2008 — link doesn't work anymore.
http://medg.lcs.mit.edu/ftp/mpf/GridWars/
pretty funny! But even better is the page just above that
one:
http://medg.lcs.mit.edu/ftp/mpf
- On mathematical notation
07 Sep 2005 — is today. In the many
languages where it is a task in its own right to even store any piece of
data more complicated than a double, this is of course a
- On things
07 Jan 2012 — mortal legs
Things can have '''ways''' (methods, demons, ...) that can be set and got in an even more orthogonal way (pure Lambda) than ''proc/info args/info body'' provide, and inherited like
- One Liners
16 May 2011 — it actually has more true and useful one-liners than this page, which goes to show even further how pointless this page turns out to be. The main difference between the two
- One script in a starkit
25 Jul 2009 — care that much about, don't fix it. The urge to update to the latest revision, even with lower-volume software where mishaps and imperfections are far more common and long-lived
- Oneliner's Pie in the Sky
22 Jul 2011 — these individual solutions varies with the number of trials
and the algorithms used are fairly slow, even glacial closers.
----
Because the calculator is checking the accuracy of the answers
in the reporting
- Online Tcl and Tk Tutorials
28 Mar 2012 — LV] Example code is a great thing to have. Good example code - best practice
quality - is even better. Don't show code that, if someone comes around
using, the response would be
- OO
03 Jul 2008 — described as syntactic
sugar for a certain form of dispatching. - [RS] 2005-03-27: I'd even go further and say that quite a bunch of what is called OO can be
- OO Killed My Brother
20 Jun 2007 — extreme sensitivity of the whole OO issue. Some (no need for names) have reacted very strongly on this "criticism", even though it is obviously not seriously meant.
----
[[
[Category Humor] -
[Category Object Orientation]
]]
- OO System for Tcl9
16 May 2007 — you could have both ASCII and Unicode versions which would be interchangable at compile time (or even run time). I could also
imagine using C++'s polymorphism to implement interpreters with
and
- Open Source
22 Sep 2008 — read source code and obtain inspiration.
Or ...
'''Opinion 4'''
[KBK] Whoever wrote the above hasn't even scratched the surface of why people do open-source programming.
* You want to ameliorate the
- OpenACS
02 Nov 2010 — of ACS as his examples.
----
'''Packages and Extras''':
OpenACS includes many useful packages by default, with even more available at the http://openacs.org web site. Here are some maintained at other
- openssl
02 Dec 2004 — to make good high level encryption certificates, and there is an ssh for instance, too, maybe even a secure X server for the Xfree86 Xwindows emulation on windows, though I don't
- optcl
01 Aug 2009 — optcl IE windows open confuses the
bind command. The focus is staying on the IE window even when shaded
behind tabs etc...
comments?
----
[[Documentation projects: how to install in a pure [tclkit
- option database
04 Sep 2011 — t be set up
to remember such changes, and some might not be set up to even allow
such introspective interaction."
----
Another potentially useful tool when developing applications that make
use of
- option parsing using ensemble
07 Apr 2010 — a different namespace). This makes the last error look like it is for the main command, even when Tcl encounter them for the ensemble.
----
[DKF], about a previous version [http://wiki.tcl
- Oratcl Examples
13 Jun 2008 — order by one of the columns"...
and to have the ability to widen columns, and maybe even hide columns in which
I'm not too interested.
And maybe a way to specify
- Oratcl Logon Dialog
02 Dec 2007 — purely stylistic standpoint, I originally wrote it using StudlyCapitalizedNames which I don't particularly like anymore. Even apart from that, if you have suggestions, enhancements or bug fixes, please let me know
- Orb Spinner
27 May 2010 — an old laptop, I found a [Microsoft Windows] version of Orb Spinner 1.3b. It's even still installed on
that laptop, including an Orb Spinner Help file. Looking at the Internet
- OS/2
19 May 2004 — on the PC to Microsoft Windows. Windows NT 3 shared some code with OS/2, it even had the same cryptic error messages.
A Tcl/Tk port for OS/2 can be
- Ousterhout's Dichotomy
11 Nov 2007 — amount of languages compile partially into virtual machine code, or at least use a bytecode internally (even Tcl does this!).
Some people for this reason declare the underyling premise wrong, so it
- Oustervote
25 Jul 2006 — you answer by raising hands
* you always include a catch-all choice so that everyone votes, even if it's "undecided" or "other"
* you summarize the results in front of the audience
- Outlook
29 Oct 2008 — formats.
Outlook Express (the "server") does ''not'' expose a [COM] interface,
but Outlook 2000 does (true?).
Even in the case of the former,
[http://support.microsoft.com/default.aspx?scid=kb;en
- Overloading widgets
23 Jul 2011 — args}
}
}]
======
----
'''Adding a new method to a widget (using rename and interp)'''
'''DKF:''' you can do even better for yourself if you use interpreter command aliases (i.e. your code can be
- pack propagate
13 Jan 2012 — used a [wm geometry] command
such as `wm geometry . 400x300`, then propagation will seem turned off even though `pack propagate .` returns 1. To
get propagation working again, if needed, issue a `wm
- package
26 Oct 2010 — 4 at least, but there are many precedents of packaging reporting 3-part version numbers, [Mk4tcl] even does four: 2.4.9.2. Test:
% foreach {p v} [packages T*] {puts "$p : $v
- package BoF: install-side of PACKAGE UNKNOWN
07 Aug 2008 — number of sibling directories of [info library]!
Errors in index scripts of all installed packages reported. Even in packages that are never used
Keeps no map to be more selective.
** [tclPkgUnknown] Limitations
- package BoF: PACKAGE ABOUT - metadata
26 Oct 2010 — compete with TIP 59? If compete, who wins?
-----
[AK]:
* Availability of metadata: IMHO should be useable even before loading. Enables package management tools for packages without having to load their functionality into
- package BoF: recognize alpha/beta version numbers
01 Jun 2005 — in version numbers (''1.2a'', ''1.2a5'', ''1.2a5b3.7'', ''0.59r'')
* conform to [[package vcompare]] even to extent of error message
* '''not''' allow a letter to be followed by a letter
- package for solving PDEs
21 Feb 2007 — of such variables.
''[Lars H]: Is there a reason for not allowing mixed second order derivatives? Even if they're not used in the basic PDEs, I think they tend to pop
- package ifneeded
16 Jul 2008 — there is no way for the [package ifneeded]
command itself to test for inaccuracies like this. Even
the [package require] command cannot check for these
inaccuracies before making a selection based on
- package index script interface guidelines
28 Jan 2009 — Essentially, the [[package ifneeded]]
tells the [[package]] system that a package is available to
be loaded, even though the attempt to load it is going to produce
an error. If this index
- package management
30 Apr 2012 — tries a "package require foo" first? With nested naming, i.e. "foo::two::bar" it might even try a "package require foo.two" and then "foo".
My reason for asking is that
- package names
22 Jun 2008 — H]: Feeling slightly Cantorian, I'd propose the following for a foolproof (never loading a package, even if it's got a bizarre name) method of listing all package names:
proc all
- package provide
06 Jan 2012 — of tcl, i.e.
> info tclversion
Ick. Don't use that. And don't use the even worse $::tcl_version. Use [[package provide Tcl]]. ''([RS] uses most often "[info] pa" for the
- package require
16 Jan 2012 — code assumed you already had snit loaded in your interp. In that case, [package provide] (or even [package present]) is better than [package require].
And yes, 82 > 9, so 0.82 is
- Packing rectangles
09 Sep 2008 — in a critical point that is not attained also in some
# boundary point. (Possibly this can even be proved, but I don't
# really have the patience to work it out right
- Pages containing invalid UTF-8 sequences
03 Dec 2007 — the Wiki ''other'' than as the result of this process; these two characters are extremely uncommon even in natural languages that use them. (French, for instance, often omits accents from capital letters
- Palindromes
28 Jun 2007 — s 0]
return $c[palindrome [string range $s 1 end]]$c
} else {set s}
}
----
[VI] 2003-11-16. An even longer one is at [http://www.spinelessbooks.com/2002/palindrome/]
----
[Category Toys]
- parray
23 Oct 2010 — But a command/proc that will adamantly output to stdout '''only''' is half as useful (or even less than half). It can't simply return the data or feed it to a
- Parser using recursive descent
10 Jun 2011 — awed by the - for me - frequent task of reading input files of all kinds of complexity. Even though most input files I deal with have a simple structure, the program units to
- Parsing RFC 1036 headers
18 Jul 2008 — library is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Lesser
- Parsing XML
09 Jun 2011 — s so many weird gotchas. Checking for well-formedness quadrupled the size of the code and
even so it's not complete. I love XML's design goal #6
''XML documents should
- Partial Differential Equations
07 Jul 2011 — Could we join forces? I would love a PDE solver in Tcl - even it is not that particularly fast or even remotely useful :) As you have not signed this page with your
- partial evaluation
04 Jun 2011 — as a base we will use the notion of
evaluation from the [lambda calculus], which is even simpler than Tcl. In the lambda calculus you have lambda-terms,
which are simple functions
- Particle System
23 Nov 2003 — start_b
# --- calculate the lifespan of this particle
# we know *exactly* how long it will live, even before it's born...
set life [expr {$::emitter(life) + int($::emitter(lifeVar) * [randomNum])}]
if { $life
- Pascal
21 May 2006 — of course, the [binomial coefficients]. [Tcllib] has a robust ''::math::combinatorics::choose'' procedure for computing them, even for large and fractional arguments.
[AM] See also: [Pascal's triangle] - as it deserves its
- Pass by reference
10 Jan 2009 — variables from other (only upper) scopes if required, and that is precisely what [upvar] does. And: even seeming innocent statements like
set i 0
already contain a reference - to the variable "i
- PBM Plus
23 Nov 2005 — 17 was released during 2003.
----
[TV] I remember using it for computer graphics work, long ago, even before I used it to convert images to the (also early) Tk compatible PPM (or
- PCOM one-to-one instant messaging and file transfer
27 Jul 2011 — on a local network which I bridge to the internet indeed it doesn't work. And even that user permissions can be such that opening a server socket is not permitted at
- PCRE
01 Jan 2008 — granted, but they're also overly mystified, and PCRE take the blame for some extra mystification,
even by those who are good friends with Regular Expressions.''
The thing is that PCRE allow
- PDF
23 Jan 2012 — contain binary data, can be encrypted, may be "linearized" (for quick access over the web), and even contain different versions of the same document in an incremental way.
***Header***
The header consists
- pdf4tcl
29 Dec 2011 — 2008-02-27: Yep, using the above workaround, the canvas output seems to work for me - even for a relatively complex canvas. Nice work!
[Bryan Oakley] a few moments later: Nice! Thanks
- pdf4tcl.tcl
21 Oct 2009 — create photo -format window -data $opts(-window)} image]} {
set image ""
}
if {$image eq ""} {
# Get a size even if it is unmapped
foreach width [list [winfo width $opts(-window)] \
$opts(-width) \
[winfo reqwidth
- pdict: Pretty print a dict
09 Nov 2010 — that is a dict and a value that is an even number of tcl words. In your example you provided an even number of tcl words as the value to `name ` and
- Peanut
16 Dec 2007 — partition; it gets too slow then, but [Windows] users may want to try it this way;
* even in a native Linux partition, it provides the means to be launched from a [MS
- PED
27 Jul 2008 — to variables and procs. Perhaps some of these items can serve as basis, starting point, or even just inspiration in this direction. Would be grand, IMO!
[tkinspect] was one of the first
- People & Community
25 Feb 2012 — general)
----
**Contribute to the Tclers' Wiki**
* Almost anything Tcl-related can be added to the Wiki - even criticism, as long as you are honest about it. Sample code, documentation, examples, book reviews
- Perfect Aqua Look
10 Aug 2009 — Aqua is the name of the native [MacOS X] look.
Even with the help of [tile], [Tk] applications do not yet look fully native out of the box. It is, however, possible
- Performance of string reversing algorithms
09 May 2012 — recursive halving trick as a classical
mergesort -- most of its concatenations are on short strings, so even
though there are the same number of concatenations as in
'''rev_by_string''', the average
- Performance of Various Stack Implementations
27 Apr 2009 — a performance penalty
I had to pay: code that should have taken less than a second (even milliseconds) took almost a
minute to complete! This inspired me to do some investigation of
- Periodic decimal fractions
12 Jul 2004 — is determined - so, the script can be adapted to generate fractions in other number systems without even frowning your eye brows. The line in question:
set rest [expr {$rest*10}]
----
[TV] From
- Perl
16 Jul 2009 — In the past, some [Tcl/Tk] developers expressed concern that to do this
would relegate Tcl even farther to the background of attention.
Information about perl can be found at the site
- Permutations
17 May 2012 — 1, 2, 3} -> {1, 2}
[Lars H]: Even Wikipedia mentions this only as an obsolescent definition. It's usually not what one wants,
but even when it happens to be what one
- persistence
30 Apr 2010 — off the device, pick up at the same spot when
I turn on the device again.
Even neater, some applications retain their state when another application
runs - for instance, if I am
- Persistent arrays
18 Dec 2005 — anamoly with trace and upvar. You can use upvar to create an alias
for a variable, even is the real variable is an element of an array.
% set c(x) 0
% upvar
- Persistent Data Storage, including states
01 Feb 2006 — is basically just writing stuff to disk (or in the [registry] if you so wish. However, note that even though the above uses the ::tk namespace, it is not part of [Tk]
- Persistent incr-Tcl objects
02 May 2008 — would result in the section of code which saves and restores an object being duplicated, or even of infinite loops developing. For this reason, putObject remembers the names of the objects which
- Persistent Tcl and Tk Applications
19 Jan 2003 — file is not modified in the meantime, it has to be put on read-only - but even that can be reset by the owner (or root)...[RS]
(2) Here the [proc] command
- Personal Wikis
10 Jul 2009 — an editor that hyperlinks, go with Notebook. It's excellent.
If you know how to code in Tcl/Tk you can even add your own features.
'''Enjoy wiki!'''
-----
!!!!!!
%| [Category Wikit] | [Category PIM] |%
!!!!!!
- Perspecta
26 Mar 2012 — and display presentations. (Think [PowerPoint]!)
They even had an advertisement in an issue of "Workstation" back in 1992 or 1993.
The product was [Tcl/Tk]-based, even though the [canvas] [widget]
had
- Petri Nets
24 Jan 2011 — fire at once, but the need not. Thinking of multi-processor machines or even multithreaded processors you will even get real concurrency on your desktop, so real concurreny semantics is definitely not
- Philip Quaife
27 Sep 2011 — QAnim]
* [Optimized Tetrahedron with tclogl]
* [Qanim - tclogl Animation Demo]
* [3D Minesweep] - A cool game. With sound even.
* [How to get Menu Accelerators to work under Windows]
* [How do you unpost a menu
- phk
26 Jul 2011 — a great idea!). And everything is coded in TCL?
-----
[phk] yes, everything is done using tcl. Even the website which is static, but mostly generated depends on tcl ([expand]).
-----
[unperson] The beauty
- Phototools - Interactive Editing Of JPG-Comments - Old Version
09 Jun 2008 — in commenting them.'''
Though it is totally incomplete yet, it shouldn't destroy your JPGs or even alter them,
unless you hit the '''Save Changes!'''-button. '''No guarantees!'''
* Save the following code
- PicoIRC 0.2 explained
21 Jun 2007 — info hostname returns that name.
No I didn't read that page... posted the question without even looking at it afterwards. Many thanks to you all though! You've been very helpful
- Pils
16 Nov 2007 — exactly 1 data type,
Pils has exactly 2:
(a) the atom,
(b) the list.
There are even no symbols as every atom can serve as such!
By the way, in Germany Pils
- pipe
21 Jun 2009 — can write any sort of data, with the expectation that some other
piece of code (perhaps even in another process) will read this
data and be able to manipulate it.
The first
- pkg_mkIndex pitfalls
10 Jul 2011 — problems doing so. I think it shouldn't do silently, but give some hint on stderr even if not in verbose mode.
What's more we would like to be using pkg
- pkgsrc
19 Feb 2004 — It's hosted by the [NetBSD] Foundation, but works with other systems, such as [Linux] and even commercial Unix systems.
http://www.pkgsrc.org/
pkgsrc contains Tcl/Tk developer tools, and applications
- PL/I
05 Jul 2011 — does not look good even for language demonstration purposes, looks like someone's test program: its named ''mytest'', what do you want from it? It is not even PI calculation! I dislike
- places to find Tcl binaries and sources
14 Apr 2009 — cvs/
* [George Petasis]: http://www.iit.demokritos.gr/~petasis/Tcl/index.html
----
If you want something even more recent than that, you can go directly to the SourceForge CVS:
* Tcl: http://sourceforge
- Playing 3D
30 Jul 2011 — 2D projection along the specified
axis. In the demo program, which shows a little "doll house" (even with
badly hidden Easter eggs ;-), children may collect eggs by clicking on them
(they'll
- Playing APL
04 Jul 2011 — but still kicking, is
characterized by
* extreme brevity (the most powerful one-liners)
* strict infix operators (even user "procs" could only be written as nil-, mon-, or dyadic operators)
* no operator hierarchy
- Playing Assembler
28 Dec 2005 — elements), which are implemented as Tcl procs.
So an "assembler" program in this plaything will run even slower than in pure
Tcl, and consume more memory - while normally you associate speed and
- Playing Bourne shell
29 Mar 2011 — if [ $# -ne 1 ] ...
would have to rewritten in [expr] syntax (braced condition, C operators), but we even emulate the Perlish special variable ?# :
set # [llength $argv]
if {${#} != 1 } ...
----
This fills most of the
- Playing C
28 Nov 2008 — Richard Suchenwirth] 2001-01-12 -
Want C style? Get C style! Even after years, the flexibility of ''The chamaeleon language'' (Tcl) still amazes me. I have programmed in C for quite some
- Playing C4.5
05 Oct 2007 — 0 {[Richard Suchenwirth] 2004-03-28 - This weekend I took some work home,
and I'm even reporting about it in the Wiki :) But no disclosure
problems involved, this is about the
- Playing Haskell
28 Jan 2011 — operators (or aliased some to existing Tcl commands), so the parallels are better visible. But remember - even if they look the same, they are still prefix operators!
proc : {list *h *t} {
upvar
- Playing machine translation
22 Apr 2010 — t take the above to be intended as a real translation system.
My point was that even something as simple as this, using common words,
can turn out to be more complicated
- Playing OO
06 Dec 2002 — the rest of your life", as someone wrote
about [trains3.tcl]. Here's how '''class inheritance''' (even '''multiple''')
is implemented: methods of superclasses are aliased, declared instance
variables, with default values, are
- Playing predicate logic
06 Jul 2011 — prove that "early to bed and early to rise, makes a man healthy, wealthy, and wise", even if that may not be true in
reality...
======
proc ! {args} {
set head [lindex $args 0
- Playing Prolog
08 Mar 2012 — adjective west austral
0
% direction_adjective _ _
0
======
The last example comes out different from Prolog, but even there it's
pretty nonsensical, basically just asking: "Do you have
direction_adjective/2 at
- Playing Python
03 Mar 2007 — Another Python feature, copied over from C, is that function names in calls always have parens, even if called with no arguments, and the arguments are separated by commas, e.g.
foo
- Playing SHARK
20 Jun 2010 — big but by
came can come could country
day days debts did different do dollars down
even every first for found from
general get go going good got great
had has have
- Playing SIR
25 Jun 2006 — to build
a relational knowledge base, or answer questions about it. The following Tcl
implementation is even weaker than the original from 40 years ago, but then
again it is only a
- Playing sudoku
04 Apr 2011 — or y axes
will again produce a valid sudoku, and after several of these it might
even be a challenge for puzzlers...
For example, here's a simple matrix transposition (see also
- Playing TRAC
12 Apr 2005 — 1} example.
This is a good example.
Boy, I'm beginning to like TRAC - and Tcl even more, as it allows to experiment with "foreign languages" pretty effortlessly... But TRAC has its
- Playing with bar charts
06 Jul 2009 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Playing with circuits
27 Oct 2008 — Actually even a simpler simulator for things
like resistors, capacitors and voltage sources can be very interesting.
[TV] What can I say....
[RS]: Soon after writing this, I found that even if
- Playing with Denavit and Hartenberg coordinates
27 Nov 2004 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Playing with homogeneous coordinates
03 Sep 2005 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Playing with planes in 3D
23 Mar 2005 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Playing with rationals
22 Jul 2005 — be exactly represented as floating-point number to base 2, nor as decimal fraction (base 10), even if bignum. Reading in [SICP] once more, I wanted to play with rationals in [Tcl
- Playing with Spirals in 3D
21 Apr 2012 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Playing with TclOO
16 Jan 2012 — first impressions, TclOO can be used well as an OO system in itself. I haven't even used all features as documented in TIP #257. So when I'll need some [OO
- Please read the disclaimer notice
23 Oct 2008 — OUT OF THE AVAILABILITY, USE, RELIANCE ON, OR INABILITY TO USE MELIFY SITES OR ANY 'INFORMATION', EVEN IF MELIFY SHALL HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, AND REGARDLESS OF
- plotchart
26 Feb 2011 — Thinking a little more about it, I can see cases where it is desirable to have even the ticklines in front.
----
'''[arjen] - 2010-08-13 03:24:42'''
Inspired by an article
- Plotting data
15 Sep 2009 — of XVT, though it may be close enough to
be useful. It is freely distributable software, even though
XVT is not. It was developed with the Macintosh's MPW 3.2+ and
- PN
02 Mar 2007 — Computing 101 was the bootstrap. I started working in 1972 in [COBOL], [FORTRAN] and [algol], and even had cause to program one of those old heavy plugboards with the gold-plated pegs
- png
05 Feb 2011 — very few general purpose graphic image viewers will. In fact, I haven't yet found one. (Even the latest version of the otherwise excellent XnView just doesn't want to know.)
The
- Pocket Joy 2005
15 May 2012 — pop]] $x} tcl
: dupd {push [lindex $::S end-1]} tcl
: emit {pn [format %c [pop]]} tcl
: even odd not
: explode {push [split [pop] ""]} tcl ;# string -> char list
: fact 1 (*) primrec
: filter split
- PocketPC
28 Nov 2008 — game add comm -label Exit -comm exit
but I still don't see a menu anywhere even when activating (i.e. bringing to the front) the . window.
Is anybody else using the
- PocketPC socket/fileevent strangeness
10 Oct 2011 — and the response including the password prompt being sent back by the server. I can then even enter the password in the entry box, and see it go to the server and
- Pod
21 Apr 2012 — grab handles?
[ABU]: Correct ! You can enable/disable these grab handles
$w configure -resizable false
Anyway, even if interactive-resizing is disabled, you can always resize the Pod by program:
wm geometry
- Poet
01 Dec 2008 — a
combined Windows/Mac/Linux kit. Numerous bug fixes, including
one in the C code, so even 8.4 users should upgrade.
The poet.sourceforge.net website now includes two screen-capture
- Pointer clean-up!
23 May 2008 — p$} {
set seqpt "closeFrameFile($vname):"
if { [ catch {
uplevel $level closeFrameFile $vname
} err ] } {
lappend msg "$seqpt $err"
}
;## .
;## . even more elided!
;## .
} ;## end of switch
} ;## end of foreach
if { [ llength $msg ] > 1 } {
return -code error
- Poisson distribution
07 Jan 2012 — version: The implementation of cdf-poisson does not seem particularly efficient, but it runs reasonably quickly even for large values.'' [EKB]: This is now fixed. It was reasonably fast, but couldn't
- Poll: do you want OOP?
23 Apr 2012 — XOTcl] with its features is sure investment for several years. [XOTcl] in core would make it even better because it could use own special bytecodes for better performance. XOTcl as extension works
- Polynomial fitting
03 Jan 2006 — n>1.
All corresponding even numbered generalised Fourier coefficients are 0
(this is an even/odd function thing; arctan is odd, and all even numbered
Legrendre polynomials are even), and the first
- poor man's progressbar
28 Jul 2009 — reason, on Tcl/Tk 8.4.13, the code above will insist in showing the label even though the code says -showvalue off (which should turn this off!). My new code below
- Port scanning in tcl
19 Feb 2010 — open socket: connection refused" whereas the comments in the code above (and even the socket man page) imply that even for a failed connection we should get a socket handle.
The error
- Portable keystate
11 Mar 2010 — to "all", but you may want to set the bindings for a particular
# toplevel window or even a specific widget. Note: these bindings are in
# addition to previously existing bindings.
#
# These combinations
- PortableApps
11 Oct 2009 — and used there without needing to install it there.
Right now, this is just for windows.
Even if a lot of those applications are also available for Linux or Mac,
there is
- Porting To Windows
01 Nov 2010 — t be made to) return everything in a windows folder that
has the "hide" flag set.
Even better, there's a "system" flag, which automatically forces "hidden".
You can't un-hide
- Portland
22 Nov 2008 — several bright people [[provide references]]
are enthusiastic about Portland, [CL] regards its ambitions as severely limited.
Even when the first couple of releases of Portland are complete, it will leave
many, MANY
- portuguese tcl community
23 Nov 2009 — the formation of local communities ( this can be a good idea to promote local meetings or even conferences. )
**Portugal**
* [nscerqueira]
**Brasil**
* [Fabricio Rocha]
**Angola**
**Moçanbique**
** Cabo Verde **
** Guiné-Bissau **
** São Tomé e
- PosiTcl
14 Jun 2011 — application. You can even use Tcl as a data file parser. - RWT
* Tcl and Tk have command shells that can run your scripts as standalone programs. You can even "wrap" scripts, libraries
- Possible Grid Enhancements
27 Jan 2012 — 2 -pady 2 -sticky news
Affects any slaves added to that master in the future.
Maybe even:
grid slavedefaults all -padx 2 -pady 2 -sticky news
----
**Scrolled grid**
frame .f
scrollbar .sbx
- post-Euclidean Tcl
30 Mar 2010 — Euclidean_geometry#Axioms]. The system created by those axioms allowed one to reason about shapes, and even about numbers.
One of the axioms stuck out as being somehow less 'self-evident' than
- PostgreSQL
09 Sep 2011 — sourceforge.net/projects/pgtclng/]
It actually seems all client libraries have been removed from the core, even the C library.
pgtcl and pgtcl-ng have binaries available for windows. pgintcl is platform
- Postscript
24 Oct 2011 — by explicitly setting -height and -width in the ''canvas'' postscript command, you can get everything dumped, even if the canvas isn't mapped to screen yet. ([RS] 2005-08-30)
Popular tools
- Power set of a list
04 Mar 2011 — should all be banned ! Applying even a little list of the 26 letters of the alphabet that fits on one line will crash your computer. DON'T EVEN THINK OF TRYING IT
- PowerPro
10 Apr 2011 — other very simple tasks. After a few years, PowerPro now has its own scripting language and even not considering its scripting capabilities, it has an absurd number of features for such a
- Practical Guide to Choosing Fonts
16 Nov 2007 — not some non-standard font that might not exist on another computer of the same type. Even then, I've no guarantees that my little world of computers covers the universe to
- Pragmatic use of Pernicious Popups
25 Oct 2007 — to
have cross platform identical look and feel and behavior, while others
prefer the native approach, even when it means that things don't work
the same across platforms.
[Vince]: surely the
- Predicates: on being and having
27 Oct 2009 — isdirectory $thing}
emailaddress {regexp {^[A-Za-z0-9._-]+@[[A-Za-z0-9.-]+$} $thing}
empty {expr {$thing==""}}
even {expr {1-abs([incr thing 0])%2}}
existent {uplevel info exists $thing}
existentfile {file exists
- Preferences Widget
01 Mar 2012 — An odd number of elements in args
error "value for \"[lindex $args end]\" missing"
}
# Great. An even number of options. Let's make sure they
# are all valid before we do anything
- Pregnancy Calculator
05 Mar 2007 — are done with care.
Maybe the basic risks based on age and previous pregnancy outcomes, but
even then the risks calculated will be higher than the actual risk
based on more factors
- Primal Screens
07 Apr 2009 — an even number. The lower right line passes thru values where m is an odd number. The prime rich directions appear to be either parallel or perpendicular to these lines of even
- Prime Number Browser
19 Apr 2009 — are the Squares of
# Odd and Even numbers.
#---------------------------------------------------------
proc odd_evenSquares {} {
global granularity tagName
# Plot a line through the Even and Odd squares.
set tagName odd_even
if {[string compare $granularity "fine
- Primes
07 Jun 2010 — 4.08s).
[glennj] 2009-04-20 small optimization in get_next_prime: incr by 2 as even numbers are obviously not prime. Also, add "restart" proc to complement "reset" without throwing away
- printing
03 Jul 2011 — says on comp.lang.tcl:
I'd love to have native printing on Windows, and would even devote a fair
amount of time to it. The difficulty, though, is in coming up
- Printing text files under Windows
10 Jul 2010 — CMD.EXE). And we convert the file to 8.3 form so that it will work even on DOS systems that don't support long filenames.
Unfortunately, the above doesn't work
- private namespace
22 Mar 2005 — possible except via [namespace export]ed names.
This would provide a nice degree of encapsulation, perhaps even a cheap [sandbox] and would be easy to implement.
Implementation: I suggest a form of
- Pro-X
09 Apr 2003 — RS] on 2003-04-09 wikifies this spam mail, as it might even be interesting:
We, at Pan American Business Solutions (India) Pvt. Ltd., have released development tool by the name Pro
- problem reports against previous wikit version
23 Jul 2009 — page concerning the handling of accented characters. A couple of days ago I noticed that an even more extensive damage had been done, now the title of my personal page had been
- Problems using Tile/Ttk
05 Jul 2009 — looks totally native, but I'd like to do this so it works cross-platform, and even on my Win XP system with the "Classic" look turned off, regular Tk [button]s
- Problems with list handling in connection with the "unknown" proc
23 Jul 2009 — looks like a string such as "49 50 51 52 53 54 55 56 57 48" even if it is a list surrounded by "{""}" gets an extra "{" and "}" and this causes great
- proc
16 Mar 2011 — discussion>>
**Extending proc**
Redefining an existing proc occurs silently and may result in unexpected errors (or even security breaches) if the proc is not carefully constructed. You can detect this type of
- Proc to bytecodes: when, how does it happen
19 Nov 2007 — is at
# compile time due to the bcc'ed [set] (this is an open bug,
# actually), even the "correct" case fails:
A 0 ;# wrong # args: should be "set varName ?newValue?"
----
The global
- proc-local alias
10 Feb 2012 — windows machine I was using.
Performance for invocation of each alias doesn't seem to degrade even with millions of aliases present. My guess is that aliases can essentially be used as
- procargs
08 Feb 2012 — args {}` before the rest of the proc body script. Now the procedure is called with an even number of arguments, the first, third, fifth, etc. of which are the names of the
- Procedure calling timed
13 Nov 2008 — our surprise found out that aliassing (3) takes double the time of (1) or (2), so even (4) is clearly better:
''...on 8.4a2, at least! On my notebook I get''
direct
- Procedures stored in arrays
15 Apr 2011 — These could even be combined with [Persistent arrays] or [Tequila] for something interesting.
----
[KPV] My biggest problem with ideas like this and also things like [Arrays of function pointers] and even object
- process algebra
27 Jul 2011 — and then m2, or the other obvious permutation:
m1 , m2
m2 , m1
Interleavings are more intricate, even though we can start with fixed event sequences or sequence pieces:
a --m1--> b --m2
- Procs as data structures
23 May 2011 — d have to escape the hash sign to call it:
hash
======
----
[MS] notes that you can even make it a real executable that returns the saved data:
======
proc SillyPoem2 {} {
return [join [lrange
- Profiling Tcl
14 Nov 2008 — implementation
is written in C instead of pure Tcl, so it is relatively fast.
You can even start the profiling, run interactive commands,
and save the results to a report file, like
- Programmable RPN Calculator
09 Aug 2011 — Someday, when this is finished, it would make a wonderful addition to the
Palm Pilot. Or even be built (Hey, I can dream, can't I?)
----
[MB] 2008-11-20 : Thank you
- programming in 2050
16 Mar 2005 — is that a good software project consists of the following roles (not necessary a different or even a single person in each role though):
* someone who believes they have a need
* someone
- Project Ideas for Google Summer of Code
04 Apr 2012 — table of ideas which were executed in various years of our participation.
Some of them are even general enough to allow re-execution, i.e. continuing of the previous work.
%|Idea page
- Project Ideas for Google Summer of Code 2009
11 Mar 2011 — on graphs and operations on them in general, like import and export from/to other formats. Even so, anything he is not working on in the short- to medium-term is [IMHO
- Project Release
29 Dec 2003 — If you got one last week, it also claimed
to be version 8.4.5.1, even though the code has changed in that
week. And Tcl is one of the better
- Project wish list
20 Jan 2003 — table.
* Get better information about tracing, eventually dynamically and use this to optimize the code, eventually even shedding temporary variables and using only the stack.
'''GUI:''' oh, this list would go on
- ProjectForum
07 May 2009 — pub/a/mac/2003/10/24/unixapps.html
----
What other groupware is pertinent here? Is there even a third item
in the category, beside PF and [CVSTrac]?
----
!!!!!!
%| [Category Application] | [Category Internet] | [Category
- Promotion
10 Jan 2012 — do you see to get people to write code in Perl (or even Python and Ruby) these days? Or even Java? Very little. Those languages have reached a maturity level that tends
- proof of concept: suspend and resume
03 Sep 2008 — when distinguishing original and suspendable commands) it is much easier to give them distinct names (distinct even when removing namespace qualifiers). Therefore the reimplemented commands, which live in the '''suspendable''' namespace, will
- Proper integers for Tcl 8.5 or 9.0
22 Dec 2011 — support. It is probably even possible to make the main case (arithmetic
on two objects of type ''tclIntType'' not resulting in overflow) slightly
faster than it is today, even with a check
- Proper integers implementation
11 Jan 2005 — done:
* Implementation of a bigint subtype ''SLM-hexadecimal'' with internal representation.
* Building using [CriTcl]
Things hardly even started:
* Other operations
----
'''Talk'''
I wonder - I recently ran into a reference to http://freshmeat
- Proplist, the "properties list" megawidget
22 Feb 2011 — Fabricio Rocha] - 14 Feb 2011 - Some types of software, like simulators, GUI builders, or even simple databases, manipulate objects which have their behaviours and appearance determined by a number of configuration options
- Proposed solutions to the current problems, Discussion
11 May 2007 — changes'. One of the top three rules in UI design is "People don't read anything (even if there's nothing else to read)".
Not that I consider it too great a
- Proposed Tcl 8.5 TIPs
01 Apr 2008 — and help bring a number of these TIPs to completion, making
Tcl/Tk 8.5 an even more amazing release. There certainly seems to be
a wide variety of ideas on how
- protobuf
10 Feb 2010 — The code generator for each language knows how
;# to refer to each type in that language, even if it has different
;# scoping rules.
;#
;# Example(2):
;# message m1 { enum e1 { a=0; b
- Prototype Pattern in Tcl
09 Dec 2008 — looking for a property
# - If you set a value, set in the child, not the parent, even if
# the parent has the property
# - When you clear a property, clear only in the
- ptparser
27 Mar 2004 — is the *need* to get every token that is a single
argument as a single entity, even if contains any kind of command/variable expansion. that's why in my case to
- pty
20 Mar 2005 — Alas, on [Windows] things are a bit problematic. And
on other Operating Systems, things can be even worse...
----
[Helmut Giese] provides in [clt] Tcl source for pty management
[http://groups-beta.google
- Pull down menus in XML
05 Jan 2012 — MC], 14 May 2003: Along the lines of [Visual menus], [Menus made easy], [Menus Even Easier] and [Menus Even Easier Redux], ''pdmenus'' is a small package to describe [Tk] pulldown [menu]s
- Puppy Linux
22 Sep 2009 — version, 0.8 I think. Many of the applications and scripts are Tcl/Tk.
This version even has [specTcl] and [visual Tcl]. These were removed in the newest releases, but [snack] got
- pure-Tcl
15 Sep 2003 — no C extensions or packages).
PRO:
* portable, will run on most or all platforms
* easily edited even in deployed form
CON:
* may run slower, especially in number-crunching
* may expose implementation details
- pure-tcl BMP reader/writer
10 Aug 2010 — background - I already have used a self-written BMP package, but the images I could create (even with this [pure-tcl BMP reader/writer]) are relative big. And I really would like
- Pure-tcl readline
03 Jan 2010 — like [vi] and links and even the [Linux Console Text Editor In Pure TCL] works perfectly with this.
If you are brave enough with it you can even source it from your
- puts
15 Feb 2011 — the operating system. If ''channelId'' is in nonblocking mode then the '''puts''' command will not block even if the operating system cannot accept the data. Instead, Tcl continues to buffer the data
- pwd
23 Oct 2010 — driven situation, relying on a particular working directory between calls may cause you grief.
In fact even without multiple interps you shouldn't write procs that rely on a particular working directory
- Q&D Unicode Character Selecter
04 Sep 2011 — on curfont.
* Adding a binding for the <<ComboboxSelected>> virtual event forces the call to setfont, but even though the font is being set as you suggested, it is not reflected in the
- QOTW
27 Feb 2012 — stuff to work for decades at a time. Tcl is all about gluing together useful parts, even when some of them come from the real world; it's not a language that
- Qualified geographic names
21 Aug 2006 — AMS = {South America}
+ ANT = Antarctica
+ ASI = Asia
+ AOC = {Australia & Oceania}
+ EUR = Europe
and a pedant might even construct "fully qualified names" like this:
Terra.AMN.US.CO.Denver
to be prepared for
- Quality of source code
21 Mar 2003 — www.sei.cmu.edu/] would be a good place to look.
In an ad hoc sense, even if we don't have good measures for it, it does sound like
the Tcl
- Questions related to windows
10 Nov 2011 — se''. I always explicitly '''focus''' my window after a dialogue just to get past stupid wms. (Even KDE, which I tend to like best, BTW, has some stupidosity in it.) Sorry if
- Questions that that have been moved around recently during the "big November shuffle"
01 Dec 2005 — move the button back to x,y It seems that step 1 isn't even being executed. Even more odd, if you remove the second place, the button does get moved to
- queue
13 May 2011 — by N, while lpeek would do as above (return a list of the first N elements, even if N is 1).
[schlenk] -- Please file a feature request at the sourceforge tcllib project
- Quick Access to Formatted Date & Time
15 Feb 2006 — I noticed there is no equiv in your code.
I'm not sure if it would even be wanted, but thinking it may be handy to have, I changed things around to
- Quick VNC for MacOS
07 Mar 2007 — s from the [sdarchive] repository, which contains quite a few apps & tools.
[CL] responds: of course! even better! And, yes, incidentally, this is all equally true for
[Windows] or [Unix] (or, with
- Quick-start guide to use of PostgreSQL with Tcl
05 Jan 2012 — settings on the postgres db
# you may be able to just do "pg_connect www" or even "pg_connect" if database is your username
package require Pgtcl
set db [pg_connect -conninfo
- Quines
19 Nov 2011 — c. And it looks damn cool doing it. You must see it to believe it, and even then you won't believe it.
Now we need a Tcl port. :^)
----
[DKF]: Tcl 8
- Quoting hell
29 Nov 2011 — argues that EIAS requires very precise quoting in order to get anything nontrivial to work right: ''"Even then I recently wrote some Tcl code with seven consecutive backslashes, admittedly in a complex
- Radical Language Modification
14 Jun 2011 — Tcl is the best invention since even before sliced bread !-)
[LES] on 27 Sep 2005: But do we really need those parentheses? Why not make even shorter syntax?
* Array Access 1
======
if
- Radical reform of the execution engine
21 Aug 2008 — we're designing a ''virtual'' machine. And the Tcl execution stack is not the hardware stack.
Even without storing variables in registers, register-oriented bytecoding may have something of an advantage:
load
- radiobutton
21 Nov 2008 — selected
at the beginning of the code.
The global variable used with radiobuttons probably should exist, even if just set to an empty string, to ensure the initial state of the buttons
- Radoslaw Szulgo
09 Dec 2009 — know that there might be some issues and tasks could overrun that's why the implementation of 8.5 (or even 8.6) commands are in the "optimistic plan".
<<categories>>Category Person
- RamDebugger
26 May 2010 — F11 should work OK
Global variables can't be viewed in the right-hand variables table, even when the "local variables" checkbutton is deselected.
[ramsan] answers:
To deselect the "local variables", means
- rand
04 Feb 2012 — hashes of very rapidly changing parts of the system in the hope that they are different even if called from very similar situations. Another source of randomness is keystroke timings, but I
- Random Dot Stereogram
02 Nov 2010 — see the 3D image in the image below.
The human eye (and vision system) can humble even the most optimistic computer designer, and if that isn't bad enough the human eye
- random line from file
28 Apr 2009 — to publish it without attribution -- perhaps it was http://okmij.org/ftp/%|%Oleg Kiselyov%|% or maybe even [Knuth]. I first learned of it as "choosing a random element from a linked list
- Random Musings on Tcl vs Perl Network Programming
01 Dec 2006 — dream of using a general interpreted language to even at that level let the system stuff be handled at the milli second level or even lower, let alone let the disc interupts
- Random Number
28 Aug 2009 — random numbers from unpredictable, or unpredictably chaotic, physical effects such as atmospheric noise, radioactive decay, or even the movement of liquids in a common lava lamp. Some operating systems (e.g., Linux
- Random Walk Equation Slot Calculator Example
24 May 2011 — in three years one can lose
one's shirt, in 12 years one should either
break even or gain or lose another shirt.
----
======
pseudocode:Random walk equation
year rate = good year rate
- Random worklist generator
28 Nov 2008 — CNN}
{finish some Tcl programs}
{work in computer field}
{buy tickets in a lottery}
{go voting (even more important!)}
{etc (whatever else comes up)}
}
Now we want a random iten from the
- range
08 Sep 2011 — step 1}} {
set res $from; while {$to>$from} {lappend res [incr from $step]}; return $res
}
======
or even this, adapting to work with negative steps...
======
proc range {from to {step 1}} {
set res
- ranged switch
16 Mar 2006 — like this:
proc exprSwitch {switches} {
#
# a switch command using 'expr'-essions instead of patterns:
#
# switches -> an even list consisting of:
# 1. expressions to test
# 2. bodies to execute, if expression is true
- Ratcl-like API with sqlite backend
04 Jun 2006 — works with the 'arbitary queries' I tried. Now freeze, clone, dump, and info names all work even with an empty view. I also removed your 'colnames_test'.
}
source sqlite-3_3_5
- rational
20 Jul 2005 — the name derives from the fact that a rational number is a ''ratio'' between two integers. Even if this isn't true, it's a great mnemonic. I wish somebody had bothered
- RDBMS
05 Jan 2012 — to disk when the transaction completes. An inconsistent database would be one where some data (perhaps even references and other such internal book-keeping) has been updated but others have not been
- Read-only memory-mapped files
02 Oct 2002 — var.
Keep in mind that mmap is for binary data - it's 100% ignorant of Unicode.
Even end-of-line translations and end-of-file markers are totally ignored.
The "mmap" command
- Read-Only Text Megawidget with TclOO
25 Aug 2009 — I'm posting what I have for others to tinker with. I think it shows that even straight out of the box, the new OO facilities make it pretty easy to extend
- Read-only text widget
15 Oct 2011 — of TCL are not much of a help Esp no help for Python/Tkinter users.
But even for TCL users it suggests modifying internal implementation, and so it can work today and
- read_with_timeout
07 Apr 2012 — think that [string bytelength] is probably not what is desired. It's rarely what is needed even with binary data. See the manual and wiki pages for [string bytelength].
----
[George Peter Staplin
- readability of code
17 Apr 2011 — amazed when I read that folks write a 125k LOC app in Tcl - but I'm even more amazed when I see a half page of code that does an awful lot
- ReadChar
20 Jan 2010 — read or write a single char in Tcl in the last 10-15 years! <<br>>
[pmarin]: Even the C Standard Library comes with getc and ungetc (stdio.h)!
----
'''[LVwikignome] - 2010-01-20
- Reading a single character from the keyboard using Tcl
17 Dec 2010 — contrast.)
----
**Raw Mode on Unix**
On [Unix] platforms (e.g. [Linux], [Solaris], [MacOS X], [AIX], and even [Cygwin], etc.) you can use the [stty] program to turn raw mode on and off
- Reading and parsing RFC 822 headers
18 Jul 2008 — library is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Lesser
- Reading GIF image dimensions
05 Feb 2011 — in Forth and 80x86 Assembler - but I'm just to busy to convert it to Tcl (even if I could find it). But I don't think we need bother - because [TclMagick
- ReadME - a simple online character recognizer
02 Nov 2010 — canvas. Small as this
plaything is, it can reasonably well recognize A-Z 1-9, and even some
Japanese Hiragana and Kanji thrown in...
Initially, you get a default set of templates
- Ready-to-use Components. TabNotebooks, Vertical & Horizontal Menus, etc.
01 Feb 2006 — tk::template::3
1. tk::template::4
1. tk::tree:
1. tk::url:popup
----
[RS] Warning: even though most of these use the ::tk [namespace], they are not part of [Tk]. But
- Reanimation of Snack
04 Jul 2011 — is already there, but it is not a very clean/modular implementation.
----
[WJP] 2008-05-23:
Even if Snack were being maintained, there are changes that I would like to see. Snack
- Reasoning with rules
16 Mar 2005 — What I can say about it is this:
* Setting up this ''expert system shell'' was easy
* Even with the very limited set of rules I use here, debugging this "[rule base]" is
- Rebol
23 Jan 2012 — ers (such as myself) may have is that it has many, many first class data types, even for things like e-mail addresses, and has no built-in implementation of threads, tasks
- Recent Changes is virtually worthless
16 Nov 2008 — last day etc. Omitting those that would give the same result as the previous link would even make this a valuable indication about how active a particular page is (but it is
- recursion
09 Apr 2005 — Tcl, we're a bit handicapped by the [[interp recursionlimit]] which is at ~398 on [Windows], even if set higher.
Here's an example for a recursive [integer range generator], so that
- Recursive curves
27 Jun 2007 — points [list $x $y]
update
}
}
''[MS] notes that it is indeed simpler ... and probably faster too.'' Even faster is
proc plotline {w len ang} {
global points
lappend points [expr {[lindex $points end
- Recursive curves (table based)
06 Jan 2012 — improvement from the original version as the app is I/O bound (drawing on the canvas). Even without drawing, the speedup is only about 20%.
Also note that this implementation makes additional
- Recursive functions
30 Dec 2004 — work. Functional programming seems a very powerful way to do things (see [Steps towards functional programming]), even though strange if you have a procedural background like me.
So, what about the Fibonacci
- redefining stdout
14 May 2012 — which always correspond to FDs 0, 1 and 2).
----
We had some problems with piped executables, even tcl shells with added "external" code using '''cout''' and '''printf'''.
None of the output came
- Reference
17 Apr 2011 — value contained. All this are references.
[Lars H]: The point is that in the standard model even nesting requires references in the language, whereas Tcl can do nesting without resorting to references
- references in Tcl (a simple approach)
25 Sep 2011 — deleted with the main data structure, there are many cases where it's safe to use even a persistent reference. E.g. it's ''always'' safe to create a reference to a
- reflected channel example
10 Dec 2007 — return $newloc
}
# Event management.
method blocking {chan mode} {
# We are like a file, not really blocking even in blocking
# mode.
return
}
method watch {chan eventstowatch} {
# Set up and/or shut down the
- regexp
11 Jun 2011 — string.
'''--''': Marks the end of switches. The argument following this one will be treated as ''exp'' even if it starts with a `-`.
If there are more ''subMatchVar'''s than parenthesized subexpressions within
- Register file types under Windows
26 Feb 2012 — clicking on it in the Explorer, to paste it as an enclosure to e-mail, or even to create a new file of a given type by using 'File->New->...' in the
- registrar as eTcl plugin
19 Jan 2010 — node -image [Bitmap::get folder]
}
}
#-- toplevel entry function
proc registrar {{w ""}} {regb::build_screen $w}
----
Note: even though this is only passively reading the registry, you can use it to change it
- Reglurnar ellevu
26 Oct 2010 — separate pre-pass before the command is actually parsed. This means that it will be replaced even when it occurs between braces, and the resulting space will be treated as a word
- Regular Expression
23 May 2010 — only a very small number of states, so it is in fact feasible to use them, even with a pure automaton engine.
----
**Regular expression flavours**
[[Old discussion, could do with refactoring.]]
Okay
- Regular Expression Examples
23 Apr 2012 — use a regular expression like this very simple shorthand for non-space characters.
{\S+}
You can even split a string of text with arbitrary spaces and special characters into a list of
- Regular expression to validate e-mail addresses
30 Dec 2011 — back in a way that when you parse it, it appears to be valid. Note that even THAT isn't guaranteed.
----
Geez, can we all just lighten up? All this moralziing and
- Regular Expressions
23 Jul 2008 — in the common cases; regexp matching
in general is PSPACE-complete, and our extended regexps are even worse
(... not bounded by any tower of exponentials ...)."
[http://sourceforge.net/mailarchive/forum.php?thread
- Regular Expressions Are Not A Good Idea for Parsing XML, HTML, or e-mail Addresses
15 Nov 2009 — discouraging people from thinking it's an easy thing to parse using regexps. I don't even particularly like regexps. However, when the admonition becomes an orthodoxy it is counterproductive.
[NEM]: I
- relational database
08 Feb 2008 — in that the database ''itself'' supports "search with complex query"
(can combine conditions with boolean operations, even using intermediate
search results for additional queries), which simplifies parallelization and
scaling to very large
- Remembering window position and state
16 Dec 2011 — INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS
# SOFTWARE, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAS BEEN ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR SPECIFICALLY
- Rendering mathematical formulae
13 May 2012 — start for doing a [MathML] widget. Is anyone seriously interested?
[AM] (26 februari 2007) I am ;) even though I find MathML to be, well, rather verbose for the job.
[FF] (27 february
- Rendezvous
14 May 2009 — TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
*/
/*
* A Tcl package to allow access to
- Replace one color in an image with transparency
13 Oct 2010 — foreach col $row {
incr c
if {$col eq $color} {$image transparency set $c $r 1}
}
}
}
======
However, even though I did nothing time-consuming (like [update] or [puts] further above), the timing behavior
- Report (Wub)
05 Feb 2009 — be on the same page. As that is a patently absurd conclusion, the argument is flawed, even if it may seem "creative" to link ''Meridian, California'' with ''Meridian (train)''.
[CMcC] I don
- Reporting Tools with Tcl History (How it started)
12 Aug 2011 — additional information provided in other meta information db tables for example which function could see or even modify fields in the target database.
For that reason database fields were tied together with
- REpresentational State Transfer, REST
23 Jun 2009 — via additional form fields though.
[JE] IMO, using different URIs for different formats is acceptable, and even preferable in many cases. HTTP Content negotiation (the Accept: header) is badly flawed; I liked
- Requests for Comments - RFC
13 Jul 2004 — you to flesh out your proposed enhancements or changes in as much detail as you can - even point to a URL of an implementation if you want people to try out your
- ResistorFinder
31 Dec 2010 — program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General
- Resize of the mp_digit type
19 Oct 2011 — here, if
necessary.
When we approved this change as something to permit in a patchlevel release
even with this potential for incompatibility, we believed any code facing
the incompatibility would be rare
- Resources for learning to debug
31 Jan 2005 — 2C0.html?nlid=APP , an excerpt from the book "Debugging: The 9 Indispensable Rules for Finding Even the Most Elusive Software and Hardware Problems", by David J. Agans
* "How to be a
- Retrieve file icon using the Win32 API
07 May 2012 — to determine the source of the icon (dll, exe, ico) and the index in that file. Even then it is not guaranteed that the correct icon will be returned, because Windows explorer
- return
26 Nov 2011 — It's therefore unwise,
and one could argue even illegal, to pass in something that's not at least syntactically
valid as a script, even if you know that parts of it
- Reworking the clock command
05 Jan 2008 — that are a day apart will show precisely 86400 seconds (never 86399 nor 86401) between them, even if a leap second has occurred in between. A few systems (at least certain configurations
- Richard Suchenwirth
10 Aug 2010 — A little Pachisi game]
* [Assign using equals]
----
... a good proc fits between thumb and middle finger...
... even O(N**N) may be ok, for sufficiently small N ...
... and "shimmering" is definitely not
- RMMADWIM
13 Sep 2011 — transports than just [stdin]. The implementation above could trivially be recoded as a network server
or even a Web service. Sticking with [KISS] I consider that the ideal network protocol for the
- Roman numerals
16 Jul 2009 — roman "numerals" are a way of expressing numbers.
Other ways are base 8 arabic, ascii, or even cuneiform.
I have edited the text below to correct this,
but the page name should
- rope
05 Nov 2010 — content only) vs. ''dump'' method ("including the text and information about marks, tags, and embedded windows")... Even if metadata is kept hidden at runtime, it has to be serialized for channel transport
- Rotate text on a canvas
22 Nov 2008 — this way too often.
----
[RS]: Shouldn't the font rather be called Arial (or Helvetica, for even more platform-independence)?
----
It's nice on the screen, but less nice on postscript output
- Rotating a Tk Photo Image
23 Jun 2010 — you get six pixels contributing to each rotated pixel.)
Hmm. Writing down code to handle this (even for the square case) is non-trivial. Another time maybe.
...
Further discussion indicates that there
- Round Polygons
08 May 2011 — the -fill or -outline won't work quite right. And so on. I wonder how (or even if) we can fix this, maybe in a way similar to how we do megawidgets
- routines safe for zero-ref objs
20 Oct 2010 — several reasons why I think this is better:
* The performance penalty is negligible
* It always works even if the routine does do a [Tcl_DecrRefCount] so there is no need to keep
- RPN again
15 May 2012 — cons {swap swons} def
/emit {%c swap /format tcl2 putc} def
/eval {//rpn tcl1 drop} def
/even {odd not} def
/expr {//expr tcl1} def
/fac2 {1 2 1 4 roll /* for} def
- RPN in Tcl
04 Jan 2008 — us from using more than one list :-)
[Lars H]: [Postscript] handles this with only one stack (even though there are on the whole several stacks in the language). There '''if''' is an
- RS
14 Aug 2011 — tcl.lib and tk.lib, of course.)"
----
"I grant you three wishes", the fairy said, "or even better - one wish and one tclsh..."
"... or one tclkit that does both!", said the troll
- RS's RSS
30 Dec 2009 — noise the page
contained) in the lower text.
[WikiDbImage rssrss.jpg]
This is highly experimental, so even less warranties than usual, but it
sure is great fun! Note: the umlaut entities in
- RSA
14 May 2006 — however be in order: There are some choices of keys for RSA that are
easily broken, even if the number ''N'' by itself is hard to factorize.
Presumably code libraries that generate
- RSA in tcl
23 Dec 2011 — 25: [JET]: Where is the convert function? It does not seem to have ever been provided.. Even just a description of what it is supposed to do would be vrey helpful.
2007
- RSS
17 Oct 2011 — script in REBOL for doing similar functionality, and
someone mentions that perl and python both have even better facilities.
Would it be useful to promote the TclRSS extention, mentioned above, into
[Tcllib
- RssPoint
02 Feb 2012 — by [male], June 24th, 2004
1. right-click in the tree to have a context menu, even if no tree node is selected! If a right-click selects an element like a
- RSSReader GUI
31 Aug 2011 — czerbst/Bilder/rssGUI.png]
Some translations for german words used in the code
sichtbar -> visible, gerade -> even, ungerade -> odd
[AK]: The code refers to a gif file aus.gif (translate: off.gif
- Rule the World with Tcl, Tcom and Google Earth
27 Jul 2011 — 27 14:25:38'''
Anyone have an updated URL for proceedings? The one just mentioned doesn't work - the site doesn't even resolve at my location...
<<categories>> Internet | Geography | COM | GoogleTools
- run
12 Feb 2008 — for "source" but expands macros
# and allows a preprocessing pass for commands
# delimited by <<< and >>>.
# It even provides for "real" comments #...<eol>
# that are removed before processing.
proc run { filename { macrolist "" } } {
if
- Running error analysis
22 Aug 2006 — this case I think that is a good starting point.
The algorithm above is not irrelevant, even quite essential since it says * something * though quite honestly not so much about the effect
- Running starkits without Tclkit
08 Apr 2011 — tclsh launcher.tcl dtp.kit doc html pkgfoo.man > pkgfoo.html
With this script, you may even run [zip] or [tar] file if they are structured like this :
+ ROOT
|
+- main.tcl
|
+-+- lib
- Safe Interps
11 Jan 2012 — packages or "interp expose" or "interp alias", then the interpreter stays safe. The interpreter stays safe even if you do these things, but carefully. The master interpreter is able to relax security
- Safe XOTcl object creation
10 Aug 2010 — code through your object. Bad.
======
Class Message
Message instproc init {text} {
# ...
}
# ...
Message new $textFromUser ;# SECURITY HOLE!
======
Even the following is risky:
======
Car new "ExperimentalCar" -doors $doors
======
if, for example, you got the
- SafeKit sets up a chroot jail
18 Jan 2011 — approach
* guarantees that scripts run within this context cannot access a
* file outside this environment, not even through external programs.
*
* Since chroot can only be done by the superuser, this wrapper program
- Sailplane Flying Game
05 Jun 2007 — Y2 daystrength} {
global thermals thermalstrength
# this makes sure that there is always one tiny thermal, then even if you by chance get 0 for the random no. of thermals,
# the proc won
- Salt and Sugar
17 Jun 2011 — to 0 .. 1024
After reading this non-pseudocode myself, I thought it kind of sweet, and even more so when I imagined
how other people would feel reading this in sources which
- Sample Math Programs
28 Aug 2011 — they have to access individual digits in
# numbers to form new numbers.
# Numbers that end in even numbers or 5 are easy to factor.
# Numbers that end in 1,3,7,9
- Sampled Signal Reconstruction in Tcl driven Maxima
24 Jan 2011 — play around with 'signal vectors' and possibly
matrix-based or other signal operations in tcl, or even when functions are plotted with Tk (refs?)
based on a limited set of evaluated points
- SAOTk
04 Jul 2011 — to an older version), [http://monet.ncsa.uiuc.edu/adass98/Proceedings/joyew/] (1998, refers to an even older version)
* Binaries and Source for SAOTk are available as part of the [ds9] application
- save the whole runtime environment to a file and restore it later
16 Sep 2009 — that, but the state of the password file itself may very well have changed so that even if one were able to dump the internal data structures and then attempted to reopen
- Saving Bwise widgets on the canvas
24 Jan 2011 — here and there, and possibly I'll look into the defaults and their proper use, maybe even a global default.def or so, to save against either average or dedicated default option
- Saving song data from file names to sql
10 Jul 2010 — make the automatically generated links comply with the URL coding rules (only ascii, with limitations, and even for trivial characters some translations). First, a list of all first characters not being a
- saving the state of tclhttpd
03 Mar 2008 — of the server, so I stuck with it after I investigated its use 5 years ago, even though I still haven't figured out how its page counting exactly takes place.
Because
- Scheme
21 May 2011 — A derivate of [Lisp]. A programming language with even less syntax than Tcl itself. (but special forms and the like...? [RS])
----
[wdb] I strongly disagree that Scheme has less syntax than Tcl
- scientific papers mentioning Tcl
23 Sep 2010 — C program, but about half of the cases were first solved using a Tcl program, and even in the end it was the Tcl program that constructed input data for the C
- scope exit
01 Oct 2009 — t need any complex signalling or exception handling mechanism to ensure that resources are cleaned up
even in the case of early termination of a generator. For example:
======
generator define lines file
- SCORM Compliant Content Packaging for Wiki-based Content Development
24 Feb 2011 — the code, so that this interesting feature will be available to and usable by the community, even if other goals are not reached. As shown above in the timetable, the deadline for
- Scotty
14 Dec 2011 — 2.1.X, even though many people are using 3.0 snapshots and putting them in distributions. In retrospect, I should have released 3.0 two years ago even though I felt
- Scotty in 2004
18 Jun 2007 — was so superior in, say, 2000,
that it still remains popular and is widely used in even commercial, "mission-critical"
applications. Perhaps its most palpable deterioration is in source and binary repositories
- Scripted Code Generation
20 Jan 2008 — is for linkers and other arcane concepts <wink>''
[AK]:
Do not forget pre-compiling of binaries. Even if the compiler is in an
extension I do not want to deliver it with
- Scripted Compiler
19 Jan 2008 — be matched by the gains in speed we get. The problem is to determine the break-even point, i.e. the point where it makes sense to switch from one to the
- Scripted Documents Are Obscure
08 Apr 2011 — become, ''de facto'', the standard way to deliver standalone Tcl/Tk applications. Just browsing about, I even found a copy of my own [expand] application as a scripted document (is anyone using
- Scripting language
14 Jun 2011 — that running a sed one-liner from within Tcl, for example, can be very difficult maybe even impossible. Tcl messes too much with the brackets, changes backward slashes to forward slashes on
- Scripting Languages 2004 Conference Proposal.
17 Jan 2008 — apologies for the long delay; after 16 months of unemployment I found a job (didn't even have to move!) and promptly got buried in it. That phase seems to have come
- ScriptIt!
29 Jul 2011 — here, Tk ScriptIt! is being broken up into two separate projects.
Tk ScriptIt! Lite - will be even smaller than the current project.
A release for Windows will be posted very soon,with
- scrodget
08 Nov 2011 — no slider at all - or with a say 95% slider that doesn't actually slide anything - even though the window contents DON'T seem to require a scrollbar.
* The BWidgets ScrolledWindow supports
- Scrollbar tutorial
21 Aug 2011 — command identical to the pack? Or does one have to do something differently? Or can scrollbars even be used with grid? Nearly every example I see is with pack. [Ro]: You can
- sdx
24 May 2011 — hard to name the application so that I could refer to it in my ~/.Xresources file. Even ''tk appname'' doesn't seems to work.
----
[RLH] This is a request for enhancement. Currently
- SDynObject
14 Jul 2009 — means that numerous offerings have sprung to life in this area. Heck, I'm even evolving one myself.
Even so, your apparent tentative wikiSuicide http://c2.com/cgi/wiki?WikiSuicide (notwithstanding your
- Seaching for Babylonian Triplets Slot Calculator Example
19 Jun 2011 — was Dr. Math of Mathforum,
listed in refs.
----
In terms of pseudocode, should find the nearest even numbered power of 2
under N. Add 2**N + 1? for side. then find an
- Searching and bookmarking URLs on the Tcl'ers Wiki
13 May 2011 — above URL will lead directly to that page.
But wikis change. So do page titles, occasionally [[even though there is no trival method for doing this]]. Some page titles are long and
- Secure by design
12 Aug 2007 — almost every other language ([Java] has a similar functionality, but with such complexity that I cannot even think of it).
'''About Unicode''':
Tcl currently (summer 2007) only supports the Basic Multilingual Plane
- securePipe
07 Jan 2012 — in this case since Cygwin is fully 32 bits. If I'm not mistaken you can even use the command line client shipped with PuTTY. Besides, I haven't seen a 16
- SEE
16 Apr 2011 — existing plugins or temporarily install new, extension-specific plugins. This way it is possible to handle even very special and/or unusual situations.
An example is "Makedist" [http://www.oche.de/~akupries
- SELF
24 Aug 2011 — ideas come from [SmallTalk] but SELF [http://selflanguage.org/] is
more flexible and powerful, and probably even more ''pure''.
SELF was used as test-bed for new ideas about compilation and virtual
- SELF extension
01 Feb 2008 — like extensions, is it possible to make singleton objects by removing the clone function?
Does that even make sense for prototype-based object systems? -- [escargo] 20 Oct 2006
[NEM]: A singleton would
- Self-rewriting code
09 Jul 2011 — more (perhaps far more) to the genes than just the DNA -- some heritable traits are not even encoded into the nucleotides [http://en.wikipedia.org/wiki/Epigenetics]. (Thinking about it as a
- send
13 Sep 2011 — only if ''app'' could contain a leading "-" character.
<<discussion>>
Send is a revelation. Many Tk (and even Tcl) programmers claim it as indispensable. Start by reading the distribution documentation mentioned above.
----
Can
- Sequential correlations and the output of rand
18 Jul 2011 — finding even a pair of such values is not easy, and then comes the matter of what happens on the next [rand] period. Things have to work out very nicely to even
- Serializing a canvas widget
17 Sep 2009 — 0]
set value [lindex $option 4]
# due to bugs in canvas widget, must save all options,
# even those with empty values:
# if {$value != ""} { lappend res [list $key $value] }
if {[llength $option] == 5
- session management
12 Dec 2007 — not even all of the X applications are listed.
----
X session management has been centered around libSM, which has come
with X for years. It is shared by GNOME and KDE - even
- set
21 Oct 2010 — statement, so the expected result would be lost...
----
As Tcl has no reserved words, you can even write your own set command (make sure its effects are like the original, otherwise most
- Set Functions
28 Jan 2011 — the subject, in fact comparable, I don't remember the titles, but they were bigger pages even..
However, what is the/my point? That it is good to have decent and useable
- Setting the size of a textbox in pixels
17 Apr 2011 — Alternative Techniques ***
[tml] 20011-07-17: The text widget's width and height are integer values - even if floating point values seem to be accepted and converted. Thus, you'll never get
- SEXP
07 Feb 2008 — 2. In comparison to the full SEXP syntax, Tcl lists are ''much'' easier to parse.
3. Even in comparison to the canonical form, which (I suspect) is highly geared towards being easy
- sha1
29 Jan 2012 — when using the MD5 message-digest we can expect
collisions in 2**64 hash operations. So even a ''broken'' SHA1 is more secure than an unbroken MD5.
This does not mean all
- Shade and Tcl
07 Sep 2011 — is a 3D modeling and rendering software that is being developed for 20 years
in Japan. Even if it is not very well known outside of its country, it gathers around 200000
- Shaded text on canvas
29 Sep 2007 — w
----
[UK] I found a shift of two pixels nicer looking.
And you can have it even more fancy with a third level colored in the canvas bg-color layered in between
- Shape
06 Apr 2010 — it blindingly obvious, but could you drop a few hints for us extension building neophytes? Or even post a dll? - [Roy Terry], 6Dec2003
[TkTrans] is a Windows-specific alternative.
----
Something like Shape
- Shifting maze
11 Jun 2007 — the current place to the treasure without hitting a wall. He can also move the token (even if the treasure is not hit). When a player was able place his token on
- shimmering
01 Jul 2010 — And with optional values (i.e. a list with 0 or 1 elements), the nesting might even allow representing tables with ... NULL support).
My hunch is that K, U, and R should
- Show me an example
07 Jul 2010 — but has yet to figure out how to express it. The point is that there are
even ways to use Tcl without a source file which holds a program).
Then use the
- Shrinking an image
23 Jun 2010 — s got dithering code, but its for display-on-low-depth-screens use only) will work, even though it's probably non-optimal for every image.
[DKF]: Perhaps [Reduce Colour Depth - Median
- Shuffle a file
28 Apr 2009 — shuffle that list, and finally read back the lines with [seek]. Notice that [tell] is not even used, by sheer superstition (no perf measurements, sorry).
======
puts stderr "(indexing...)"
set fd [open [lindex
- Shuffle a list
11 Oct 2010 — MS]: for slightly faster performance (5-10% on Tcl8.4a3, as of 2001/05/23), and even uglier appearance, replace the ''K'' combinator with the equivalent idiom:
[K x y] <=> [lindex [list
- Siag Office
12 Jun 2003 — edu/scheme-repository/imp/siod.html]
and [Guile]) and "a simple [C]-like syntax", Tcl might even be the best choice of the four :^)
----
Page create 12 Jun 2003 by [escargo]
----
[Category
- signal
21 Sep 2009 — using 'kill' or 'sleep' signals.
On windows, [cygwin] gives you signals but than behaviour could be even more unpredictable, though it is possible to use signals unix-like. - [RS] confirms that the
- SimCity
08 Jul 2011 — such an effort for the Python port while it sounds like those same people haven't even tried to update this to modern Tcl. It would certainly be a fun project, sounds
- simple
13 Mar 2009 — You don't actually design a truly simple system. And in some ways you make it even more complex, because now the user has to understand what was omitted that they might
- Simple Closures and Objects
21 Jul 2011 — sum = 15" after 5 seconds
======
Notice that the call to map is identical in both cases, even though the evaluation strategy
used was completely different. Notice also that $myenv is left unchanged
- Simple data plotting example
19 Aug 2011 — scribbles a graph in the canvas:
[Shuffle a list: graph results]. It shows how readily a "quick-and-dirty"
plot can be done, even with nothing but Tcl/Tk!
<<categories>> Application | Plotting
- Simple ftp uploader
03 Jan 2012 — is distributed in the hope that it will be useful,<<br>>
# but WITHOUT ANY WARRANTY; without even the implied warranty of<<br>>
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<<br
- Simple Newsreader
19 Jul 2006 — generic 'group' interface. So it will be possible to write an interface for [IMAP], [POP3],
and even for plain mbox files without to touch the rest of the code.
[NEM] Yup, that
- Simple proc tracing
17 Feb 2012 — next starting the app, the trace is gone. This simple mechanism
makes experimenting, expecially with recursion, even easier than it was.
To remove a +trace from a proc body is easy too
- Simple Program Menu
02 Nov 2011 — In fact, the program is far away from the capabilities of it's DOS ancestor or even away from being nearly complete...
----
'''Known issues:'''
* Importing the system's startmenu entries via ''@startmenu
- Simple Records
16 Feb 2008 — it avoids a hash lookup. However, in practice the
performance is rarely going to be better (even if implemented in C), as [dict] caches hash lookups.
Still, the compact representation is nice
- Simple remote Tk execution - distanciel
24 Aug 2006 — args]
}
}
}
#puts $cmd
if {[string match ::tk::* $cmd] || [string match tk::* $cmd]} {
# private Tk procs, or even widget commands !
puts $cmd
if {![catch {distanciel::lambda $cmd} msg]} {
return [uplevel $args]
}
puts "err
- Simple Tcl Archive Network
28 Jun 2006 — probably pop-up some dialogs, maybe even with options to make it a system wide install.
If you do it like this, your users should not even need to choose their platform
- Simple text editor
21 Nov 2007 — program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General
- Simple Text Widget Sort
07 Feb 2006 — l != $Previous)} {
$w insert end $l\n
}
set Previous $l;
}
}
Feb 6 2006 - [MG] offers an even simpler version of [WJP]'s, which doesn't use the [foreach] (and runs, on my
- Simple tree layout
12 May 2011 — i]
}
set res
}
======
if 0 {
More generalized directed graphs are characterized by their nodeset and
edgeset. Even the nodeset can be deduced from the edgeset (if we exclude
singleton nodes), so we
- simulating latch behaviour in Bwise
25 Jan 2011 — canvas based [bwise] to make a circuit diagram which is interactive, simulates block behaviour, and can even on block and pin level communicate with the parallel port hardware.
First on this page
- Simulation framework
05 Jul 2009 — frameworks are developed in Java or C++. For me, Tcl offers a much
more flexible approach, even if the interface in the program below is far from ideal. Well,
I hope to
- Simultaneous Equations
25 Oct 2006 — 0.60 (rather cheap)
and the chips 0.50.
As given in the reference above.
An even shorter version is:
package require math::linearalgebra
set mt {{3 2} {1 4}}
set vc
- Sine wave roundings illustrated with BWise
24 Jan 2011 — depending on wether the vertical connection lines are drawn or not.
Alternatively, we can clearly (because even with double accuracy floating point numbers, computer accuracy isn't infinite) quantize the x coordinates
- singleton application
19 May 2010 — open' socket. So if that process (or some of its child processes) would remain to run, even after you long closed 'your' socket, then the socket will still be considered open. In
- sizeinfo
26 Jan 2012 — a continous resizing with simultaneous information about the dimensions.
----
''[MGS]'' - I'm not sure I really even understand the question. What do you mean by 'continuously'? I figured that showing the updated
- Skein
21 Sep 2010 — and three times faster than SHA-256. An optional hash-tree mode speeds up parallelizable implementations even more. Skein is fast for short messages, too; Skein-512 hashes short messages in about
- Skybot
29 Oct 2008 — iomas research (a subsidiary of [eolas]) :
* Internet research and development group
* based in Wheaton, IL
* distributed (even for those located in IL)
* Use skype for VoIP
* ...
Skype:
* audio/video over the internet
- Slashdot MetaModeration
01 Oct 2004 — get more moderation points.
Okay so maybe it is not very useful. Actually, I don't even use my moderation points. ever.
-- '''01Okt2004''' [PS].
Save the script and give it your username
- Slideshow of words for teaching reading
26 Jan 2006 — my 13yo still enjoys teaching programs
I hack for her in Tcl (vocabulary trainer, math trainer), even more if I add multimedial elements: play sounds (applause or short phrases), or display images
- Slow text
23 Apr 2003 — that it was ignored,
or you could give the revised proc a different name. You could even take the revision with
suitable test data onto a different page and refer to it
- slow zone
30 Aug 2004 — first mentioned suggests that Tcl is not in the slow zone - pretty "far out", rather...
Yep, and even more specifically that [xotcl] is not from the slow zone ... exo-tcl.
----
[Category Glossary]
- smake musings
29 Feb 2008 — http://www.larochelle-innovation.com/tcltk/609]
----
2004-08-06 [VI] Thanks for the pointer. Nice. Even with my limited french. But I think smake is still cool. And the makefiles look
- Small caps
05 Jul 2007 — default font for text widgets
{{MS Sans Serif]} 8} is not rendered smaller to 5 pt, even if specified.
So better give an explicit font if the smallcapping doesn't seem to
- Small Core == Good
18 Jan 2003 — a unit of code to specify what other units
of code it depends on (and perhaps even their versions).
----
'''[US] 17. Jan. 2003''' - The burden on the programmer is minimal - that's
- Smalltalk
21 Jul 2009 — of a common Smalltalk environment, give [Tcltalk] a try! You'll find workspaces and browsers and even logging of changes, all without object orientation.
----
[RS]: Could one say that Smalltalk's "blocks
- Smalltick Widgets with Inheritance
07 Aug 2004 — 15. Even if we used $win to make it more generic, it would still be shorter, and easier to write, an more importantly we can change the grid to pack or even
- smtp
23 Jan 2011 — library - and in unnecessarily re-parsing mime messages find the performance (especially with large messages) woeful..
Even using the '-canonical text/plain' option during mime::initialize doesn't help much because
a
- smtpd
11 Nov 2006 — software is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the file 'license
- SMTPD Example
11 Sep 2011 — software is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the file 'license
- Snack
21 Feb 2011 — was running quite some things and didn't pay much attention to simultaneously sounding sounds, and even loaded tcltalk simultaneously to feel right at homein computer game lab and let the thing
- Snit's Not Incr Tcl
11 Mar 2012 — a nice job."
[Peter Lewerin]: "[[Snit]] is my favorite Tcl object system."
[Jeremy Miller]: "So easy, even I can use it."
[KMG]: "An outstanding contribution to Tcl/Tk, great concepts, high class
- snitbrowser
20 Feb 2012 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHORS AND
- Snitscope
13 Jul 2011 — yes, undefined variables aren't displayed. Instance variables that haven't been assigned values don't even appear in the [[$obj info vars]] list. I'm still working (on and mostly off
- snitvfs
07 Nov 2008 — 1 then even if the directory is non-empty, an attempt should
# be made to recursively delete it and its contents.
# stat root relative actual
# Return a list of even length containing
- SnODBC
22 Jul 2010 — to database!" -type ok
} else {
tk_messageBox -icon info -message "Connected!" -type ok
}
Cannot detect connection even if connected.
[A/AK]:
set error [ catch { database connect db MYDB sa 1234 } msg]
if
- SOAP
27 Aug 2011 — the SOAP standard.
The latest version of which is 1.2, announced during 2003.
Compare to even older versions, 12 is quite a bit more complex, allowing various protocols,
supporting attachments, email
- SOAP Complex Data
15 Mar 2006 — from SOAP-ENV to soap and remove the body xmlns ns attribue and it worked. It even works with out setting the body attributes. I'm happy with this outcome because I
- socket
28 Nov 2010 — already is machinery at the C level for a generic notion of half-closes. They are even already implemented for pipes. So we just need to implement the half-close proc for
- Socket Performance Analysis
08 Apr 2011 — or another program via what I then called the 'connection server' (of which the code might even be lost due to dreadfull university ongoings), which would join sockets (the actual ones, by
- sockspy
06 Jan 2012 — from each new request-line in case the user has clicked off to another site, or even to display images linked from another site.
Another problem is that a browser may open
- Software creation with Tcl/Tk
06 Dec 2009 — directory (under Windows it is usually named "Readme.txt"). I believe that even though the majority of users never even know there is such file (and prefer to search something about the
- Software hosting facilities
07 Nov 2008 — of_free_software_hosting_facilities
and the references there.
***[sourceforge].net***
The "standard" site (was it even the first of this kind?).
Home to the main Tcl/Tk development (tcl.sourceforge.net
- software keypress emulation
05 Jan 2009 — your only choice, but X would have to be up at the point of running it even if it worked.
I would hackup the numlockx code to make a simple command line
- Solaris
03 Feb 2011 — t use ucb. We have restrictions for the usage of our compilation/linkage environment. We are even not allowed to use gcc.
* We use /opt/SUNWspro/WS6U2/bin/CC as CC and
- Solving cryptarithms
06 Jul 2011 — money 10652
1542000 microseconds per iteration
----
Curiously enough, the same framework solves the [eight queens problem].
Even without resorting to the obvious recursive strategy, it's
simple enough to code:
======
proc testDiagonal
- Solving the advection-diffusion equation
10 May 2007 — along the river is monitored.
There are plenty of things to do before this becomes something even remotely useful:
* Add water quality processes
* Add waste loads
* Add a graphical facility for displaying
- some of the rationale behind bwise
05 Jul 2007 — something which even remotely resembles a computer, while maintaining theory which was even process theory-wise wrong. If that would be isolated trouble for me (at the time not even so much
- Sorted Lists
08 May 2011 — Maybe it might go faster on computers of the future. Why, in another decade we might even be able to get it down to 10 seconds! :^)
'''Chapter 2 - Insertion gains in Sophistication
- Sound envelope generator
17 Jan 2007 — package), programs that are written in tcl
and graphs and interesting interactors written in Tk, and even a relevant and interesting
hardware link with direc tcl/tk interaction.
Am I the only
- Source Navigator
26 Mar 2008 — mte/en.htm] with Win95. It was a really fine tool, moreover: ingenious, so easy that even a chaotic like me could surf his own code! Sadly, I could not run V
- source with encoding
21 Nov 2008 — browsers do it -- the characters to specify the encoding should be readable in the default encoding, even if the rest of the file isn't.)
Here's the code I use to
- SpamReport - archived
02 Jul 2006 — these computers have been hijacked (I don't remember what that's called right now)?
2. Even if the spam gets removed (does ''anyone'' understand the purpose of those "... no changes ..." parts
- spawn
11 Feb 2009 — interacting, just more efficiently. For example, scripts such as [tkpasswd] and [multixterm] are clearly interactive programs, even using your definition. So I would say that Expect's power is to partially or
- Speed issues
05 Jan 2012 — and whose string equals a command name'' - which significantly reduces the likelihood of hitting the bug. Even adding a space to the script destroys the effect. Witness
% proc maybe {{empty {}}} {}
% # call with
- Spider Solitaire
01 Apr 2011 — playing with Tcl and downloading the code from this Wiki, I've stopped being astonished, or even slightly suprised, at all the things Tcl can do (and how easily it does them
- Splitting strings into words
18 Oct 2010 — been terminated.
set comment 0
}
# Discard the part of the comment which has already been
# found, even if a whole comment has been found only white space
# could have come after the
- Splitting strings with embedded strings
18 Jul 2008 — Wrong answer!
My attributes becomes the list {type="text/plain"} {title="This} {is}
{my} {body"} (perhaps even with the optional backslash before the
quotes), which isn't really what i had in
- Spot
21 Apr 2011 — But again, you can change this dynamically,
so you can just set another chain target or even add multiple new targets.
Note that this is only an experiment, not a fully functional
- Spreadsheets in Tcl-Tk
07 Dec 2011 — words. It also provided the means to associate calculations (known as formula) to specific cells, and even link ranges of cells to a specific formula.
The most popular spreadsheet under DOS was
- Sprite
26 Jul 2011 — images (".c itemconfigure..."). Double buffering (and even triple) gives nothing more in such situation, when it all has been buffered already. The problem is, that even replacing the graphics via "itemconfigure" can
- sprites on canvas test
07 May 2009 — faster processor, as it does 100 handily for me (and only chugs a little at 200) even with the old version. I do wonder how much more efficient this would be with
- SQL
01 Aug 2010 — My experience is that
different SQL engines have different ideas of how to quote characters and even which characters need quoting, which
is one factor that makes migrating from one RDBMS to
- SQL JSP Tcl Responder
22 Jan 2010 — error may be returned if the SQL query does not match the query type parameter. And even though an error is returned the SQL query may have been successful. For example, if
- SQLite
27 Jan 2012 — update}
======
once more, after aborting, otherwise all later queries will abort as well.
The above is even easier using the new "interrupt" method to the SQLite database
object. See http://www.sqlite
- SQLiteStudio
13 Mar 2012 — I asked around in the college; very few people know about tables, indexes, trigers, views, etc. Even some programmers don't have a clue about this whole thing. They all know abut
- SQLiteTablelist
22 May 2008 — required.
[NEM] Done.
[KBK] 2008-05-19 Tbere ''is'' a way to get the column
information, even though that part of the schema ''is,'' in fact,
kept in unparsed SQL. Try the
- Square Root
14 Jul 2008 — num} {
# "Long" square root - integer only
if {[string length $num] & 1} {set num " $num"} ;# Must be even length
set root 0
set v 0
foreach pair [regexp -inline -all {..} $num] {
scan $pair
- src2tex
21 Apr 2005 — mailto:kamano@po.iijnet.or.jp (Kazuo AMANO)
mailto:m93093@euclides.josai.ac.jp (Shinichi NOMOTO)
----
Even when a URL comes up as "not found", a good internet search
engine, like google
- St John's chapel
05 Jul 2007 — better still, Quake (the early but still very powerful versions of it,) are OPEN SOURCE. And even better is the way the Quake developers have implemented the entire system. In brief there
- stacking
01 Aug 2011 — distribution
#
# permits a new definition of a proc to stack on top
# of a previous one, even it the previous one is built-in.
# procs can nest to any depth. You can
- Stacking Commands
11 Jan 2012 — chain then each piece needs to know at all times what its own current name is even when another item is stacked on top, or you need and external agency keeping track
- Stacks and queues
13 May 2011 — s sorted
}
======
----
[NEM] The versions of pop presented here, while simple, exhibit very poor performance on even medium-sized lists (e.g. popping all elements of a 10000 list takes over a
- Standalone bgexec
28 Dec 2011 — the end of the options. The following argument will
be considered the name of a program even if it starts with
a dash (\fB\-\fR).
.SH PREEMPTION
Because \fBbgexec\fR allows Tk
- Starkit
04 Jul 2011 — in starkits, it's simply a VFS-mounted area. You can umount, remount, etc. You can even - with care - leave mounted, close the MK db, and re-open the MK db (but
- Starkit is a mechanism not a file format
16 Sep 2004 — It imposes no constraints that a [starkit]
must be a certain vfs format. It doesn't even force the [starkit] to be a
single file. A [starkit] could be a set of
- Starkits containing Tcl only extensions
03 Mar 2008 — examples of the extensions. Some extensions install the demos,
some don't, and some don't even have extensions. It would be so lovely
if tcl came with a framework where an
- Starpack
07 May 2012 — create my first Starpack]".
Starpacks are standalone executables which run out of the box, making them even easier to distribute
and use than Starkits. This convenience does introduce a number of trade
- StarPack helper
10 Apr 2011 — would love to see is the ability to build starpacks with any additional tcl packages and even better with binary packages (e.g. tdom).
Great work, and I shall be using it
- Starpal - TCL Development and Starkit generation
01 May 2009 — supply the name and folder of the .tcl item that you'd picked. That's it!
----
Even futher, if you already has a .KIT file exist when opening
the .TCL file, you
- StarSite
11 Dec 2007 — idea. Generalized: User-defined attributes for files. I am not sure, but I believe there are even native filesystems which might support this. Needs research.
* Authentication/Security: Agree with building this in
- Starsync
08 Apr 2011 — of errors, even across power failures. The rest of the
process need only concern itself with making sure <tmp> and <bat> get
cleaned up, which is *far* less crucial, even if not
- start
23 Feb 2012 — way to get back the errorlevel from win32-GUI programs (console mode programs always start synchronously even without using start).
* '''start''' is an internal command on NT/W2k/XP etc., that means
- Starting Bwise as Application
28 May 2008 — generator procs from some seperate wiki pages. The server should accomodate this as it is now even fairly quickly, [bwise] is still pretty small.
My linux startup script would be:
#console show
- Starting Tclhttpd in a slave interpreter
16 Apr 2004 — interp1
# now we can even access our own server via http
% package require http
2.4.2
% set tok [http::geturl http://localhost:9001/]
::http::1
It is even possible to start
- stasher
07 Aug 2011 — the name of the properties object.
''stasher'' '''property''' ''name'' ''stash'': Compute property ''name'' of the ''stash'', even if that property is cached in the internal representation of ''stash''. Useful if you want
- Stats
22 May 2011 — variable, reducing required runtime - that I'd always write a product like this:
expr [join $myList *]
Even as the expr argument cannot be braced, this is still faster and, if you can
- stderr
22 Oct 2010 — buffering shows when you read:
You will read '''all''' stderr information first, because it's unbuffered, even when going over a pipe. '''THEN''' you will read '''all''' stdout information ''in one chunk
- stdin
22 Oct 2010 — M:%S"] Tcl> "
flush stdout
# enter the tcl event loop
vwait __forever__
[Mike Tuxford]
----
You can even use it with inetd for an instant TCP/IP server:
in your services file:
test
- stdio
16 Apr 2011 — of.
A stream usually takes extra load machine code to transfer data to and fro buffers, even a few times when one is unlucky, though there are implementations which let one read
- Steppin' out
27 Nov 2011 — 0/W95 installation at home is that for all but the first command, ''leavestep'' traces fired even before ''enterstep'' traces (with empty string result) - wonder whether that's a bug (same on
- Steps towards functional programming
19 Feb 2005 — Tcl lends itself pretty well to functional programming just with the proc command. We would go even more functional if some frequent iterations are wrapped in functions. One such case is ''foreach
- Steve Redler IV
19 Sep 2010 — until its 2 inches long or longer, then relight the cigar just to get a continuous even burn.
----
Heres my first wiki contibution, a quick hack-up demo to rotate text and
- sticky note
31 Jul 2011 — one to quickly jot off notes. Sometimes, the notes could be
attached to a file (perhaps even a particular location within a file?),
or, in the case of the [MacOS] stickies, just
- Stonehenge Circle Accuracy Slot Calculator Example
07 Jul 2011 — can look at existing page formatting for clues as to how something was done. You can even look at some of your own pages that have been reformatted to see how to
- store cascaded settings in a database
15 Sep 2003 — c) =^ 0/
|
V
t1(t2(t3(initial_dbase))) ==> Union(t1'(a),t2'(b),t3'(c))
or even better
t1(t2(t3(initial_dbase))) ==> Union(t1(a),t2(b),t3(c))
The idea
- storing wiki history inside wikit
19 Feb 2003 — the latest pages. If we just consider changes, and then zlib-compress each, that will be even less.
----
'''[[EE]]''': This:
* Diff raw mode modifier: http://my/wiki/0--1# Returns the raw
- Straightforward implementation of complex numbers
17 May 2012 — thanks to tcltest I was able to correct them. The corrected script is below.
[GWM] for even more complex numbers see [Quaternion]. NB the scripts on this page need Tcl8.4.7
- Strange phenomen
30 Jun 2010 — both Maximize and Restore will be grayed out in the menu.
[MHo]: Thanks again. Yes, I even could use [Another BgExec] (which I do often because I created it...), but for some
- Streams
17 Apr 2011 — Note that on infinite streams, selectors may never return, e.g. if you want the second even prime...
Streams in general should not be written in brackets (then the Tcl parser would
- Street Programming
04 Jul 2011 — put/read/takes are atomic operations, you have the beginnings of transactional integrity. Heck, you can even specify (as a client) that you want to ''wait'' until a tuple becomes available.
So
- Street-crossing with Traffic-Lights
28 Jan 2009 — when selecting a new mode, you have to wait until it happens)
The "slow" mode has even timing for all directions,
the "fast" mode has shorter green-time for the minor street
- strimj - string image routines
12 Jul 2011 — with simple colormaps (e.g. icons), but then again they offer us
features that ''photo'' or even more ''bitmap'' lack:
* rotation (in 90-degrees increments)
* shearing (slanting)
* concatenating multiple images
* zooming, subsampling
- string concat
27 Jan 2009 — using the two strings together?
======
set str1 hully
set str2 gully
set str3 $str1$str2
======
or even using [append]?
======
set str3 hully
append str3 gully
======
[AMG]: As far as I can tell
- string is
03 Apr 2012 — 9 are not valid octal digits. By the same token, 12ABC is not a valid integer, even though it looks like hexadecimal.
======
% expr {09 + 1}
missing operator at _@_
in expression "0_@_9
- string totitle
22 Oct 2010 — words'' of a string (with various
options for defining what a word is).
That case is even worse
[MG] Here's a proc which will run [string totitle] on the first character
- String validation
04 Jun 2011 — wrote something similar.
Few words about how to use it. First argument is a list with even number of elements. They are used as pairs: {fieldName ruleList}.
The fieldName is actually variable
- Structure Hiding Pros and Cons
16 Mar 2005 — may wish to inherit certain aspects of your object manipulation. This would of course make it even more complex. '''These problems have been solved years ago with [Smalltalk] and other systems.'''
On
- Stubs
11 Mar 2012 — not have to do anything.
3. Extensions and libraries built with different compilers will work together even if it is not possible to link them normally. The only requirement for them to
- Stubs - Another explaination
06 Jan 2010 — dynamic linking is quite successful, even with complicated heirarchy's of dependencies.
Other OS's may not be so flexible. ''([DKF]: Indeed, Windows definitely is not. Also, even Linux is not quite
- subSQL
04 Jan 2011 — and "superSQL" bracketed alternative lists like [[Oo0Q]], which is not available in ANSI or MS-Access.
Even better, wildcarding works also for the column name, so subSQL allows wild queries like
subSQL
- subst
28 Feb 2012 — It would be useful to extend subst so it lets one catch variable accesses, and perhaps even command executions. What I mean is that when you subst text with "... $var ..." then sometimes
- Substituting Command Names
31 Dec 2010 — could turn on debugging and all of a sudden the output goes elsewhere...
[RS] You can even use a command in command name substitution. For instance, if you have created some procs
- Sugar command macros
26 Nov 2011 — to read, but works at different speed, and
even more important, at different time complexity!.
Writing a macro for [[lpop]] we can go even faster, and, at the
same time, we can
- Sugar macros collection
26 Nov 2011 — element] != -1}]
======
This one was suggested by [Richard Suchenwirth] (but the implementation is mine ([SS]), so even possible bugs):
======
sugar::macro inlist argv {
if {[llength $argv] != 3} {error "Bad number of arguments
- Sugar transformers
26 Nov 2011 — recursive calls, in a semantically equivalent script that runs
with a different space complexity (and actually even a bit faster).
To write transformers is exactly like to write macros, we need before
- Suggestions for Wiki Diffs Discussion
23 Jan 2011 — tool match expectations (and "what everyone else does"). This wiki is a body of collective knowledge, even though it gets used as discussion forum quite a bit. Do we really want a
- Suggestions for Wikit
29 Apr 2012 — of code and seeing what it does, I have to say, and it makes points well, even when sometimes wrestling with them when they are incomplete or refering to other functions.
Maybe
- Suggestions for Wikit Archive 1
25 Jul 2009 — It would even be cool if there was a "change comment" field on the edit screen that would act like the RCS comments.
DKF: That would be very nice. Even though I
- Suggestions for Wikit Diffs Discussion
10 Jul 2011 — tool match expectations (and "what everyone else does"). This wiki is a body of collective knowledge, even though it gets used as discussion forum quite a bit. Do we really want a
- Summing a list
11 Jun 2010 — adding numbers isn't much of an issue in Tcl 8.5+, either.)''
----
You can get even more functional and elegant if you append a dummy "+0", so an empty list causes
- Sun, moon, and stars
11 Jun 2010 — nodes to skip
set s [expr {($n - 1) / 2}]
set n_even [string is integer [expr {$n / 2}]]
set s_even [string is integer [expr {$s / 2}]]
# Calculate all the nodes
for
- Super and Subscripts in a text widget
17 Dec 2005 — demonstrate two ways to do this:
1. text tags (only possible in text widgets, but there even before 8.1)
1. Unicoded superscripts (only possible if you have a font that contains
- suspend and resume
07 Sep 2008 — the [NRE] [coroutine]s may be nice but it might actually be possible to do something even more powerful…''
The main reason I'm putting it here now is that I actually
- SVG
18 Jul 2010 — in Coccinella communication tool.
----
[DKF]: SVG is really very close indeed to the [Java2D] API, and even more especially to the base model used in [PostScript] and Acrobat ([PDF]). Not surprising really
- Swig
13 Apr 2011 — documentation of the package. This is promised to come back sometime. What it does have is even better support for templates and overloaded operator member functions. '''JPF''' 26 June 2003 (back after
- switch
09 Jun 2011 — 8 {is even}
}]
puts "$num is $type"
}
======
which displays
0 is even
1 is odd
2 is prime
3 is prime
4 is even
5 is prime
6 is even
7 is
- SYLK
27 Jul 2011 — screwed up by different configurations of decimal points (dot or comma) and list separators (comma, semicolon). Even worse, on [Windows] each user may reconfigure the locale settings.
So I tried to use
- syntax highlighting
19 Jun 2010 — enclosed text)
* "Quotes" and "text between quotes"
* \Backslash sequences
* Line continuation\
* [{*}] Expand operator
* Semicolons;
* # Comments
* Numbers (even though they're not in the dodekalogue)
* Illegal text following close quote or brace
Within
- SYStems
03 Jan 2012 — 000
% abnorm 10000100.101
10_000_100.101
======
This code doesn't handle exponential notation or even negative numbers. I don't want to put much more effort into it, since I
- tablelist
01 May 2012 — drag the slider to the bottom but don't release the mouse button - the problem is even worse. You get a continous mad jumping back and forth of the slider up and
- tabnotebook
13 Jun 2008 — the visible space, latter tabs drop off at the right and you can't see them even if you have added a scrollbar. The only way to see them is to enlarge
- Tacit programming
10 Aug 2010 — length is odd, or the
mean of the two elements adjacent to the (virtual) center for even length.
In J, it looks like this:
median=.(mean@:\{~medind@#)@sortu
medind=.((<.,>.)@half) ` half @.(2
- Tackle
04 Jan 2006 — t have to have anything in common
with Tcl -- not even the bytecode executor. Or you could go even further and
not even create the mycmd as a command in the Tcl
- Tag Cloud Generator
24 Sep 2011 — of tags and divide by the number of font
# sizes (buckets). Then proceed to put an even number of tags into each
# bucket. The only restriction is that tags of the same
- Tagging MP3 files
23 Feb 2010 — the *beginning* of the file. This junk contained an extended amount of file identification data, sometimes even including an embedded thumbnail of an album cover image. Some of my mp3 players would
- taglog
07 Aug 2006 — by project, allowing you to produce, for example, a record of work on one particular project, even if your time is spread across a number of projects.
Work items can also be
- tags
24 Jun 2005 — to hide them behind a background area
pack .c
text .t
# On text widgets, tags persist even without instances
# You should configure them early, to avoid lengthy reformatting
.t tag config bold
- taiku goes multilingual
17 Jul 2007 — characters tai-ku has been included with Tcl. As I've never seen anybody
use it, even less name a software after it, I now dare to present
''taiku'', a little multilingual
- taiku: a little Chinese editor
12 Nov 2008 — characters tai-ku has been included with Tcl. As I've never seen anybody
use it, even less name a software after it, I now dare to present
''taiku'', a little Chinese
- Tail call optimization
07 Nov 2010 — f [expr {$f * $n}]
}
return $f
}
======
This style is not the only style available, nor necessarily even the
best. The functional programming community considers variable assignments
harmful, and prefers that variables be
- tailcall
28 Nov 2011 — can probably live with that. Combining the "r" and "u" aspects is straightforward, but will leave even more:
======
proc rutailcall {args} {
catch {uplevel 2 $args} result options
dict incr options -level 2
- tailf
23 Nov 2005 — occur if a file is open for reading. (e.g Windows 'ren' command fails to do even the copy, gnu cygwin 'mv' utility does the copy only.)
The logging process may then
- Taking the Nth power
20 Jan 2010 — AM]: No, from 8.5 onwards, Tcl has arbitrary-precision integers, so that even 52131^53124 can be computed (even though it is
a ridiculously large number). The code and comments should
- TAL
18 Dec 2011 — of bytecodes here: http://wiki.tcl.tk/_repo/bytecode/
It dates from Apr03, and may not even compile - it's certainly incomplete.
----
[Zarutian] 28. oktober 2006: hmm... specifying the grammar of TAL
- tar
16 Apr 2008 — a compressor, one could just issue `-Z` for [compress], `-z` for [gzip], `-j` for [bzip2], or even `--lzma` for [LZMA] (as of version 1.20).
----
[DKF]: Tar is also, and coincidentally, a
- tarpack
08 Apr 2012 — to no performance hit for loading such a package - 'sourcing' such a tar file doesn't even require that Tcl understand or invoke any tar code. (see the 'uri' module at the
- Task Dialog
01 Oct 2008 — function.
[RS] Do they get button appearance on mouse over? This is a trend I witness even in this IE 5.00, and more so on more recent Win XP. At least
- Task Timer
08 Jul 2009 — Arial 8 bold}]
and
pack [label .top.timer.l -textvar timer(elapsed) -font {Tahoma 8}]
======
I even use this newly baked applet instead of wmcalclock. I just added another tooltip that shows
- TAX: A Tiny API for XML
09 Jun 2011 — and whistles that a full XML-compliant parser would have. But CDATA can certainly end up even in a small application-specific XML file, and it was an interesting challenge!
======
package require
- Taylor Expansion
10 Nov 2008 — functions are analytic. For a wide class of other functions, there are approximating power series expansions even around singularities of the function - the '''Laurent series'''.
[TV] Apart from that more can be
- tbcload
25 Aug 2008 — into memory, or?
tclguy no, there were core changes that prevented the reading of .tbc files, even with tbcload.
EE why should it not be true?is there a performance advantage to
- tcc
10 Mar 2012 — with tcc] on SuSE Linux.
LGPL.
[CMcC] has written a [tcc tcl extension] - generate dlls and even dynamically compile C into memory.
----
Is there a way to combine [critcl] and one of
- tcc tcl extension
17 Mar 2011 — a [tcc] C compiler environment - you can feed it C code, generate .so or .dll files, even compile C into memory and run it there. It's like a prototypic [critcl] without
- Tcl
26 Feb 2012 — good question - in some cases,
Tcl is inside a product and you may or may not even have access to the
scripting engine itself.
However, if you are wanting to write and
- Tcl 8.4 Roadmap
06 May 2003 — some of the following features that they would be willing to plug in URL references or even just observations.
However, if someone is wandering through this page and think that this ROADMAP
- Tcl 8.5 To-do List
24 Dec 2007 — handle all the content. It is far cleaner to write it this way,
the result is even XHTML-1.0 compliant. More than it, it is maintainable... believe me. [RLH] Sure it
- Tcl 8.6 Wish List
20 Oct 2010 — bar's meter is inaccurate. Might I ask, are there other reasons for resistance on <Resize>? Even if you can't see it helping you, is there anything about a <Resize> event
- Tcl 9.0 WishList
28 Jul 2011 — even- or odd-numbered (including the block). If it is even-numbered, it is either a syntax error or includes the do.
foreach {a b} {cmd1} {d c} {cmd2} do {block} <-- even
- Tcl 2002 programming contest: solutions to problem 1
28 Jan 2011 — bug
(see below)
Winning answer 4.81
Slowest answer submitted 15.07
As you can see, even with highly motivated and presumably expert Tcl'ers,
the speed of execution of a Tcl
- Tcl Advocacy
25 Feb 2012 — a lot better and more OS-consistent than anything I've since seen in Java...
We even run this stuff in MS Internet Explorer (using the Tk-Plugin) for demonstration purposes.
Nearly
- Tcl and LISP
02 Dec 2009 — ll see much more of those in any LISP code. By adding the commonsense ''\n'' and even semicolon as command delimiters, Tcl can do with much less enclosing. Compare LISP's
(progn
- Tcl and octal numbers
14 Jun 2011 — turned up when [doing arithmetic on currency] is that %d doesn't handle arbitrarily large integers (even though Tcl can) — it's restricted to the range of numbers [int]() can output
- Tcl and threads
05 Apr 2009 — program that makes use of threads and seems to
be well behaved, it is possible that even on the same platform the
behaviour will change over time in a long running thread
- Tcl Articles
18 Nov 2009 — what
it is according to the [Acronym collection]. If the writers of these
articles can't even get the name of the language right, what else might
they be wrong about?''
''[MDD
- Tcl as a markup language
13 Oct 2011 — a
variety of formats.
I believe that [[someone '''PLEASE''' replace this comment with the
appropriate reference!]] even tried the tcl commands as markup approach
as well. Perhaps check this page's category
- Tcl based signal processing fundamentals: Additive Wave Synthesis
24 Jan 2011 — always without upper bound, which at some point in the computation can always lead to inaccuracies.
Even when making a tcl list of samples for these signals, this property of added sine
- Tcl based signal processing fundamentals: Frequency Modulation
09 May 2011 — but nowadays we can use Tcl and do things more or less in interaction time, and even make an interactive user interface in Tk on top. IMNSHO a very important, and protection
- Tcl based signal processing fundamentals: Practical Fourier Analysis
07 Apr 2011 — contains infinite harmonics, as a consequence of a jump or discontinuity, and therefore the sample cannot even be taken to uniquely stand for one signal, and may indeed as far as fourier
- Tcl Browser Plugin Design
07 Aug 2009 — In Firefox (as of 1.5), all plugin instances will be created in the same thread, even across multiple FF toplevels. However, IE runs each toplevel browser window in a separate thread
- Tcl Chatroom
17 Apr 2012 — http://www.tcl.tk/starkits/snack.kit for [Snack]. :^)
----
***Historical chatter***
****Alternative chat services****
Another one, even more experimental, requires that you grab http://www.equi4.com/jcw/talkit.tcl and run
- Tcl chatroom chrestomathy
13 Mar 2009 — gentlebeings,'' which was being used in place of a word like "gentlemen" to avoid sexism or even speciesism.
* '''Good TOD, good [[clock seconds]]:''' A greeting, equivalent to "good morning," "good evening." Used
- Tcl cheat sheet
20 Feb 2010 — to have
an extension on an executable. But even then, one can call Tcl cgi scripts
file.tcl without a problem - Tcl wouldn't even care if you called the file "file
- Tcl Common Library
23 Apr 2004 — work to me. And that's just figuring out how the hell to even do it. You've even gotta spend that much time writing a TIP. And then wait 400 years
- Tcl Core - Is All
11 Sep 2008 — that new users have to go to conciderable effort to locate an extension (once they are even aware of it), then they must most likely compile it themselves only to find that
- Tcl Core Team
03 Nov 2010 — tcl.tk/0.html] is our official rules on the topic (such as they are). We even update it to reflect current practice occasionally. :-)
----
<<discussion>>
Also see the [Tcl Improvement Proposal] ([TIP
- Tcl data types
11 Jun 2011 — to have constant-size characters. The only way of working out the length of a string, even given the size
of the memory that holds the string, is to iterate across all
- Tcl Database Connectivity
29 Sep 2009 — to get a row. "External iteration"
* Explicit transaction control ($db begintransaction; $db commit; $db rollback; or even $db transaction {...script...})
TDBC does not specify how to connect to a database; a driver
- Tcl Developer Xchange
07 Nov 2008 — tk.org/ too. Both
refer to the site above, i.e. "http://tcl.activestate.com/"
But even fancier is http://tcl.tk (or http://www.tcl.tk) which also go to the
- Tcl Editors
28 Nov 2011 — has the features
and functionality of most professional, commercial editors and even
a few they wish they had. I can't even begin to list the features
of this program, so I
- TCL Elevator Pitch
30 Nov 2007 — been adapted to run webservers, robotic manufacturing equipment, and even monitor spacecraft.
Tcl is '''bundled with every major [Linux] distro''', '''OS X''', even Cisco routers.
It also runs under '''[Microsoft Windows]'''.
Odds
- Tcl event loop
13 Nov 2008 — RS]: It is possible to build Tcl with multiple [threads], and in the future this may even become standard. However, threads can make debugging much more difficult, and with the event model
- Tcl extension prototype - proto.cpp
21 Nov 2009 — s destructor may be called even though the Itcl class
// constructor returned with an error! Thus, no Stack<Tcl_Obj *>
// instance exists in the hash table even though an Itcl object
// context
- Tcl Facets
17 Mar 2003 — the cases?
I think I eventually made all sources of errors provide a list of errors, even if was
always a list of 1 (instead of just the error message string).
But
- TCL for beginners
29 Nov 2006 — none of that here. In Tcl a variable can hold anything (even complete programs if you want to). Variables will even hold your hand:
set my_variable "your hand"
well.. maybe not
- Tcl Gems
13 Jul 2011 — It isn't so much the portability, or the extensions, or the internationalization (unicode) support, or even the fact that Tcl programmers are better looking than most users of those other languages
- Tcl Heritage
17 Apr 2011 — in the interactive shell? A more proximate source for that might be the Unix shells, or even [Rexx]. The concept is ''dynamic linking.'' When there is a command encountered that is not
- Tcl highlights
13 Jul 2011 — typifies how Tcl uses "mere" minor upgrades to name major release
milestones, that the conference broke even in a time when nothing does,
that there are a number of revolutions poised to
- Tcl implementations of publish-subscribe mechanisms
06 Jan 2012 — of scalar
values and [RPC] of [proc]s. It's designed to be "so easy" that even a PhD can use it. The code is here[http://cfa-www.harvard.edu/~john
- Tcl in a hybrid of RealLife and More Equal Pigs
13 Mar 2009 — it is working.
FF 6 months
After upgrading the http package to a newer version for even better
HTTP2.0 support, suddenly the phone rings, it's PHB.
<PHB>: AH what did
- Tcl in a sibling of the PotterVerse
27 Oct 2006 — to get compiled than C++.
Jeff: (groans)
Newbie: That's interesting. I'd heard that SQLite even had a Tcl
binding, and that's the coolest thing I've ever seen.
Richard
- Tcl in comparison
06 Jan 2008 — people normally don't, although you may leave whitespace there.
* Tcl and (La)TeX both admit, even reward, a functional style of programming: on the Tcl side commands return values which can
- Tcl in Javascript
26 Nov 2011 — more with Javascript, it's fun to see how similar it is to Tcl in spirit, even though different. For instance, to roughly approximate the [clock] command, it just took these few
- TCL interpreter through socket
04 Aug 2011 — to load network test TCL API package
and open a socket to accept API commands or even scripts from our Agilent VEE application.
Any ideas where should we start?
[AMG]: It's
- Tcl IO Drivers
21 Apr 2012 — personally recommend to delegate the call. Because of this I
also recommend to implement this function even if the transformation has no
options by itself.
'''SetOptionProc skeleton for a transformation'''
===
static int
- Tcl is Hard! Now get off my lawn!
13 Apr 2011 — of will and skill
... and mediocre programmers don't like that.
Tcl is not dead because even Bruce Lee and Richard Stallman couldn't kill Tcl. In fact, if they wrote a
- Tcl is immune to many "format string vulnerabilities"
29 Jul 2007 — least one of the arguments. However, Tcl does not use sprintf() on user-supplied formats, not even in the [format] command, and as such is immune to those sorts of problems. In
- Tcl mantras
21 Nov 2007 — a problem which doesn't exist yet.
'''Everything goes into a namespace.''': When writing extensions or even applications, placing one's procs into a namespace moves towards avoidance of name conflicts.
'''When
- Tcl Marketing
27 Aug 2009 — and cleaner. Even more converts are probably likely after the next version bump.
* [PHP] - Tcl isn't likely to make a dent in PHP's primary market, web programming. Even though we
- Tcl Marketing discussion
20 Jan 2011 — organization can be expected to engage "outsiders" if it cannot even unify its own community to any large extent. One might even suggest that the Consotium was doomed to failure. Clearly any
- Tcl Math Syntax is Inferior to JavaScript/Python/Ruby/C/C++/Java/Perl/PHP
04 Jul 2008 — what's more clear and obvious?
* All industry programmers use "=", even those of non-C descent (BASIC/VB/ASP). I think even COBOL added "="
* Mathematicians and the Sciences use "=": y = mx + b
- Tcl might not be viable because it is too hard to hire Tcl-savvy employees
30 Jun 2003 — And in fact, there's always the possibility that one is using Tcl and doesn't
even know it - I see remarks by [Expect] users occasionally that seem
to indicate they don
- Tcl Modules
30 Mar 2011 — should have known better and just built such a thing - I think for new users (or even just anyone a little unsure of how it all works) the package mechanisms have enough
- Tcl nano proxy server
04 May 2012 — is the right thing to do anyway. (If only you could use [fcopy] it would be even easier.)
.. ah, but we now have [chan copy]!
----
[aspect] Here's a simplified version of
- Tcl NG
24 Jan 2008 — You use a scripting language because it is an arse to do it all in C, even with the help of a very good library.
[PWQ] ''And there's the kicker, 'all
- Tcl Normalized Extended Benchmarks
06 Apr 2004 — those do happen; this data is not noise-free at all.)
A geometric standard deviation is even more clever. At the same time you sum the logs to build the mean, sum
- Tcl on the Slug
04 May 2007 — gb is under $50). Total for a simple server is less than $150 US.
* Low power - even when over clocked, the combined Slug + USB IDE disk doesn't draw much power.
* QUIET
- Tcl on VxWorks
04 May 2008 — the file exist?). VxWorks' `access(...,R_OK)` erroneously returned false for files on NFS-mounted volumes even though they were readable. This means that `[file] readable` may now return a false positive
- Tcl Performance
17 Jan 2012 — are already in list obj rep. This also
assists in things like lrange and lreplace, and even lappend. If your indices are numeric, the list is significantly faster than arrays.
(NOTE: I
- Tcl Portable Runtime Library
25 Feb 2012 — main reaction to this was "So what? We've got one of these too —
perhaps even more portable" (cf. [On What Platforms Does Tcl Run]),
but of course "XXX Portable Runtime
- TCL programs for beginners 1-10
08 Apr 2011 — none of that here. In Tcl a variable can hold anything (even complete programs if you want to). Variables will even hold your hand:
set my_variable "your hand"
well.. maybe not
- Tcl references in Tcl
10 Jan 2009 — commands, except for the 'struct' command, return
# the reference to the accessed/created structure.
#
# Linked structures, even if in cycles, are automatically
# collected.
#
# Null references can be represented using an empty list
- Tcl Repository Wish List
09 May 2006 — you have installed and what's new that's available. None of this is new or even difficult, it just needs designing and doing!
[LV] And of course Firefox at http://mozilla
- tcl size
02 Mar 2005 — string internal representation. -'' Then it should certainly be that. I think these procs can be useful even though they will only ever be an analog of true memory usage, for the reasons
- Tcl Socket Performance
28 Jan 2012 — channel to another; that's where Tcl could (theoretically?) be the most efficient.
[DG]: It could even be more efficient if fcopy could Tcl_GetDriverHandle than use [TransmitFile] bypassing Tcl altogether. Use
- Tcl style discussion
15 Dec 2010 — entries in the table, and do so trivially.
Now a good principle in computing (that applies even more so when working with floating-point numbers, but I digress) is that wherever you
- Tcl Style Guide
27 May 2010 — curly braces enclosing the body should be on different lines, as shown in Figure Figure 2, even if the body of the procedure is empty.
**5. Naming conventions**
Choosing names is one
- Tcl sucks
31 Mar 2012 — a small code example showing the problem.
[DKF]: Googling finds good instructions as the ''top'' hit. Even the [puts] page here talks about non-blocking IO. To conclude that Tcl doesn't
- Tcl testimonials
17 Apr 2011 — and has even less syntax. My favorite programming language is definitely [Lisp]. Yes. Um, then how come I always use Tcl?
[FW]: Because Tcl has even less syntax, is even more hackable
- Tcl Tutor
04 Mar 2011 — for Tcl. There are over 40 lessons, and each one shows
sample code. What makes it even more useful is that the tutorial window has three panes.
The first pane shows a
- Tcl Tutorial Discussions
17 Apr 2011 — that I could pick pieces of code from existing programs and use them on my program, even when I did't understand what they were doing. It was easy because it wasn
- Tcl variable scope - how does Tcl control when a variable is seen?
26 Jul 2004 — will raise an error when nest attempts to print gvar as coded above.
This is because even though the gvar variable was created in the global
namespace, nest won't look at
- Tcl vs CplusPlus
28 Sep 2004 — Itcl] (+ [Metakit] for persistence) in just over 350 lines of code.
It performs beautifully (you can even use [telnet] to attach to it and put/read/take items). I dropped plans to
- Tcl vs Perl vs Python
01 Apr 2012 — of [apply] in 8.5 will help some, and "auto-{*} on the leading word" would help even more, but would need a major release to get in.''
1. '''Perl has a list
- Tcl vs. TCL
26 Oct 2010 — on [SourceForge] is tcl2.1.sysv. In the README file Ousterhout uses the term "Tcl." ([[1]]) Even though it stands for "Tool Command Language" in some way. ([DKF]: The core documentation consistently
- tcl wiki package project
16 Nov 2007 — so you could add your own comments?)
I'd like also to combine wiki with mindmapping, even better with concept mapping. I'd call the resulting marriage "WikiMaps" :-) --dma
I'll admit
- Tcl X10 Library
05 Jul 2009 — machine/OS for which a Tcl 8.4
or better interpreter exist. The machine does not even need to have a
serial port, as long as you have a machine that does
- Tcl'2003
05 Aug 2003 — t do.
I'd print out next month's calendar, with last month's Playboy diva,
Even play the drum solo from In-In-Gadda-da-Vida.
But I don't do
- Tcl'ers
05 May 2012 — look bad;
this wiki gives the impression that Tcl isn't really Unicode-safe after all,
even though I logically understand that the real problem is misconfigured browsers.
[Lars H]: The page
- Tcl-Pkg
28 Mar 2008 — sort of repository.
Then, with simple Internet access and a Web browser, users download
static or even dynamically generated up-to-date information in XML files
and are able to view the
- Tcl-Tk vs Wx Widgets
16 Oct 2008 — is pressed, instead of simply calling "-command." wxWidgets does offer a more native appearance than Tk, even with ttk, and nearly every conceivable widget is already built in to the toolkit instead
- Tcl-URL! - 1998/05/13
16 Dec 2008 — or so, IMO.''
''Note that this is not intended to ever become a FAQ list (not even a FAQ launcher), a newsletter, or a resource. Just a tiny up-to-date signpost
- Tcl-URL! - 1998/07/20
07 Mar 1999 — transforming document formats http://www.han.de/~racke/InfoPrism/
* Bryan Oakley and J. Adrian Zimmer definitively (even exhaustively) analyzed the "read-only text?" FAQ raised most recently by Christopher Nelson and Alexandre
- Tcl-URL! - 1998/10/05
11 Jan 2002 — projects page (see [http://www.dejanews.com/getdoc.xp?AN=396694586])
* Alexandre Ferrieux encourages fileevent programming, even under Win* (see [http://www.dejanews.com/getdoc.xp?AN=395565360]) and summarizes in two
- Tcl-URL! - 1998/10/12
19 Mar 2003 — Every PlusPatch release by [Jan Nijtmans] is important. Read his description of 8.0.3 work, even if you don't adopt it for your own practice (see [http://www.dejanews.com
- Tcl-URL! - 1999/08/02
31 Aug 1999 — Tcl/Tk developers that are producing software utilizing custom object types to go ahead and register - even if you don't anticipate releasing your software to avoid any future conflicts (see [http
- Tcl/2
04 Sep 2011 — the outlandish, I do not intend to make any suggestions on the feasibility of implementation or even technological superiority (yet, anyway). Just trying to get the ball rolling...
So if I had
- Tcl/Tk 8.2 Extension Compatibility Matrix
16 Nov 2007 — IBM AIX 4.3.3 -- Tcl compiles fine, Tk needs hacking to configure, Makefile.in and even the generated Makefile. -- DRM
----
'''incr tcl 3.1.0'''
Matt Newman is checking in some
- Tcl/Tk 8.5 Roadmap
24 Dec 2007 — an extension, we could well leave it at that. Masses of apps don't need 3D, even if yours do. :-) But seriously, what (apart from possibly marketing) would be be the benefit
- Tcl/Tk is fast and it blows my mind
20 Sep 2011 — in C, which is called Nautilus. Not in my Tcl/Tk programs. And I don't even brace my [expr]'s because I think it uglifies the code.
I do tagging of
- Tcl/Tk man pages comments page
01 Jul 2004 — next
release.
----
'''[binary]'''
Large number of options, I didn't go over all the option examples, even though they're important. Bottom example:
EXAMPLES
This is a procedure write a Tcl string
- Tcl/tk mastery
27 Jun 2003 — good beer to strangers enough or attractive women, or maybe even to your friends?
That calls for a good idea or even definition what a master or a guru is in general
- Tcl/Tk Office project anyone?
06 Nov 2008 — jump on board OO.org? It would be a big task to write the software and even bigger task get users and support them. Tcl/Tk/Tile could certainly do with a
- Tcl/Tk on Xwindows emulation on XP using Cygwin
25 Jan 2011 — installed [cygwin], added the XFree86 X windows emulator for under windows in the installation list, and even the wmaker NextStep (cool graphics), the X headers, and of course most of the compiler
- Tcl/Tk OS
19 Aug 2009 — Tcl/Tk as the '''only''' scripting paradigm. Yes, what I mean is '''only'''. That is not even have a /bin/sh on the system.
This does ''not'' preclude the use of binary
- Tcl/Tk Printing Support
22 Sep 2009 — By the way, PS on windows is no treat at all and most applications won't even read it let alone print it. PDF is far superior to PS for ease of
- Tcl/Tk Survey 2009
04 Dec 2011 — ends for console-based utilities", even though Unix is certainly more popular than ever (I mean Linux and MacOS). The versatility of Tcl/Tk shows up even in areas I would never
- Tcl/Tk Tclet Plugin
07 Aug 2009 — the Netscape Plugin API and should work in any browser that supports that (Mozilla, Firefox, Opera, even IE...). As of June 2006, the version of the Tcl Plugin is v3.1.0
- Tcl/Tk/Talks
16 Apr 2009 — In the "complaints" section, I think that the lack of visual programming tools is a candidate -- even though lots of people think that Tcl/Tk is so simple that it would not
- Tcl9 and annotated strings
24 Jan 2008 — object
systems, become popular, this technique will be well-nigh impossible
to explain to newcomers. Furthermore, even under the best of
circumstances, it requires the intepreter to maintain a global cache
mapping
- Tcl2002 programming contest: solutions to problem 2
28 Jan 2011 — based on font metrics, which are imperfect because we
# don't know about line wrapping metrics, even with -lmargin1 et al.
# But this is fast because it can be done without updating
- Tcl2002 programming contest: solutions to problem 3
28 Jan 2011 — Tcl 8.4. [Andrej Vckovski] took the laurels on this problem, with the following solution,
which even favored us with a test harness to demonstrate its execution:
# display a call graph of
- Tcl2007 Call for participation
28 Jun 2007 — city of New Orleans. Join us for what promises
to be the best Tcl conference yet. Even better, contribute a
paper, be prepared to talk about a work in progress, or join
- tcl3270
01 Jun 2006 — somewhat misleading, IMHO: back then everyone was proprietary. With hindsight
you might say that IBM were even more so than the other players, but fact is they were the largest company in
- tcl::mathfunc
10 Dec 2010 — this makes it possible to rewrite or delete math functions, two things that were previously impossible even for extensions written in [C]. (I have written code that needed this functionality; I guess
- Tcl_CreateObjCommand
06 Nov 2008 — documented'' at the script level for commands that use Tcl_CreateObjCommand to create another command. This even includes core commands such as [interp alias] and [image].
[http://sourceforge.net/tracker/index.php
- Tcl_GetChannelHandle() forward compatibility
27 Jun 2003 — return TCL_ERROR;
*handlePtr=Tcl_GetFileInfo(tfile,NULL);
return TCL_OK;
}
#endif
There! Now you can call Tcl_GetChannelHandle() even if you
happen to link against a Tcl 7 library.
----
[Category Porting]
- Tcl_Obj proposals
22 Dec 2011 — SOME object type.
The whole idea is that you rely on the clientData to be YOURS even when the object type is not.
I guess a convention (again only a convention) is
- Tcl_Obj vs Command
21 Dec 2011 — anonymous command from the Tcl level. The C command doesn't ever disappear, but is that even possible in C? The key point is that it doesn't rely on a command
- Tcl_OO
06 Oct 2008 — structure of the instantiated object tree printed somehow, and possibly get some file savable or probably even better concept 'listable' representation of the data in some subset of all objects. Like a
- Tcl_ParseCommand
18 Dec 2008 — colon, or
close-bracket, then we know the answer. But what about when they are?
Well, even then, one can probably step through the list of '''Tcl_Token'''s
returned in the
- tcl_pkgPath
21 Dec 2011 — instead?
Um, Cygwin is Windows, so we repeat ourselves, there's
no '''tcl_pkgPath''' variable there.
Even on systems where a '''tcl_pkgPath''' variable exists, it is not
used to "find packages
- Tcl_PkgPresent() forward compatibility
27 Jun 2003 — the work.
*/
return Tcl_PkgRequire(interp, name, version, exact);
}
#endif
There! Now you can call Tcl_PkgPresent() even if you happen
to link against a pre-Tcl 8.1 library.
----
[Category Porting]
- tcl_prompt2
11 May 2010 — would consider sharing it with us?
Note: remember that anything output in the script will appear - even newlines. So if you want the prompt to appear at the beginning of the line
- Tcl_SaveResult() forward compatibility
27 Jun 2003 — savedPtr->freeProc)(savedPtr->result);
}
}
#endif
There! Now you can call Tcl_SaveResult(), Tcl_RestoreResult(),
and Tcl_DiscardResult() even if you happen
to link against a pre-Tcl 8.1 library.
-----
[Category Porting]
- TclAdvocacy: ESRs chapter on Tcl and some corrections
29 Apr 2011 — caution. It scales up very poorly -- it is hard to organize and debug Tcl programs of even moderate size (more than a few hundred lines) without tripping over your own feet. The
- tclAppleHelp
05 Mar 2007 — TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# \
exec critcl -pkg "$0" "$@"
package require critcl
- tclAuthorization
06 Oct 2007 — TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
# DAMAGE.
#
# #######################################################################
# \
exec critcl -pkg "$0" "$@"
package require critcl
- TclBlend Problems
28 Aug 2009 — the callback script. In a general
production software, there may be many lines of Tcl code. Even if we
do not explicitly use the string representation of the Java object,
the rest
- tclCarbonHICommand
28 Apr 2010 — TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
# DAMAGE.
#
# #######################################################################
# \
exec critcl -pkg "$0" "$@"
package require critcl
- tclCarbonNotification
24 Dec 2011 — TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
# DAMAGE.
#
# #######################################################################
# \
exec critcl -pkg "$0" "$@"
package require critcl
- tclCarbonProcesses
10 Apr 2011 — TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
# DAMAGE.
#
# #######################################################################
# \
exec critcl -pkg "$0" "$@"
package require critcl
- tclConfig.sh
04 May 2009 — denominator I've found among all the computers I must use is /usr/bin/env. Not even /bin/sh or /usr/bin/sh are as reliably there. What versions of Unix have
- TclCurl
03 Oct 2011 — I have never used the pure Tcl
clients, so I have no idea how they compare.
Even though they have not been written with TclCurl in mind, you may
want to read
- tcldoc
07 May 2012 — app with lots of folders and subfolders, it appears you need to document each folder seperately. Even if you doc them all at once, files with the same name but in seperate
- tcldocs
06 Feb 2012 — help should include reference on deprecated/defunct commands. None of the .chm files or html or even the wiki can tell me about tkTextSetCursor for example.
Eventually I find via Google a
- TclDOM vs tDOM
18 Oct 2008 — wrappers for [expat], and (in v3.0) libxml2. | C wrapper for [expat] (plus the "simple" but even faster parser based on work by [D. Richard Hipp], typically well suited for 'data-oriented
- tclDummyMathPtr
04 Apr 2011 — matherr()'' got broken when thread support was added. But nobody ever noticed, since very few systems even use ''matherr()'' anymore. This has been dead code for a long time, but relatively harmless
- TclFont
15 Dec 2011 — comp.lang.tcl, some
time ago. I just ''corrected'' the original curvesoft.html to curvesoft.com, even though, as you say, that is wrong as well.
I wonder whether anyone who used
- TclHelp
20 Oct 2010 — winded
* it can include help for any Tcl-related command, even extensions that are foreign to the core - the script can even check and tell you if you have the extension, and
- TclHttpd
27 Feb 2012 — Windows,) too. It generates a fatal error, thus preventing the latest downloadable versions of TclHttpd from even starting (under Windows).
But you can easily fix it by making the changes shown on
- Tclhttpd - Getting Started
22 Sep 2009 — old bugs.
Grab your source, read the README.
There are pretty extensive online manuals, documentation and even a chapter from a book ... but of course you need to get tclhttpd up and
- tclhttpd 2ch-forums
23 Mar 2011 — black -gravity center -pointsize 24 -fill white -annotate 0 '$code' -swirl 90 png:$target
That's even better. Add the plasma as part of the convert and eliminate actual files altogether. Just
- tclhttpd Examples
28 Jul 2009 — NOTE''': Current problem is that the cookies added this way don't seem to last long, even without expiration set. If the browser is restarted, the cookie goes away. Seen in both
- TclHttpd Needs
14 Aug 2006 — read the files whenever an access happens ? Because if we (can) keep the info in memory even a more costly parse (of .htaccess) should not hit that hard, being amortized over the
- Tclhttpd Problems with Mozilla Keep-Alive
12 Nov 2008 — 1.5) but on w2k (instead of xp) and without a local firewall. Everything works fine, even with pipelining turned on. The thing becomes more and more misterious...
----
'''Another one'''
Also, I
- Tclhttpd Winservice
22 Jan 2012 — any parameters and navigate your browser to '''localhost:8015'''. These are always available via url '''/adminroot''' even if you have configured your own '''docRoot''' (some links may still not work yet).
To
- Tclkit
24 Jul 2011 — not work well for the encoding which should be set as the system encoding. E.g., even after adding all encoding files to tclkit, I still have:
======
$ echo $LANG
ru_RU.KOI8
- Tclkit Kitgen Build System
03 Mar 2012 — For additional information please use the following links:
* [kbs packages] how to use, change, update and even include own extensions
* [kbs todo] open issues
* [kbs bugs and comments] you can also use
- Tclmod
17 Jun 2011 — out of favour due to being used a lot for doing knock-offs of copyrighted music, even though that was usually a really poor use of the format's power.
[GPS]: There
- TclOO
14 Jan 2011 — each instance gets its own namespace. Note also that class Dog ended up as namespace Obj3, even though it was constructed with a specific name (which is not necessarily globally unique, though
- tclOO missing features for Itcl
18 Jun 2007 — am using a "namepace command resolver" (written in C using Tcl_SetNamespaceResolver) and that works (maybe even faster as [interp alias] if there are a lot of methods?). Would be helpfull, if
- TclOO Tutorial
20 Jan 2011 — its own private subclass; that's not what happens but it looks very similar). You can even update the definitions on a class after instances of it have been created and have
- tclpcap man page
25 Aug 2008 — down. The '''eof''' command should be used to detect this. Am empty list could be returned even if the channel is in blocking mode.
'''packetToString''' ''packet'': This command takes a ''packet'', as
- tclreadline
05 Apr 2011 — instead of tclsh,
I run '''rlwrap tclkit''' and I get a % prompt with full readline history, even across invocations. Give it a try. I use it most
often while debugging small scripts
- tclsh
30 Nov 2010 — that at times the escape sequence would leave his/her terminal window in a state where even returning to the shell prompt was insufficient to reset the terminal settings.
While I've
- tclsh vs. wish
27 Aug 2008 — and keep tclsh.
package require Tk 8.4
The simple line above in a Tcl script, even if run by [tclsh], will immediately make all [Tk] functionality available throughout the rest of
- TclSOAP
27 Aug 2011 — I'm sharing my sentiments: Pat's done great work.
----
More on server-side SOAP work: even as of version 1.6.1, Pat agrees,
"The client code is generally very easy
- TclSpringies : A simple mass and spring simulator
10 May 2010 — programmer), and how powerful the canvas widget is.
And also that Tcl is *not* too slow even for realtime simulation sometimes.
[MBS] 8 Dec 2004 -- I moved the controls to be above
- Tclsql
19 Jan 2006 — that has a more Tclish feel.
At the time when I wrote this, I didn't even know there was another flavor of
Tcl ODBC available until after I programmed it and
- tcltags.tcl vi/vim ctags equivalent tags file generator for tcl, call chart extractor for tcl sources
08 Jul 2011 — Data1 {
incr lineno
if {$lineno == [lindex $sll $slli]} {
incr slli
}
if {($slli % 2) == 0} { ;# slli is even outside functions
foreach fn [array names Functions] {
if {[regexp "\[\[:<:\]\]$fn\[\[:>:\]\]" $lin]} {
lappend Topf [list $fn
- TclTalk
25 Apr 2012 — a look at: http://tcltalk.ath.cx/files/sessions/session002.swf
----
**See also**
[IDE] - Or ''read even more'' in [TclTalk - Reports and Comments]
----
So, what's the status of this program? Is
- TclTalkback
23 Jun 2011 — be a nightmarish task sometimes -- for both parties. So much so that sometimes they won't even bother to report errors in the first place. This package provides the Tcl developer with
- tcltcc
10 Mar 2012 — first (and pretty unique) use case for tcc is that it can compile directly into memory, even in an interactive session. Example:
~ $ tclsh
% packa re tcc
0.2
% tcc::cproc sigid {int
- tcltidy
10 Jul 2002 — that processes HTML and either makes suggestions about changes to
the HTML, makes some changes, or even converts the HTML into XML.
http://www.w3.org/People/Raggett/tidy/ is the original
- tclTiger
09 Apr 2009 — we note the
'''TLID''' field (TIGER/Line ID) and the starting and
ending latitude and longitude.
Even in the simple case of matching a single road,
there will still probably be multiple
- TclTrain
25 Jun 2007 — trains3.tcl]?) I find it most
exciting to pass under a bridge, or by a house. Even though the graphics
are crude, it is sort of fun to watch.
[WikiDbImage tcltrain.jpg
- tclvfs
01 Dec 2011 — args]
return $chan
} else {
return [::vfs::memchan $args]
}
}
(the brackets around ::vfs::memchan).
I didn't even know that [return] could take several arguments, in which case it returns nothing...
'''[AK] - 2009
- tclvfs gotchas
27 Oct 2008 — code -1]] and the others will result in some kind of logging behavior.
This seems reasonable, even unavoidable, but should be documented explicitly - not indirectly by [[vfs::filesystem posixerror]].
[Vince] inserts that
- TclWiki Formatting Rules
01 Nov 2007 — common in the Mac world. Seems like some ideas could be stolen from there to make even better formatting options.
[Bryan] would also like to be able to have nested bulleted lists
- TclWiki General Discussion
16 Nov 2007 — DKF - 20000430'': Well, if there was just a way to access the changelog for each page (even if only in the crudest of fashions) then the problems of random graffitic trashing of
- Tclworld
02 Dec 2007 — or three place names, together with "lat lon", and it will bring up amazingly detailed data, even out of Javascript sources not thought for human consumption - e.g. from a map of
- TclX
07 May 2011 — just shortcuts/symbolic links/copies of the other executable name, and in some cases, may not even exist.
Also, note that the above script won't replace '''ALL''' the functionality of the
- TclXML
02 Dec 2011 — parse $buffer
}
close $infile
$parser configure -final 1
$parser parse ""
$parser free
======
It fails to parse even the XML decl on the first line with the error:
======none
unexpectedtext {unexpected text " version
- tcom
03 May 2012 — returns immediately, even specifiying the wait-flag... To clarify:
======
set wsh [::tcom::ref createobject "WScript.Shell"]
$wsh Run test.html 3 1 ;# <---- the 1 doesn't help here... hm
======
Even calling with
- tcom Allows Emacs as Editor for MS Outlook
17 Apr 2011 — I always wished to do. Get rid of this lousy MS-Outlook-Editor
(it's not even worth to be called an editor).
----
Ephrem Christopher Walborn[http://www.tuirgin.com] - 20040107
The
- Tcom examples for Microsoft Excel
17 Jul 2011 — already established.
# Any range here will do.
set range [$ws Range "A1"]
# The below method call, even though it appears to operate only on the given
# range, will (at least for Office
- tcptty
17 May 2010 — Parity is an error checking mechanism. It can be set to n (none), o (odd), e (even), m (mark), or s (space).
Stop Bits gives the delay between characters. It should be
- tdelta
08 Mar 2006 — CVS' big innovation, IMHO) leading to a really good pure-tcl s/w distribution mechanism?
Or even a distributed VFS for text? - [CMcC] 20041029
[SEH] -- There are many possibilities, I wish I
- TDL
20 Jul 2011 — similarities (and not only in purpose). One difference is that TDL is supposed to be data (even if treating it as code will be a convenient way of operating on it), whereas
- tDOM
27 May 2011 — Rolf), Tcl-Thread support (thanks Zoran), a lot of bug fixes (Rolf), some HTML parser enhancements, even simple
XML parser is namespace-aware.
----
Uhm, this "full compliant" XSLT support is a little
- TEA2
26 Feb 2012 — traditional installation technique, as well as the non-traditional,
where one may use differing locations or even have the include files
under a source code management system and the shared libraries in
- TEA: a summary of trying to use it, Vince Darley
26 Feb 2012 — it works, and I
appear to have a ''.dll'' present so compilation seems successful.
There is even some advice about how to create documentation from xml files!
(2.2) ''make install''
The
- Tea???
14 Nov 2008 — include also [TEA], which is a separate topic. A discussion of [Tea???] seldom involves details of [TEA], even if [Tea???] relies on [TEA].
[peterc] 2008-11-14: "Crockery"? "Tea Service"?
----
!!!!!!
%| [Category Glossary] |%
!!!!!!
- Teach programming to children
21 Jan 2012 — gates, flip flops, counters, and even buses and arithmatic units are the better way to learn about computers and programming.
A good univerity study (and probably even a lousy one, and a
- Teacup
02 Dec 2011 — do something like this:
teacup install tkcon -is application
Notice the single dash with the '''-is''' . Even though nearly every other dashed argument uses two dashes, in this case, the single dash
- teacup describe
17 Dec 2008 — an error
message saying "tkzinc is not known". Also, as exhibited by the
Tk example, above, even if you type the right letter case, if you don't
use the exact package
- teacup install
02 Apr 2010 — the "force" option...
[AK]: Right. Tcllib has a few packages which require Tcl 8.5, some even Tcl 8.6. Having them all in one profile, claiming that Tcl 8.4 is
- teacup update
28 Sep 2011 — just fine, but larger ones fail, with the problem being that too few bytes were transferred, even though I switched off the timeout. If I ftp the same file using ncftp, the
- teaget
30 Sep 2010 — to a tcl extension easily, and can be used in several ways.
* teacup is really slow, even to search a package that match a pattern. Just make this test:
% time {exec teacup
- Tearoff
19 Sep 2011 — the label to be exact. Rather, the first entry whose label starts with "Save" will match. Even still, personally, I rather dislike the look of tearoff menus (particularly on platforms where it
- TEBC
21 Dec 2008 — usually are huge balls of spaghetti.
[DKF]: Note that you can't call this function directly, even from within the rest of Tcl. That's what [Tcl_Eval] (and friends) are for
- Techniques for 'driving' Windows applications
31 Jul 2011 — send keystrokes to (say) Excel (or whatever), it's going to be a complete disaster. And even if no user is using the computer while your script is running, that's still
- Techniques for reading and writing application configuration files
19 Mar 2011 — sanely start no matter how broken the configuration file might be
* make it possible to start even if there is no configuration file
* make it possible to ''reset to defaults'' and create
- Telephone Ring
22 Dec 2002 — were launched.
----
MT Ok, a version that can be used by a user rather than root, even
under an X desktop we hope. It still won't work for gdm, xdm, etc
- telnet
13 Dec 2007 — CLIENT'''
This client is great for interactively accessing simple internet protocols (like SMTP, NNTP, POP and even HTTP) though it is not up to being a real TELNET client, and it lacks
- TemplaTcl: a Tcl template engine
02 Feb 2012 — have can also be coded using Tcl code without any [subst] (and then it might be even more readable :-)) ), but that was not the intention.
[CMcC] Ok, so using subst-if:
[subst
- Tension Splines
11 Jan 2012 — tension and bias values.
##
## Tension: 1 is high, 0 normal, -1 is low
## Bias: 0 is even,
## positive is towards first segment,
## negative towards the other
proc HermiteInterpolate {y0 y1 y2 y3
- testing
25 Jul 2009 — development kits have not been released. Jacks rivals the
Sun kits in capability, and may soon even have the same
number of compatibility tests.
----
The Dart framework produces the pretty test status
- testing umlauts: äöüßÄÖÜ
02 Jul 2011 — äöüßÄÖÜ
Other accents too:áéíóú
[RS] adds all of the iso8859-1 characters above 160, for even heavier testing:
160: ¡¢£¤¥¦§¨©ª«¬��®¯
176: °±²³´µ¶·¸¹º»¼½¾¿
192: ÀÁ����ÄÅÆÇÈÉÊËÌÍÎÏ
208: ÐÑÒÓÔÕÖרÙÚÛÜÝÞß
224: àáâãäåæçèéêëìíîï
240: ðñòóôõö÷øùúûüýþÿ
[KBK
- Tetrahedron with 3dcanvas
08 Sep 2011 — running TclKit 8.4.2, and the dddcanvas10.dll file is in the launch directory. I even tried explicitly loading the dll from the console, but got the same error.
''To ask
- text
07 May 2012 — developer has complete control, from within Tcl/Tk, of the bindings on a widget. What's even better is that the default bindings are written in Tcl/Tk, using the widget commands
- Text variable for text widget
02 Dec 2009 — of the widget and
# replaces it with the new contents of the variable; it does this
# even if the widget is disabled.
#
#----------------------------------------------------------------------
proc TracedText::traceCallback { w name1 name2 op } {
variable busy
if
- Text Widget Example
22 Jun 2011 — w]
puts -nonewline $fileid $data
close $fileid
}
tk appname "Edit"
======
----
I know this could have been even more minimalist, but thought this
would answer most of the recent questions I have seen
- Text widget improvements
18 Oct 2011 — line by line with [update]s in between - start reading on top, while bottom still loads. Even on a slow [iPaq], [iRead: a Gutenberg eBook reader] is usable for files of say
- THE
20 Jan 2012 — editing commands.
Is (roughly) as extensible as [emacs] but uses roughly 1/15 the disk space (even less if you don't include the Regina REXX interpreter in the calculations).
Allows muscle
- the 'Freiburg' project port to windows
19 Sep 2004 — trivial
* (-) it is an full OS -> no 'standalone' application possible -> always need the full SFU installation even if your application is very small -> bad
* (-) no mixed integration between windows and SFU -> no
- The Backspace problem
25 Jul 2010 — as you recommended Mike... Many many thanks! You are a heck of a programmer... A magician even... Say, what was the intention of the programmer when he wrote the line:
======
${w}_orig
- The best database that goes with TCL/TK
20 Nov 2007 — the returned rows. Its a similar process for all 3 dbs, similar enough that It doesnt even phase me. Sure, each interface hase some unique features, but for the basic operations, theres
- the brick engine
17 Mar 2012 — desaturation, etc), NPC introspection (including line-of-sight tests and a rich collision detection system), and even a tiny embedded custom language that you can use to give sprites a greater degree
- The BWise drum subwindow and driving a C-code sample processor program
24 Jan 2011 — assumed ms windows here, but I've also used the same setup on linux before, possibly even without much change at all, except maybe a few compile option issues, which on this
- The comp.lang.tcl newsgroup
15 Jan 2012 — when other people only see rocks, and everyone shares in the magic of a found treasure even if it's really just something a grown-up threw away. And when they find
- The filter idiom
20 Oct 2010 — just declare it to be an [idiom]. The ''[filter]'' function is frequently seen on Unix (and even DOS) tools, and I think was published in the Software Tools book(s):
* read from
- The ghosts of VB haunt this TCLer
18 May 2010 — languages that have only in the past year (2003) or so (e.g FreeBSD, [perl], TCL) even begun to catch up, in the area of threading, to the level that advanced VB
- the immutability of values
22 Dec 2011 — same object pointer address), and $data's internal representation changes from string to dict to list even though it's being accessed through different "containers" each time.
[AK], simultaneous with [AMG]'s
- The infinity trick
30 Sep 2008 — only need to happen to finite numbers.
-- [Lars H]
[AM] What a cute little trick! It even works for numbers like .1
----
I think most programmers if they needed some function to
- The Lish family
05 Jun 2011 — needs to be subst-ed and then makes nice Unicode.
One minor flaw is left-justification even for Arabic and Hebrew, but in plain text
you can't do much more than
- The Little Language Done Good
27 Feb 2012 — went to the town doctor but he too refused to look at his new gift or even to talk to him about it. And so it went with the barber, the butcher
- The Mystical Tcl 9.0
22 Oct 2008 — m actively working on a prototype design.
[Salvatore Sanfilippo] and I talked about BigNum support. He even has some C code that implements such a thing. There is also: [Proper integers for
- The purpose of this Wiki
16 Apr 2011 — in the Wiki which answers them all. With a bit of work such an area may even grow into some sort of community based tutorial and examples section.
----
[LV]: One thing I
- The Q function
10 Oct 2011 — return the sample results in Hofstadter's book, so appear
correct. Timing however is very different (even when duly clearing the
cache before testing Q' - [[Q 30]] was already intolerably slow on
- The RC File
18 May 2012 — descriptive than a plain '''%''', and more. Because you will be using the tclsh in interactive mode even in debugging scripts intended to run without that level of interactivity, avoid cluttering the global
- The Slow
10 Jul 2009 — could become unresponsive to events. This had a secondary effect, of forcing some bots to open even more connections, so there was a positive feedback loop.
<<categories>> Category Tcler's Wiki | Category
- The Smallest Tcl Web Server
04 Nov 2011 — The browsers were getting confused when the server responded and closed the connection before they could even send the request. I had to add "Connection: close" for similar reasons. Last, I removed
- The Strange World of Programming
16 Jun 2008 — little things work
* Realize that from little things big things are built
* Everybody is still learning (even [Knuth])
* Focus on being the best programmer you can be, rather than as good as
- The Tao of Tcl
04 Feb 2009 — that [[list length $x]] is somehow better than [[llength $x]], but wouldn't [[$x length]] be even more in accordance with OO ideals? Call an object, tell it what to do? Makes
- The Tcl Way
23 Oct 2008 — do add hints, many people start to "bulletize").
In other words, words have multiple meanings, but even whether something is a list is often determined from context. No one would consider this
- The Tclers Wiki is gone from Google
25 Jul 2009 — results. Is the wiki purposefully being blocked from search engine spidering or is it something else? Even searching for "Tclers Wiki" doesn't return mini.net (http://www.google.com/search?q
- The TK GUI - Q&A
29 Jun 2010 — move the button back to x,y It seems that step 1 isn't even being executed. Even more odd, if you remove the second place, the button does get moved to
- The uniqueness of safe interps
29 Jun 2006 — thing more to stay with Tcl ...
[KJN] - It's true. PHP has a safe mode, but even the PHP manual cannot give you an authoritative list of the functions that are restricted
- The word-chain game
19 Nov 2007 — letter. Examples:
son - sun - gun
cat - hat - hot - hog - dog
These word chains are simple graphs, even trees as they contain no cycle. Some may be completed to a cycle, but that
- The world of ToolCommand
27 Dec 2007 — what we now call a Tcl'er, or a experimenting/learning tool that makes Tcl initiation even easier.
Were this a book, it might have the following chapters:
* '''The platforms world:''' Win
- Themes
21 Feb 2008 — that allows for new elements to be implemented (and even dynamically by loadable extensions).
The first option would be quite fast (and even easy) to implement, and may be sufficient. After all
- then
07 Jul 2011 — line
expressions. Compare with [else].
======
if {$some_long_and_complex_condition
&& $some_other_condition_making_it_even_longer
} then {
# do the right thing here
} else {
# do the other right thing here
}
======
----
[wdb
- Theo Verelst Diary List
03 May 2009 — needs them?'''
- "Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets".
- Bringing my site up
- theover
09 Apr 2003 — Short for [Theo Verelst] which is most shortly abbreviated by initials [TV], even more discriminating though less short MTV, which includes my middle name.
It is my yahoo mail name, my tripod
- Things British
10 Nov 2011 — dec2trad .10 /
2/-
----
'''UK phone-book sorting order:''' [Donal Fellows] wrote in comp.lang.tcl:
''Indeed, even for strings there are many different ordering relations. Tcl supports two directly in [[lsort]]: ASCII
- Things holding Tcl back
28 Feb 2012 — technology, which make even more complex and obscure solutions possible.
Complex, object-oriented solutions will reign supreme, until someone (almost certainly an academic), can come up with an even more complex and
- Things which might speed this Wiki up
24 Aug 2010 — are particularly difficult projects. Anyone who wants to volunteer to do them can expect more help even than they are prepared to personally provide.
Other suggestions are welcome.
[CMcC]
[fr]
3. '''Searching
- Thingy OO with classes
05 Aug 2003 — namespace eval objectmethods {}
if 0 {
Procedures always execute within the namespace in which they are defined
even when they are imported into other namespaces. In order to find which
namespace the procedure
- Thingy: a one-liner OO system
16 Feb 2006 — think, I just found a bug in your oneliner from this morning: it
places all thingies (even the nested ones) in the global namespace.
rmax: here is one, that nests correctly:
proc
- Thirteenth Annual Tcl/Tk Conference
28 Nov 2011 — the trouble to write up notes (from all of us who live too far away to even think of attending one of the Tcl conferences).
[MC]: Continuing with the Thursday talks: [Richard
- Thoughts on 'Special' Wiki Pages
17 Jan 2007 — without a lot of formatting fuss. These two ideas seem to fall readily into that category, even though they sort-of break the mold of quasi-wysiwyg formatting of traditional pages.
Comments
- Thoughts on implementing OO in tcl
21 Mar 2006 — meaning to variable and command names. The usual association of namespaces to classes is beyond me - even for static OO, objects of a same class give a different meaning to names.
So
- Thoughts on OO, Natural language, human thinking
20 Jul 2009 — can be called with several different types of
arguments (lists of integers, lists of characters, or even lists of heterogenous types in the Tcl
version). This is also the sort of polymorphism
- Thoughts on Unified view of data and program
28 Apr 2011 — in principle. In practice almost every problem (in that domain) is still modeled using Newtonian mechanics, even though it is known to be (very) slightly wrong. Why is it so? Because the
- Thread Specific Data
13 May 2011 — subsystems] contains Thread Specific Data:
* tclFileName
* tclIO ([Tcl Core IO System])
* tclNotify
* tclAsync
* tclEvent
* tclTimer
* and even tclRegexp
It's used, somewhat like ClientData, to store per-thread quasi-global arbitrary data
- thread-ring benchmark
07 Aug 2009 — jmn]
I tried the following, but it errors out with "can't create a new thread" - even though my system appears to have plenty of free memory.
Any ideas as to what
- Thread-safe Tcl Extensions
16 Oct 2009 — use the [external library] when built threaded, or verify that the external library is thread-safe.
Even though a [library] may be listed as "thread-safe" here, it is likely necessary to
- Threaded Code Tcl VM
19 Jan 2012 — targets. The scoping rules for ''C'' don't allow functions direct access to their caller variables even if called via ''goto *ptr'' (no uplevel equiv). This means passing around a structure pointer
- Threaded Itcl
22 Feb 2007 — but the former can not. The main problem in this context is that you can not even display a progress bar or dialog during the time when the GUI is blocked, because
- threads
25 Oct 2010 — up to the master to decide whether to provide a vetted version of it.)
...
: I operate (even in much more controlled situations than what's being considered in this thread) by never
- Three Cheers for the Wiki
15 Dec 2008 — reserved on first mention in a pair of brackets. Even if the page is not filled in at the time. It stays reserved even if the unfilled link is removed before the
- Three-dimensional shapes
24 Dec 2011 — a set of procedures that will allow me to draw mathematical shapes like a torus
or even a knot, colour them in ingenious ways, in short, play with 3D space.
The script
- tiff package (in pure tcl)
23 Nov 2005 — LZW data. "all needed information" must be read carefully, because tiled images are not supported and even TIFF JPEG image files contains some en/decode information the package don't read yet
- TIL
20 Mar 2008 — v2.1''. And I have no idea if that is compatible with BSD or not.
Or even if it is recognized as a proper OSS license.
[schlenk] As far as i have
- Tilde Substitution
06 May 2011 — this Tcl bug: [http://sourceforge.net/tracker/?func=detail&aid=3118489&group_id=10894&atid=110894]. Even though NUL may be invalid in filenames, some (not all) of the [[[file]]] commands accept
- Tile
09 Jul 2010 — SourceForge.
----
[LV] The move from Tile to [Ttk] has begun. But what puzzles me is that, even though the code appears to have been integrated into the [Tk] 8.5 source line
- Tile Treatise
11 Sep 2011 — class and have it appear on the screen in the label element even if not in the right position. Even though the frame element was not expecting a -text option, somehow magic
- TileGTK
05 Dec 2011 — almost impossible to find with a casual search i.e. without reading your whole docs... and even then.) Unfortunately the results were messy: it didn't obey my gtk theme at all
- Time
29 Jan 2011 — pattern:
======
set t0 [clock clicks -millisec]
...
...
puts stderr "[expr ([clock clicks -millisec]-$t0)/1000.] sec" ;# RS
======
----
Even when you're not interested in the timing, you can use [time] as a simple
- Time-dependent greetings
21 Apr 2012 — brought me to think a little on the algorithm leading to selection of the appropriate greeting. Even just on the examples of English and German I notice that the boundaries appear not
- Time-lapse photography
18 Apr 2011 — growth etc.
For more details, see [http://en.wikipedia.org/wiki/Time_lapse]
Most photographic cameras, even digital ones, offer limited (if any) control
for time-lapse photography and that at a
- Tiny Tcl/Tk IDE
01 Oct 2009 — the zip file).
(And the backup file shows that the new IDE.tcl file has added even more blank lines to the bottom of the file.)
[wdb] -- Thanks for the hint, I
- TIP
12 Jan 2011 — as not meant "[Solaris]" (except that
it was called "SunOS" then) or something now regarded as even more
recondite, [serial port] work generally involved the command-line utilities
tip(1) and cu
- TIP #257 Discussion
22 Feb 2007 — packages can be done in pure Tcl (of course for SNIT, maybe for the others).
----
[SRIV] Even if this OO system can't make megawidgets directly, as long as a tcl wrapper
- Tip187 in pure Tcl
08 Jul 2011 — i.e. using the -command option as a command), but is using [eval]. You
can't even use a standard procedure if its name contains spaces in the same condition. This lambda
- Tips for writing quality software
07 Nov 2008 — Some programmers may be confused by your code if the purpose is not known. You may even confuse yourself when you come back to the code months later.
5. '''Use comments when
- Titoo: a thought experiment
29 Jun 2007 — implement second-word commands in Tcl. It doesn't work with namespaces, packages, and doesn't even allow you to define new procedures, but you can play around with this idea, at
- Tk
09 Nov 2011 — generation when X11 headers are missing]
can be an issue: the Tk source uses X11 headers even when Tk at runtime uses some other windowing system.
----
[[Things to explain: Bryan Schofield's
- Tk 9.0 WishList
17 Apr 2012 — could have a "canvas-style" background, allowing developers to provide users editors with margin lines, or even just a snazzy watermark. I am struggling with a platform-independent way to do this
- Tk coding styles and philosophies
24 Oct 2008 — not quite sure why Donal says it is "quite tricky", as my current implementation is not even a couple hundred lines. The primary task of the actions is, in fact, to gray
- Tk Dali Clock
02 Sep 2009 — the appropriate package require.
[AM] I am using Tcl/Tk 8.5 to run this, but even after catching this
particular problem, it does not work - I now get a similar problem
- Tk demo framework
19 May 2008 — them, so the framework would make its own toplevel, and clear "." before running the code.
Thinking even further, perhaps incorporating from [TclPro] or [Tuba] to animate/step thru the code will enhance
- Tk image Dos and Don'ts
01 Jul 2010 — bring) are handy and indispensable for fancy displays. This page shows how to enjoy them with even fewer problems (as pop up every now and then in news:comp.lang.tcl).''
'''DO
- Tk is obsolete
17 Nov 2008 — say he is correct. Tk does seem to be outmoded in design or style, perhaps.
But even that point is arguable.''
In what ways is he wrong?
''Another definition of obsolete is
- Tk Performance
13 May 2011 — ago ''(last century)'', but the speed of the average PC has washed away most concerns. Tk even runs passably on [PocketPC] devices now.
----
'''Tk Canvas'''
You can speed up drawing of simple
- Tk widget sticky discussion
31 Jul 2011 — fraDs -stick ew
grid .lbfDs.fraDs.lblLDs .lbfDs.fraDs.lblDs -sticky ew
grid .lbfDs.fraDs.btnDlDs
======
Even adding '-width 400' to either the 'labelframe' or the 'frame' will change the displayed width
- tk# (aka tknum)
20 Sep 2011 — things such as row and column\
sums, so-called "aggregates", which then also remain always visible even\
when navigating through the (large) main panel.
The scrollable main panel, on the other hand
- Tk8.5 menu radio/checkbutton without information loss?
06 May 2009 — it possible to have Tk8.5 radio/checkbuttons in [menu]s that are recognizable as such even if not checked?''' (And without much change to old 8.4 code)
Unlike with Tk8
- tk_dialog
23 Feb 2010 — triggers the currently highlighted button's action, but pressing Enter/Return always triggers the default button, even if is not the one highlighted. Bug or feature?
[MGS] [[2005/05/17]] I believe
- tk_textCut
17 Dec 2005 — join $list \n]
foreach first [lsort -decreasing [array names sel]] {
$w delete $first $sel($first)
}
}
or even:
proc ::tk_textCut {w} {
array set sel {}
if { [catch {$w tag ranges sel} ranges] } { return
- Tk_Theme
18 May 2009 — contains a 'theme:menu.tcl' file and the colon prevents it from being unpacked on Windows. Even if it's intended for X systems, you can't see that file if you
- Tk_Xpm
23 Nov 2005 — displaying Xpm images.
Tk makes this much simpler than I thought it would.
The implementation below even handles transparency properly.
----
[http://www.xmission.com/~georgeps/Tk_Xpm/Tk_Xpm.png]
----
[[Anyone have
- Tkabber
22 Sep 2011 — have a user interface to see what sort of things it can deal with, and perhaps even grab them. In a way this is just another packager/downloader, but the key would
- tkBuilder
04 Dec 2009 — sourceforge.net/projects/tkbuilder84/
(now includes translation with msgcat - French messages file provided).
----
Anyone experiemented with upgrading this tool to Tk 8.5 or, even better, 8.6?
----
!!!!!!
%| [Category Application] | [Category GUI] |%
!!!!!!
- Tkcon
29 Feb 2012 — to the console prompt,
at which I can proceed as described above. The second stage is even easier--you're already at the
command prompt.
----
[Victor Wagner] has expressed interest in running
- TkCon as an application console
21 Sep 2011 — attaching show/hide to a radio button, so you might end up using code like this, even after the ''package require tkcon''.
======
#------------------------------------------------------
# The console doesn't exist yet. If we create it
- Tkcon Remote Access over TCP Sockets
21 Sep 2011 — of code can be added to any Tcl application to allow remote access from [tkcon]
(or even [telnet] or [netcat]). To open the debugging socket, call
tkconclient::start port ?myaddr?
The default
- tkcvs
22 Jun 2010 — never needed Unix Services for Windows. There are native win32 versions of cvs, diff, patch and
even ssh (although putty's plink is more useful [http://www.chiark.greenend.org.uk/~sgtatham
- Tklib Contribution & Feedback
05 Jul 2011 — list.
1. Add in your code.
1. Hopefully add in documentation and test cases, and perhaps even some demo code.
1. Commit the changes. Be certain to add relevant comments to the
- TkMapper
17 Jan 2012 — counter
their (monthly? weekly?) efforts by recoding "by hand" the details of the Yahoo interface--or
even to work '''with''' Yahoo to legitimize our access!
It's probably not worth our collective
- TkMC
27 Jun 2009 — program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
#
################################################################################
package require Tk
global
- TkMegaWidget
19 Nov 2010 — new Tcl/Tk widgets allowing you to attach minor commands
and options to a widget, or even a private interpreter.
Version 4.0b is available from the WWW page.
(no longer maintained
- tkoo::dtree
07 May 2012 — pathname options exists location images
if {[llength $value] % 2} {
error [msgcat::mc "list must have an even number of elements"]
}
}
#what items to list should be a list of the following, or
- tkosiak sandbox
27 Oct 2008 — then GET/HEAD/POST, international encodings, other auth schemes than basic, custom errors and multi-threading, Even established Tcl-only projects like [TclHttpd] and [Wub] doesn't support fully support HTTP/1
- TkPool
09 Sep 2008 — inclined than 0.4 (the last version I tried) to have balls ending up overlapping (or even leaving) the table. This is annoying if it is the cueball, but virtually impossible if
- tkSokoban
05 Jun 2007 — program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General
- Tktable
17 Oct 2011 — put one character per cell, and no padx pady borderwidth, .... Abug remains, and yet not fixed: even if all padding between rows are set to 0, there is still one pixel added
- TKtEasy Project - Ideas for a Tcl/Tk visual IDE
31 May 2011 — of the application's dependencies on external programs, libraries/packages and/or scripts; and this would even allow the environment to provide code and different versions of the library for different programming
- tkWorld
31 Aug 2011 — it will have to change name - there was a (possibly dead) project of that name and even a package at Debian. Watch this place for updates. [RS]
----
[rmax] offers a list of
- TkXext
31 Jul 2011 — com/products/nc/exceed/] or Reflection X
[http://www.wrq.com/products/reflection/rx/]... (do they even provide SDKs?) But if you do work it out, by all means let George know
- tls
20 Dec 2011 — I]]n Tcl, adding [SSL] support is usually about changing ‘[socket]’ to ‘tls::socket’ :-) Even on already opened [channel]s this is mostly a matter of using ‘tls::import’ —
- tmpi
07 Jan 2012 — input or writing to standard output.
According to that, the usage within Tcl is questionable, or even risky, because Tcl does a lot before
it evaluate its actual Tcl-Input.
: '''tmpi::size
- Tnm3.1
01 Feb 2010 — invokeable from a NODE
* Hide scrollbars as well as toolbar and/or scale width of scrollbars (even to zero-width)
feel free to add to the list.
This is my first [wiki
- To build and test Tcl
04 May 2012 — platforms. Perhaps someone will add in a reference here regaling us with their horror stories, or even better, with steps that someone could take to be successful at the work.]]
* execute ./configure
- Tool Protocol Language
01 Nov 2008 — data). I'm presently using it for a project, and have encountered no problems with it (even though it sometimes feels a bit prolix when one has to go [[list [[list foo
- TOOT revisited
19 Jan 2006 — variables). The full release of TOOT will
contain all these features, and a few more. However, even with this relatively
simple TOOT we can demonstrate the basics of TOOT-style OO programming
- Toplevel widgets in a tree hierarchy
22 Jan 2008 — not exactly true: the average user will hit the dismiss button
on the error dialog without even reading the message, and then will ask
to us what the heck is going on
- Toplevel widgets in a tree hierarchy: a script to play
22 Jan 2008 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Toplevel widgets in a tree hierarchy: the package
28 Nov 2006 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Toplevel widgets in a tree hierarchy: the test suite
26 Sep 2003 — CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
# DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR AND
- Topological sort
29 Dec 2005 — DPorter/tcltk/package/].
Look in '''mkdepend.tcl'''.
[HJG] An example with some data would be nice.
The above test gives an error "list must have an even number of elements..."
----
[Category Algorithm]
- tothttpd
11 Jul 2009 — custom errors [CMcC] Wub supports these
and multi-threading, [CMcC] Both Wub and tclhttpd support multithreading
Even established Tcl-only projects like [TclHttpd] and [Wub] doesn't fully support HTTP/1.1
- Touchpad Binding for Horizontal Scrolling
10 Mar 2005 — b" eq 7} {puts right}}
This works because the %b will report the numbers back correctly, even though <Button-6> or <Button-7> event bindings are invalid.
I hope that there is
- ToW Tcl on WebFreeWay
08 Sep 2010 — least with Tcl we can
execute the file in a safe interpreter to extract the information. Even with XML, if humans are allowed to
edit the file it could still wind up
- Toy car workshop
17 Jan 2011 — of [Toy cars] may appreciate this little utility
- it makes designing new cars easier (one might even call it poor man's CAD :-).
The Canvas items can be edited in the text
- tprfkill
29 Jul 2010 — be a small GUI for a quick overview and easy switching of the states. If possible I will even try to bind the GUI to FN+F5 then.
<<categories>>Enter Category Here
- Trac Implementation
30 Aug 2011 — catalog card. Each user should have a set of procedures that can be called, used, and even redefined at his keyboard. These procedures should be callable in the TRAC language directly, or
- trace
21 Oct 2010 — array exists" test always returns false for the first two cases, and true for the third (even if the null index was the only array element). There is no way for the
- Traces
13 May 2011 — call to a general command, and solving exactly what variables a general command accesses is tough. Even if we restricted ourselves to procedures, we would still need to solve the [Halting Problem
- TrackerWidget
31 Dec 2010 — program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General
- Traits
28 Dec 2006 — me quite a lot of
type-classes in [Haskell], where there is no state at all (even in classes,
which would be types in Haskell). Type-classes can be parameterised over
several
- Transforming Tcl scripts into binary code
16 Nov 2011 — into a simple mainline that then feeds them into the interpreter) won't hide them or even speed things up that much.
1. The Tcl 8.x built in compilation phase into
- Transliteration
11 Dec 2011 — page):
proc danlish string {
string map {AA \xC5 AE \xC6 OE \xD8} $string
}
However, it is even more efficient to not write a [proc], but to declare this special situation of a
- Transparent Toplevel
14 Apr 2009 — alpha blending and the option to display window borders. If the fancy takes you you could even animate the window around the screen under script control. (No Tickle bindings to Compiz though
- Transposing a matrix
06 Aug 2011 — routine mathematical tasks can lead to more insight into the
features and possibilities of Tcl...
A (even simpler) generalization of the above is [function mapping] with [list].
----
This code from [Playing sudoku
- Traveling Salesman Problem
25 Jan 2011 — complexity of the problem is of order faculty N, which leaves us in major computational problems even for all names on the first page of the phonebook.
See also [Hidden Forces in
- Traversing listboxes via the keyboard
07 Feb 2003 — type several letters giving a prefix of an entry; I've done this in the past even where I've known it won't work, so it is definitely intuitive behaviour on
- Treectrl
01 Oct 2009 — version 2.2.9.
Included in [ActiveTcl] and [TclTkAqua].
Updated: 2009-05
Contact: See web site
Even though this is the real name of the package,
the discussion in the past has
- tricolore
08 Dec 2005 — I hacked up this simple example that creates a [photo] image of a tricolore flag (three even-spaced vertical bands - like France, Italy, Belgium, Ireland and many more). The default is France
- trofs
26 Apr 2011 — is to be read only, why don't you adopt '''ext2-fs''' or '''dos-fs''', or even '''cram-fs'''. The advantages of these is that you can mount these under linux and
- True Random Numbers
14 Jan 2012 — electronic noise. Recording CD full of it takes about an hour, and that is uncrackable, probably even by nasa, cia and kgb together, except for extracting characteristics of the noise..
[DKF]: On
- TrueType
11 Dec 2009 — Postscript, I think these are meant to live on different levels.
Remember that PS doesn't even have any built-in mechanism for kerning
(beyond some variants of the show operator that
- try
26 Nov 2011 — evaluated after the evaluation of the ''body'' and whichever ''handler'' was selected. It will be evaluated even if the ''body'' or the ''handler'' produce an error. It will ''not'' be evaluated if
- try ... finally ...
07 Jul 2011 — of useful [errorCode] information...
----
[LV] I am uncertain I understand the idea here. Is it that even if code within the try clause [exit]s, the finally code will execute? Obviously if
- tscanvas
25 Jul 2011 — t actually matter, Netscape 4 when rendering a page creates a bitmap for the entire page, even though only a fraction of the page is visible. On very simple but long pages
- ttk::button
10 Apr 2012 — this [https://sourceforge.net/tracker/index.php?func=detail&aid=2046267&group_id=12997&atid=112997]. Even if the focus-on-click behaviour is intentional, I think it should not be governed
- ttk::combobox
07 Dec 2011 — the entry portion of the ttk::combobox? And can somebody tell me why there is not even an ''option'' to specify colors of Ttk widgets in the same ultra-simple way as
- ttk::menubutton
07 Jul 2011 — left -sticky {}" which
should be changed to "-sticky news"
Is this possible in an easy manner ?
---
Even harder, I want to have it with Toolbutton style:
======
% pack [ttk::menubutton .t1 -text abcabcabc
- ttk::treeview
17 May 2011 — it's there!
<<br>>
[Luis Calvo] 2008-11-28: Hi! I have detected the same "bug" even with '''-minwidth''' option at columns.
You can find the bug in the 8.5.5
- Tunnel HTTP through SMTP
11 Jan 2012 — passed by the equivalent of an old lorry, every, what, hour or so, so that the even the above approach would leave you to wait such amount of time to get your
- Tupleserver
20 Oct 2011 — such as [wish-reaper] that extract code
from the pages. Where there are multiple versions, or even code intended for separate files on the
same page, grabbing all the code in one
- Tuplespace
04 Jul 2011 — take up memory... Access control allowed for readonly accounts -- some users could peruse the tuplespace (and even get callbacks) but couldn't "take" (remove) items...''
======
package require md5 2
# A very simple
- Turn a tcl-tk script into an application
02 Nov 2008 — some version of (ii) and bundle up a lot of others files at the same time, even better).
I envisage this, at least on Windows, MacOS (X), to be an executable that
- TWAPI
14 Dec 2011 — Could not find where the cluster size info is available. I'm not sure it would even help you estimate the true size since NTFS supports sparse files.
[RT] I just found
- TWAPI and WMI
19 Jul 2011 — are working in.
Third, try after loading the WMI:
% expr 1,5*3,9
I work, even being Germany, with an English OS, so I can't prove my thoughts!
But my
- TWiG
28 Nov 2008 — uri',
'ftp', 'htmlparse', 'md5' and 'textutil' extensions which are part of the 'Tcllib' library.
Note that even though the URLs, page numbers, names, checksums, etc. were fairly
accurate at the time of
- Ubuntu
11 Feb 2012 — I copied quite some time ago. Even worse, it doesn't happen all the time, rather about 98% of the time, which makes it all even more mysterious. The clipboard in Linux
- uDraw(Graph)
30 Jul 2005 — automatic layout - much faster than with any standard
drawing program. With the API, uDraw(Graph) can even be embedded in your own programs
as a visualization component.
Version 3.1.1 of
- UFO (yet another pure tcl OOS)
09 Oct 2006 — it is fine. This can be done very easily
# in @INIT for a given class, or even done automatically within 'ufo'
#
#
# NOTE: the use (or not) of sugar may break methods that
- Ulam spiral
20 Feb 2012 — perfect square, and they all belong to the same diagonal. So there are more
integers with even number of divisors than with odd number.
======
# spiral.tcl
# Author: Gerard Sookahet
# Date: 03 May
- Ulam Spiral Demo
02 Apr 2009 — cells which are the Squares of Odd
# and Even numbers.
# Demo.tcl
#-------------------------------------------------------
proc odd_evenSquares {} {
# Draw lines through the squares of the Odd and Even numbers.
plotLine 336 276 96 36
plotLine
- Undo, a few pointers at how to code the Undo function for a text editor
09 May 2009 — t want to keep all back-ups simply the latest one. Any suggestions?
I am sure even Microsoft must have bumped into the problem at one point despite the fact that all
- Unicode file reader
17 Jun 2011 — as mine... Maybe I'm pampered, but I've grown to expect it could be done even simpler, so that frequent constructs are nicely wrapped:
======
proc version {"of" pkg op vers} {
expr
- Unicoded integer sets
25 Nov 2002 — the [lsearch]es above. One should still check the argument to [format], as negative integers may even produce two bogus numbers (when the [error] is commented out):
% uis'list [uis'fromList {1
- Unified Programming Language
29 Apr 2011 — be in the majority of the deployments out there. Even having a "Site TCL" and individual deployments suited for particular purposes wouldn't even begin to make a dent in the resources
- uniquename
18 Apr 2012 — the image at [A little slide-rule].
(I guess most people born after 1950 don't even
know what a slide rule is --- much less how one works.
Time marches on. More
- Unit converter
16 Mar 2012 — On the other hand, it's more forgiving of "3m" or "3meters" or "3 meter", or even "3metre" etc. as input. Feedback welcome.
Updated 23 Feb 2000 to handle percentage conversions, include
- Unix Domain Sockets
28 Nov 2010 — cyrus due to concerns such as superior IMAP libraries - but it looks like perl beats us even on basic sysadmin 'glue'.
If you think like me that this is an important feature
- unixhelp
21 Nov 2008 — zip archive which contains html pages and index files, so it is easy to modify it even if you don't have windows development tools at all.
It is possible to create
- unsort
09 Feb 2009 — lines \n]
}
main
# vim: set ts=4 sts=4 sw=4 tw=80 et ft=tcl:
Even though the above really is good enough, I'm still interested in seeing performance improvements
- Update considered harmful
16 Aug 2010 — b: 5000277 microseconds per iteration
a: 5001788 microseconds per iteration
======
[[a]] indirectly calls into [[b]], and even though [[a]]'s timer expires long before [[b]]'s, [[a]] can't resume execution until
- UPL: Command-Oriented & Object-Oriented Tcl/2
17 Jan 2005 — feature. So it's not cluttering up your system - or bloating your distributions. It's not even in it/them.
Similarly, OO programmers can ditch the command-oriented stuff (if they want
- UPL: No Core - No Core Team
21 Mar 2011 — and a size a few orders of magnitude greater than the Tcl core will ever reach. Even if all I want out of UPL is Tcl, I can't imagine that the
- UPL: Tcl, Perl, Python, C, Etc
03 Mar 2007 — want the script level programmer to be free to:-
1. Take data types - commands/functions - and even syntax and quoting rules etc - from other languages, as they see fit, and:-
2. To
- UPL: The Language Parser(s)/Interpreter(s)
17 Jan 2005 — DKF]: In the free-and-open-source-software world, producing an early interesting prototype is advisable. Even if it can't do everything you plan, getting it so it can be at
- uplevel
02 Dec 2011 — sentence of the previous paragraph bears repeating. For safety's sake, ''always'' give the level explicitly, even though it's 1. This is because there are many situations where [[uplevel]]'s script
- upvar
27 Dec 2010 — is invoked. ''MyVar'' is always treated as the name of a variable, not an array element. Even if the name looks like an array element, such as '''a(b)''', a regular variable
- upvar sugar
17 Jun 2011 — close to natural language, but finally allows calling
======
foo:add a and b to c
======
or even, for [COBOL] lovers (sugar arguments may be any string you want)
======
foo:add a to
- upx
06 Jun 2002 — UPX to decrease the size of your distribution !
* very fast decompression: more than 10 MB/sec even on my old Pentium 133
* no memory overhead for your compressed executables
* safe: you can
- URL Parser
17 May 2010 — letters; is this really your intent? It also requires at least one dot in the hostname, even though it's perfectly valid to not have one. For example, http://localhost/test.html
- USB Portable Environment
11 Oct 2009 — virtual machine.
Flash Puppy [http://www.puppylinux.com/flash-puppy.htm] does exactly that; it can even boot from the USB stick when possible. When emulated, it is awfully slow. You can
- Use while to iterate over a list
17 May 2011 — the list, we can vary the number of items consumed per iteration. With '''unshift''' we can even put back items on the list if we decide not to consume it in this
- Useful Tk Widgets
02 Feb 2007 — widget with rows and column display. Think framework on which you can display tabular data or even build up to a spreadsheet.
* [BLT]
* [Img]
* [wigwam]
* [A scrolled frame]
* [Hugecombo]
* [Hugelist]
* [Virtuallist]
* [Agentk
- Usenet group
05 Apr 2011 — number of servers - perhaps one). Some private newsgroups are protected so that one needs a password. Even though a newsgroup may be public, that does not guarantee access to it via any
- user documentation project
16 Aug 2010 — document less than I code. Luckily, I rarely have to deploy to nonexpert end-users. But even running my own apps after some time, I like concise online help best, e.g
- User Interface Design for Tcl/Tk
02 Jan 2009 — nix-specific recommendations.
* [Give Unix a Windows look and feel]
[LV] It seems, to me, that even with [Tile] going into the core, there continues to be comments concerning the default look
- Using a zip file as a Tcl Module
14 Jun 2011 — is sfx friendly) you can add and remove files from it. From Windows XP, you can even browse in them with the explorer. Another reason is that I was looking for a
- Using JavaScript to update Dynamic Documents
23 Oct 2007 — a Netscape browser. The original question had to do with a problem where Netscape stayed busy even after the CGI was finished (which was about two hours(!) after its started). This evolved
- Using Kill on Windows 98
04 Oct 2011 — needed to make
the process go away...
Regards,
Arjen
''Update:'' Perhaps this fragment of code is even more to the point:
/* exitcodes: 0 == no, 1 == yes, 2 == error */
int
main (int argc
- Using namespace ensemble without a namespace
26 Jul 2011 — puts "$r is a [$r type]"
======
Using anonymous functions via [apply] in 8.5, we can even add new methods
to the object. These are simply aliases to an anonymous function. We
- Using Tcl to write CGI applications
25 Nov 2006 — the various options for writing Tcl Common Gateway Interface [CGI] compliant applications.
It's really easy, even if you don't use one of the helper libraries out there. There are two
- Using Teacup for the first time
23 Nov 2011 — set of installed packages and possibly even a different architecture. Is there a flag to force a particular choice of architecture and to retrieve all dependencies, even ones already present on the
- Using the right tool for the job
06 Jul 2011 — home the point that one should always strive to use the right tool for a job - even if that means '''not''' using Tcl!
----
Date: Wed, 15 Aug 2001 11:54:36 -0400
- Using Tk as a loadable package
18 Aug 2003 — Tk
8.3
# A window pops up - we have succeeded.
By using slave interpreters, it is even possible to have multiple Tk sessions at the same time while having no Tk at
- Using zip files like a .kit file
14 Jun 2011 — is sfx friendly) you can add and remove files from it. From Windows XP, you can even browse in them with the explorer. Another reason is that I was looking for a
- utf-8
26 Jan 2010 — characters within the Basic Multilingual Plane of Unicode, so there's no way that you can even feed an U+10000 ''into'' [encoding convertto] :-(. Fixing that is non-trivial, since some parts
- Validating Credit Card Check Digits
05 Jul 2011 — factor 1
set even_factor 2
} else {
set odd_factor 2
set even_factor 1
}
foreach {odd even} [split $acct ""] {
append digits "[expr $odd * $odd_factor][expr $even * $even_factor]"
}
set sum
- valuepanel
15 Jul 2011 — is stored by Tcl, including braces, etc.
In Tcl, a dict is a list with an even number of items, and a list is always a string; but not all strings are
- Vanishing Child
12 Nov 2008 — Arrgh, I sprained a ligament in my brain!
[HJG] Added a checkbutton to show hints.
[AMG]: Even with the hints turned on, I ''still'' don't understand how this can be possible
- vaporware
01 Mar 2004 — a term created as the name for a project which
is announced, but which has not yet been released - and
many times, has not even begun being designed or coded.
----
[Category Glossary]
- variable
31 Dec 2011 — the manual anywhere?) Even without a ''variable'' statement, it is valid to write
set {} 12
puts ${}
set {}
This code will echo "12" to stdout, and return the value 12.
Even more unusual
- Variable substitution in -command scripts
13 Jul 2011 — close to the binding, reminds me that, since procs are in the global (disregarding namespace) namespace even if defined within another proc, what about just defining the proc for the command on
- vcard
14 Nov 2009 — 2009-11-15: small change to parse collections of vCards, too. The `parse` subcommand now returns a list of entries even if there is only one entry.
----
!!!!!!
%| [Category Package] | [Category Office Automation] |%
!!!!!!
- Vector arithmetics
27 Dec 2011 — binary operator (could be any suitable
function) and two arguments, which may be scalars, vectors, or even matrices
(lists of lists), as it recurses as often as needed. Note that as my
- Vector rotations with Bwise
24 Jan 2011 — A rotation matrix is even a very well formed matrix in general with normally excellent invertability and eigenvalue computability.
It is not hard to make a orthogonal and even orthonomal basis for
- Veronica Loell
02 Jan 2008 — out (presumably backed by [AK], among others) that "the American system" has the potential for being even more
nefarious: there is a likelihood that copyright and similar IP violations ("violations") will become
- Vertigo - a little Tk game
09 May 2005 — Brian Theado] - 05March2005 - Added package require Tk and made it so the help file is accessible even if executed from a different directory (i.e. in a [starkit]).
----
This is the help
- VFS
28 Feb 2011 — zip archives, ftp sites, http sites, webdav remote disks, metakit archives (as used by [tclkit]), and even mount Tcl's proc namespaces as a filesystem!
----
If you would like to add/use
- vfs::http
12 Jul 2011 — type of this file. We describe everything
# as a file (not a directory) since with http, even directories
# really behave as the index.html they contain.
set state [::http::geturl "$dirurl$name
- vfs::zip
12 Jul 2011 — record is at offset 22 from the end of the file. Which is not necessarily true even according to the format spec. My files all contained a trailing 0x0A (end of line
- VHDL and Tcl
12 Aug 2008 — work neat.
The main link with Tcl ? Tcl got into existence as Tool Command Language, IIRC even as chip design related. Lots of scripting is desirable for serious computer aided circuit design
- Vim
02 Oct 2011 — expansion doesn't recognize :: or variables starting with underscore or numerals, even when ${...} is used. Unlike decimal highlighting, hexadecimal highlighting starts even when the number doesn't begin the word. (And besides
- Virtual Framebuffer
29 Jul 2011 — all framebuffer. That is, if I understand the description, it gives us Tk on
framebuffered hosts, even if they lack X, or their X impairs performance.
[rdt] : Ooh! I sure like this
- Virtual grid widget
11 May 2005 — a huge virtual grid of widgets. By not creating widgets all the time, and by not even moving them around on the canvas, we get the benefit of Tk's double-buffering
- Visual Basic
04 Jul 2011 — http://sourceforge.net/docman/display_doc.php?docid=11951&group_id=10894
[RS]: Hm, interesting.. but even on A4-Landscape, I can't print it decently...
[LES]: if that is still useful
- Visual Tcl
10 Mar 2010 — that any derived work must also be GPL'd. That's what the GPL is ''for''. Even if the final version ends up with all the code different, the basic structure will
- VisualDSP builtin Tcl use
25 Jan 2011 — 8.3.1
[Image TV Wiki visualdsp1.gif]
The tcl has got most things built in, even sockets, though no Tk.
There are tcl commands (see help 'Overview of Tcl scripting') to
- VK
26 Feb 2005 — and Perl scripting languages together: each of those is cool, and together those are damn cool. Even on WinCE device I write funny programs, screenshot at [http://www.vkonovalov.ru/perlce-tcltk
- Vkit is a vector engine
16 Jan 2011 — with XML interface to illustrate that vectors
needn't be about numerical data at all, nor even about homogenenous data.
Anyway, back to VKIT.
This project uses "memory-based vectors" as central
- VNC
25 Aug 2008 — own. It works fine with all kinds of [X] displays, all current [Windows] versions, ...
You can even use any [Java]-enabled Web browser as a client, because any VNC server [[!? CL certainly
- VS Project List Editor
10 Jul 2008 — every installed version of Visual Studio, it lists the
MRU list. You can rearrange, delete and even add projects to the list.
Two nice additional features are ''Kill Zombies'' which deletes all
- vwait
23 Oct 2010 — waitForAnyArray($index)
}
}
======
----
'''vwait in namespaces:''' The varName must be globally qualified as if in a binding, even if the vwait is inside a ''namespace eval'':
======
namespace eval foo {
vwait bar ;# will never
- w3m
27 Jul 2011 — code (to see field names and form ACTION, which may be
session-dependent, complicating your task even more).
Why have I chosen w3m? Unlike other well-know text-mode browsers, w3m
processes
- WAP
12 Nov 2004 — know of charge Internet connection by the kilobyte, and modern Web-enabled telephones support XHTML and even some Javascript. If that doesn't spell "WAP is dead", I don't know what
- Ward Cunningham
23 Sep 2004 — replacing ? with / in the url.
Ward likes [perl] and expects that he should like Tk/Tcl even more. He read a book on Tk/Tcl once, but found this knowledge didn't
- Watching a remotely stored video
24 Jan 2011 — not simply copied to the other machine. It may not have enough free disc space, and even over 100baseT ethernet it would take some time to copy.
On the other machine, I
- wavelet
21 Apr 2012 — idea of having, even constructing, an orthogonal basis for the space of all solutions to some PDE is certainly that old (second half 19th century, I'd say, even though back then
- WAX
25 Jul 2009 — web-browsed the CVS database and found all the files in there are 2 years old. Even assuming it's been 2 years without change, how does one download the whole thing
- wce
01 Jul 2007 — spell|ambiguous|numbers|text>
A tiny demo shows that ''wce power'' works, and eTcl runs on even on a powered-off machine:
after 10000 {wce power 0}; after 20000 {wce power 1
- Web scraping
28 Aug 2011 — playback direction with such tools as [AutoIt].
* [Perl] probably has the most current Web-scraping activity (even more than tclwebtest?), especially with WWW::Mechanize [http://www.perl.com/pub/a/2003/01
- Web Service
04 Jan 2012 — states 'The easiest way to get started with Web services is to learn XML-RPC'.
An even easier way is to download [Gerald Lester]'s Web Services for Tcl and follow the
- Web-hosting companies that offer server-side Tcl
19 Apr 2012 — out to be (sadly) true of many of the entries here.
[[nerc-online]]
[LV] Is Neosoft even around any longer? I thought they disappeared at the end of last year.
Neosoft was
- Web-Safe Colors
31 Aug 2011 — least, it hasn't picked anything randomly off-track, with the few tests I've done - even it looks crap ;)
(Incidently, when it lists the RGB, it's 1-256, not 0
- Webadmin for Metakit with Tclhttpd
15 Jul 2009 — ve been warned. But now ... have fun:
... '''Script removed''' ...
10/23/2003 [Stefan Vogel] O.k. even though the complete Webadministration of Metakits was only about 600 LoC, it's a little
- WebServices
09 May 2011 — in tcl 8.5 named [dict] [http://www.tcl.tk/man/tcl8.5/TclCmd/dict.htm]. Even though dict is a new feature in 8.5, a backport for 8.4 is
- WebSocket
02 Apr 2012 — feed -filters $filters`" with "`-get [[list $feed $filters]]`". Hmm, that [[[list]]] in there makes it seem even less clean, though. I dunno.
----
**Archived discussion**
[agb] Dec. 2010. Chrome now supports an http
- WebUtils
07 Jul 2011 — TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
}
# Load packages
foreach {i} {parse htmlgen} { package
- weeCalc
26 Jul 2011 — program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General
- weedesk
29 Apr 2011 — screen and
changes as you select various windows. However, I've not
integrated tkMenuMgr from [Menus Even Easier] yet, so all
there is is a place-holding button that exits the desktop
- weePackages
29 Apr 2011 — hash (sha1 ?). Key management and other such niceties can then be scripted at the Tcl level. Even though things like base64 and sha1 can be, and have been, made with pure Tcl
- weeSpread
13 Feb 2011 — things such as row and column\
sums, so-called "aggregates", which then also remain always visible even\
when navigating through the (large) main panel.
The scrollable main panel, on the other hand
- WeirdX
26 Feb 2011 — that user can switch
# active windows, but not start potentially dangerous programs like xterm.
# you could even xrsh the apps over to another machine to load balance.
# you also may have to
- Welcome Visitors
18 Jul 2011 — tk/_/recent%|%Recent Changes%|%]''', which is maintained automatically,
or [Search] for words in page titles or even through the full text.
Other places to start from are likely to spring up soon
- What are some general programming recommendations independant of Tcl
10 Jul 2002 — in general and a LOT to do with good ideas for programmers!
* Do The Right Thing, even if you don't want to.
* Assume the person who'll need to maintain your
- What are some options for managing variations of Tcl on your machine
19 Mar 2003 — any of these, but I suspect that some of you may be.
And I'm not even GOING to go to the 'specialized combinations of
Tcl linked with specific extensions'.
So do
- What debugging tools are available to a Tcl programmer
28 Aug 2011 — d: a handy little debugging proc].
----
'''set magic:''' As Tcl has no reserved words, you can even write your own set command (make sure its effects are like the original, otherwise most
- What do I need to do to wrap Tcl/Tk around a command line oriented program
08 Mar 2006 — over the original
program, and that the user typically has minimal knowledge that
the original application even exists.
Common examples are the creation of a [GUI] interface for a command-line application
- What feature or functionality is missing in Tcl
12 Sep 2008 — Critical Missing Functionality***
1. What we need here is a list of needs that have not even been written yet, as far as the writer knows.
1. Documentation and examples based on
- What features would be useful in a Tcl IDE
31 Jul 2006 — in a much quicker and more convenient way. Komodo, for example, has such feature. You can even drag and drop with it.''
[NEM] These snippet managers are meant to encourage cut-'n
- What groups are shared by these users
20 Jan 2012 — the list is always 2 elements, the first being a list of 2 elements ...
#bbh: but even better is lappend
lappend set_of_groups($group) $user
}
}
}
}
# Loop through the array of existing
- What If: Everything is a Thing
06 Apr 2011 — combined with various techniques (such as
leading word expansion, etc), leads to true anonymous commands. However,
even for places where all the information about a ''thing'' is able to
be placed in
- What is Tcl
25 Feb 2012 — even [object-oriented] extensions for the Tcl language. Many lists of extensions exist - see the [Dirty Dozen] for pointers.
You might want to know "[On What Platforms Does Tcl Run]?" or even
- What is the advantage of Tcl over Perl
06 Apr 2012 — a variable is tainted is completely baroque
(with eval, join and kill, see perlfaq7) and confusing even to experienced users.
----
Also see "[Is Tcl Different!]",
"Why Tcl is better than Perl" [http
- What kinds of data can Tcl scripts use
02 May 2011 — which extension packages are available.
2. '''Dynamic Code Generation:''' You can create new data structures and even source code on the fly.
Actually, everything isn't really stored as a string in
- What kinds of variable names can be used in Tcl
18 Dec 2011 — passed to it, and perhaps even the current [locale]!)'' (In other words, it's not cross-platform and not using curly brackets is asking for trouble(?)-[LES])
* Even though the brackets are
- What should I be sure to do so my Tcl based programs run cross platform
28 Aug 2011 — small and yet demonstrates things like UNIX/Win exec vs Mac-Applescript and Mac-resources.
----
Sometimes, even when a command itself isn't available in Tcl or Tk, it
can be built
- What some command arguments expect
20 Jul 2004 — type of [argument] is '''expected''' by the various [Tcl] [command]s. This saves unnecessary quotings or even erroneous quotings. Also superfluous commands could be entered as in this example:
if [expr {$a
- When all you want is to run a Tk application
02 Nov 2008 — and launching Tk applications can be even simpler--
radically simpler, in fact, than for any other applications.
[Starkit] presents advantages over [Java]'s .jar-s
and even C's fully-compiled-and
- When you ask questions about eggdrop on The Tclers' Chat
27 Feb 2009 — encounters where
both sides have frustrated each other. It might well be that we don't even know
how to speak Eggdrop well enough to tell you what the problem is in
- Where can I store my nifty new Tcl program so others can get it
13 Sep 2008 — you keep application source code on this site, you can use [wiki-reaper],
[wish-reaper], or even [XotclIDE] to extract the source code and copy it to your local system.
----
Add additional
- which
04 Apr 2011 — idea above could also be slightly improved with the ability to detect common extensions in Windows, even if they're not provided in the argument:
proc which {filename} {
switch $::tcl_platform(platform
- Whim window manager
15 Jul 2009 — remote control over the desktop. You could even build in desktop sharing if you made some of the
right arrays as shared. You would even get persistence in a [Metakit] backing store
- Who owns the content on this Wiki
25 Aug 2011 — argue that they are not placing any
restrictions on the further distribution of their information (nor even
alteration, for that matter).
Not owning it means that whatever I say is no doubt
- Who says Tcl rules...
13 Apr 2012 — image viewing capabilities and it fit into 2MB with no dependencies. But to develop Windows applications, even free software, using Qt, you have two choices: pay upwards of $1000 for access to
- Who says Tcl sucks...
12 Apr 2012 — or URL.
[RA2] To be taken with a grain of salt. There is no perfect language. Even if one coded a perfect language you'd always find people to criticize it left
- WhoAmI? -Letting proceedurally added widgets know their names
27 Dec 2011 — b$i -text "Button $i" -command [list whoami $base.b$i]
}
======
Given that rule of thumb, even better (arguably) is this implementation:
======
button .b1 -text Clickme! -command [list newButton .b1]
proc newButton
- Why a separate page for each book
19 Apr 2011 — certainly allow to group a book and its reviews together. And with the new search facility even a non-existing short list would be no trouble, as we are able to generate
- Why adding Tcl calls to a C/C++ application is a bad idea
01 Feb 2008 — conclusion, that emphasizes technical specifics. There are places for both [embed]ding and extending, of course. Even apart from categorical theorems about the power of scripting, the "front-line" reality is that
- Why can I not place unmatched braces in Tcl comments
14 Jun 2011 — as:
======
switch $foobar {
# Match
a first
b second
}
======
Not what was intended! The following is possibly even worse (depending on your point of view...)
======
switch $foobar {
#Match a first
a { puts "Matched
- Why can I not start a new line before a brace group
28 Apr 2011 — command.
The parser has no special syntax for ''if'', ''for'', ''while'',...
- and it should not have, even in 10.0!
''[LCS]'' - Not impossible, it just requires some sideways thinking.
For example, suppose
- Why Do Programs Take Up So Much Memory ?
22 Dec 2011 — and at times ridiculously so. When things start running, it gets even further, because then the dynamics kick in, meaning memory, even though it is not used insipidly, gets fragmented, leaving a
- Why do you NOT use a tclkit
03 Mar 2009 — latest version of Tcl/Tk. (It's a great excuse to push out an application update even if my own scripts don't have anything new--updates help generate sales!)
----
[MG] The
- Why factoring is important
21 Dec 2005 — like Tcl and C'''.
As [RS] says "... a good proc fits between thumb and middle finger... ... even O(N**N) may be ok,
for sufficiently small N ..."
Charles Moore and countless other
- Why is keyboard entry in Tcl so crude
27 Oct 2009 — is not alone on this minimal editing, a lot of languages have even less (like [Perl]), but the ones with even semi-featured editing (like [Python] which doesn't autocomplete but still
- Why is TCL syntax so weird
12 Jan 2007 — of influences on Tcl.
The original [BASIC] required a syntax like:
[let] a = 1
which is even worse!
[Arjen Markus] I can add to this, that formally and semantically the
use of
- Why Tcl has no GOTO command
28 Dec 2011 — the moment. :^)''
As you can see, you can do a lot with Tcl even without a goto. It often even ends up clearer to the person maintaining the code like that. Everyone
- Why Tcl is so much slower than Perl
05 Dec 2011 — the fastest Tcl to date, even faster than 8.0,
as listed in [Tcl Benchmarks]. Despite having i18n and thread support...
----
[Setok] - The topic isn't even true for straightforward examples. I
- Why Tcl Still Matter
10 Feb 2012 — the still simple core (no we don't need [OO] there nor do we need FP -- even if it would be cool).
When all toying (playing with other more advanced languages and
- Why you should not use Tcl
01 Apr 2010 — I read that and think he was an arse for posting that and I wasn't even programming then.
----
This link [http://coffeeghost.net/2008/03/19/your-ignorance-does-not-make
- Wibble bugs
06 Mar 2012 — It appears Firefox is taking the liberty of encoding its posted form data in UTF-8, even though there's nothing in the request headers indicating the charset. This happens both with
- Wibble discussion
22 Apr 2012 — a directory is requested. Only the first response would actually be sent to the client, but even so the second one would be generated.
Here's another way of looking at things
- Wibble discussion archive
22 Apr 2012 — A response has been obtained. Return it.
#
return $outcome
}
I might even go as far as creating the fspath value even if the root option doesn't exist if I could squish
- Wibble implementation
13 Apr 2012 — th, td {border: 1px solid #727772}
tr:nth-child(odd) {background-color: #ded}
tr:nth-child(even) {background-color: #eee}
th.title {background-color: #8d958d; text-align: center}
</style></head><body><table
- Wibble news
13 Apr 2012 — by having separate [Wibble implementation] pages for each branch, but that would be a major pain, even more so than the current system.
I don't know if the "coroutine already running
- Wibble wish list
01 Apr 2012 — 13: Well, not quite. Streaming from a contentfile or contentchan precludes calculation of the compressed size, even when the uncompressed size is known in advance. This suggests two modes of operation: buffered
- WIBNI
10 Jan 2008 — to the wiki page for the widget.
1. If you have a design in mind, or even code, then submit it to the appropriate project page as an enhancement request.
1. If
- Widget tags
15 Nov 2009 — paths throughout your code.
There are lots of things you can do to make the code even more fancy.
For example, you can support accelerators, build your own widget
wrappers that do
- widget::dialog
31 Mar 2011 — value: 1 (bool)
-synchronous
Except for the hints in the source I have no clue and even that leaves me completely puzzled.
There's something about custom buttons in the dialog and
- Widgets as Executables
01 Apr 2003 — the shell scripts, communicating via sockets (so the GUI can be run on a separate host, even on Windows). The protocol between the GUI and scripts is based on incrTcl object instantiations
- Wiki Announcements
18 Jun 2010 — highlighting engine has intrinsic limitations that can't be overcome by a clever syntax definition, but even given that I think there's a ton of room for improvement. See my [Graffiti
- wiki database for offline use
02 May 2012 — without content. This are pages which have a title but haven't got content yet, not even content with size < 1.
util count_text_pages Count all image pages.
util empty_text
- Wiki Gripes
29 Nov 2010 — such), you can italicize by starting a new line, since formatting codes are recognized per line, even though they end up concatenated into one, see [WOBBLE] for an example.
Brackets can be
- Wiki jumps the shark
31 Oct 2011 — to work a non-Wiki hyperlink into the text of my page. And (although this constitutes even more stylistic clutter!) I would like to see a little planet icon or different link
- Wiki page cleanup
19 Jan 2009 — to-noise ratio is better than "more pages"...''
* this might lead to some raised eyebrows, occasionally even bad feelings - but there are a number of ways to deal with that:
- point to
- Wiki Spamming
11 Dec 2009 — code), or community based: ask the wiki community to clean-up faster than the spammers, or even ask google to do something about this (why not?). Details follow. See also quite a
- wiki-reaper
16 Jan 2010 — being a "snippet"
* snippets are stored in a separate read-only area, and remain forever accessible, even if the page changes subsequently
* the main trick is that snippets get stored on basis
- WikiDiff
08 Jun 2006 — Idea: omit all diffs over say 25 lines, that keeps the page nicely limited, it may even entice people to stick to small(er) more concise comments.
* How far back should the
- wikignomes
27 May 2008 — http://c2.com/cgi/wiki?search=EditHint) left behind by MetaWikiGnomes and cleans them up or even takes on major projects, such as breaking down the barriers around Walled Gardens.
Wiki Gnomes
- Wikignoming: what is to be done
16 Jul 2009 — references). In those cases, it is
useful to add a reference in an appropriate place (or even to create an appropriate place), just so that people have a chance of finding the
- Wikit
04 Jun 2008 — server (see [How to grow your own Wiki]) - allowing you to run a web based wiki even on platforms without a web server - such as a Windows desktop!
* embedded in your application
- Wikit Command Line
14 Jun 2011 — Wikit] (and [sdx] for that matter) has, in the past 2+ years, evolved even farther.
Some of the command line arguments available at this time are:
* -readonly - wikit is browse only
* -images
- Wikit in abstract
20 May 2007 — and ownership semantics, with user identification in a separate module.
- [CMcC] 20040726
----
Re 2: yes, or even make the title the file name altogether (encoding some chars as %xx perhaps, as in
- Wikit in local mode
30 Apr 2012 — your system at http://www.equi4.com/tclkit/, or in the case of Mac OS X, even better is Daniel Steffens' latest "Wishkit" [http://www.maths.mq.edu.au/~steffen/tcltk/TclTkAqua
- Wikit is way cool
25 Jul 2009 — for Wikis.
[Kevin Kenny] says, "The [Wiki] is cool. Embedding the Wiki into another [Starkit] is even
cooler, because it's a great way to provide lightweight documentation.
For an example, see
- Wikit Problems
03 Jan 2011 — such), you can italicize by starting a new line, since formatting codes are recognized per line, even though they end up concatenated into one, see [WOBBLE] for an example.
Brackets can be
- Wikit Reference Formatting
25 Jul 2009 — which makes the re-
# organized format much easier to generate and convert (<=> simpler
# code, which is even faster). (Not to mention the eviction of
# treating [, ], {, }, and \ as special characters. They are not
- WiKit under CGI
30 Apr 2012 — made my wrapper shell script wiki.cgi. apache lets cgis be called without the cgi extension, even though the actual cgi does have the .cgi extension. And since the slashes are used
- Wikit web Cancel button
07 Jan 2012 — if there is a conflict, in the wikit.kit that is available for download from [AKG]. Even better behaviour would be to warn the user that there is a name conflict (but
- Wiklet Test Page
27 Jun 2006 — it in a new window - the application is resizable if your browser permits this (most do, even though the Wiklet code that opens the window specifies resizable=no).
I had to remove
- William Duquette
16 Apr 2011 — macro/template processor
'''Observations'''
Quite some time ago now, I observed that [Scripted Documents Are Obscure], even if they are way cool. But by a miracle of timing, [jcw] anticipated my concern
- Windows 95
26 Oct 2010 — Richard Suchenwirth] 2007-10-11 - Successor to Windows 3.11. Even older (three years) than [Windows 98], but still going strong in some places, e.g. my ancient 200MHz 48MB box at
- Windows 98
21 Jun 2009 — act as if Windows 98 had suddenly become a totally useless OS. Quite a shame indeed.
Even worse, members of the [TCT] have expressed publicly their strong desire to discontinue support to
- Windows file finder
02 Nov 2008 — I'm only searching a flat text-based list, so it is fast. It would be even faster with an [SQLite] database (although the first query within a certain time span always
- Windows Helper Utilities
02 Nov 2008 — 01: has anyone actually tried this? It doesn't work for me. The script is not even run.
[JPT] 2003-12-02: I tried it under WinME and it worked ok... after
- Windows Mobile 2003 Smartphone
13 Jun 2010 — switch on a NUM LOCK flag and don't allow it to be switched off". Result: even Smartphone devices that have a QWERTY keyboard are restricted. Any keys on the QWERTY keyboard
- Windows wish console
07 Jan 2011 — anyway). To help this, Scriptics has added a console that takes over the standard channels (stderr even coming in red, stdin in blue).
The console is normally hidden, but can be brought
- winfo manager
18 Sep 2003 — such as [canvas]. [Toplevel] windows always return '''[wm]''' because they are managed by the [window manager] (even when withdrawn).
----
See also:
* [winfo]
* [geometry manager]
* [window manager]
* [wm]
* [grid]
* [pack]
* [place]
* [canvas]
* [text
- winico
10 Apr 2011 — system tray when I had a -callback set, the main window (.) was raised and given focus, even though I hadn't told it to be. Had a look in the source to
- Winserv
12 Mar 2010 — 014 (form feed) control character.
----
'''Remote installation issues'''
Winserv can manage the services remotely. You can even install a service
over the network, but there is something to remember:
* Use remote registry
- winutils
09 Jan 2012 — myfile
}
}
proc Launch {args} {
eval winutils::shell -v open $args
}
This makes use of associations and even does full URLs in the exact manner
and behavior of the "Run..." dialog off the
- WISH Checkbook
13 Apr 2010 — written in Tcl/Tk, requiring Tcl and Tk 8.5 (or greater, when there is an even greater version). Features include, among others, the following:
* Quick start-up of new accounts.
* Multiple
- WISH Command Center
14 Apr 2010 — written in Tcl/GTK+, requiring at least Tcl 8.5 (or greater, when there is an even greater version) and [gnocl]. Program listings can be easily added, edited, sorted, or deleted. Features
- WISH Superscriptorium
13 Apr 2010 — Polis's "Glossator." It requires Tcl and Tk 8.5 (or greater, when there is an even greater version). The main program window consists basically of three scrolling text widgets side by
- WISH User Help
14 Apr 2010 — into. WISH User Help requires Tcl and Tk 8.5 (or greater, when there is an even greater version).
To include WISH User Help in an application, do basically the following things
- wjk
05 Sep 2006 — a ''Liberal Arts'' person like me ever got into programming!
* Willing to contribute if I can; even if I do find querky oddball stuff or am incorrect - its just a learning process
- wm
21 Jul 2011 — manager] that window is transient for another window
* '''[wm withdraw]''' - make the window completely invisible, not even an icon. Also makes the window manager forget about the window.
**Rare subcommands**
* '''[wm client
- wm iconbitmap
22 Feb 2012 — Therefore, typing
wm iconbitmap . myicon.ico
(where myicon.ico can be either this relative name, or even a full pathname) results in Tk reading the file to determine whether it is an
- wm iconwindow
18 Jul 2008 — support the notion of an icon window.
----
This command is probably only useful on Unix, and even then not with all window managers.
----
'''wm iconwindow''' may not work immediately. [Joe English] wrote
- wm protocol
24 Oct 2010 — handlers are currently defined for ''window''.
Tk always defines a protocol handler for '''WM_DELETE_WINDOW''', even if you haven't asked for one with '''wm protocol'''. If a '''WM_DELETE_WINDOW
- wm transient
24 Oct 2010 — the window has been in a fully unmapped state. It's possible that you may not even notice that it's not fully transient. Just setting the transient flag before the window
- wm withdraw
15 Sep 2003 — to use something like:
wm geometry . 1x1+0+0
wm overrideredirect . 1
wm transient .
You can even send it out of the visible part of the screen, like
wm geometry . 1x1+3000
- Wolf Wejgaard
22 Apr 2008 — 2008-04-20: Tcl is great but its syntax hasn't become second nature to me even after four years of Tcl programming. I miss the simplicity of postfix notation, and have
- Word Chain
23 May 2011 — elms else emir emit emus ends envy eons
epee epic eras ergo ergs errs espy etch even ever eves evil ewer ewes exam
exec exes exit eyed face fact fade fads fags
- Word Search
20 May 2007 — COULD
THESE TWO MAY THEN DO FIRST ANY MY NOW SUCH LIKE OUR OVER MAN ME EVEN
MOST MADE AFTER ALSO DID MANY BEFORE MUST THROUGH BACK YEARS WHERE
MUCH YOUR WAY
- Word-Search
21 Jul 2008 — the program does the first search. Additional searches use the dictionary already in memory, and are even faster.
Enter the word characters in the "Search letters:" field. Multiple searches can be entered
- Working with binary data
13 Mar 2012 — cases such as this) to come up with a higher
level proc than this '''Cstruct_scan'''. Even though the above decodes the
binary data, it is still not quite in a natural
- World of Warcraft
20 Jan 2009 — web generation. You have a huge population that have already learned it for DHTML and Flash, (even photoshop!), so why not use it for games as well?
----
Many games and scripting go
- wrapping commands
25 Apr 2012 — argument is the name of the renamed command.
The ''map'' argument is a list with an even number of elements.
When broken into pairs, the first element should be replaced by
the
- Writing case insensitive procedures using unknown
25 Mar 2010 — found 0] {*}[lrange $args 1 end]
} else {
error "Command $cmd matched multiple command - [join $found]."
}
}
It even fits this wiki page as it still does it in case insensitive way
[AMG]: Probably
- writing readable, manageable, reusable Tk
09 Jan 2010 — non-trivial, I end up with a sprawling disaster that is a pain to modify or even understand six months later. As I'm sure other programmers have encountered this problem, I
- Writing simple CGI applications using vanilla Tcl
02 Mar 2012 — bad idea. In most languages, especially those better suited to [CGI], like [Perl] and [PHP] or even [Bash], commands do not return or output anything until you "print" or "echo" something explicitly
- WSDL
06 Jan 2012 — have been manageable with an under-10-call API like Google, but as you pointed out,
even that might prove to be a pain).
Another factor was the requirement to deploy the
- Wub
05 Apr 2012 — example domains are provided.
** Digression **
[RLH] Why does wub require 8.6 when it isn't even out yet?
<<br>>
[CMcC] because it depends on facilities which are only in 8.6
- wubwiki stream data
17 May 2011 — which makes the re-
# organized format much easier to generate and convert (<=> simpler
# code, which is even faster). (Not to mention the eviction of
# treating [, ], {, }, and \ as special characters. They are not
- WubWikit
18 Jan 2012 — somewhere without fast internet access - it was very useful to have this facility. A daily, or even weekly, database dump to Google would be much appreciated. Page histories could be omitted. BitTorrent
- WubWikit Problems
29 Nov 2007 — to attempt to fix the invalid utf-8, given the limited fonts I have here and even worse the limited knowledge I have of other languages. Would some of you multi-lingual
- WyattERP
02 Jul 2006 — WyattERP has released a set of tools created for the purpose of making it possible for even a small enterprise to develop its own fully-functioning [ERP] system. Your own IT people
- X server insecure: display manager running
09 Jul 2003 — message
X server insecure (must use xauth-style authorization)
from a Tk application such as ''wish'', even though you log in on a managed display, the most likely explanation is that you
- Xapian
06 Jul 2009 — a very nice search engine to be added to tclhttpd or rivet for example. Or maybe even as an additional search engine for the wiki?
[CMcC] if you use a [metakit] store
- Xector
10 Dec 2008 — fixed record structure. I suppose discussions like [Performance of Various Stack Implementations] are often possibly and even justified in computer science. A parallel implementation of tcl in some form at least would
- Xft support
12 Sep 2011 — X has been added to Tk, since the current un-AA rendering on X doesn't even appear to look at hinting instructions, and the result is messy blockly text, on 99
- XiRCON-II
27 Dec 2011 — PRIVMSG event that contains a CTCP in its entire trailing param, will fire a PRIVMSG anyway, even though it will be empty. It may seem silly at first, but the original '''raw
- XLEL
14 May 2008 — will be rounded to integers! Sure enough, the canvas stores item coordinates as floats ([double]s, even), and [Aqua] (or Quartz 2D [http://developer.apple.com/referencelibrary/GraphicsImaging/idxQuartz-date.html], if
- XML/tDOM encoding issues with the http package
27 May 2011 — and the fact that tdom is handing expat the utf-8
# string rep, this will work even though it doesn't look correct.
return [dom parse -baseurl [uriBase $uri] [stripXmlDecl $xml]]
}
proc
- XO
28 Dec 2010 — ago(refering to year 2002), began very much enjoying the scripting language, especially [Tcl]. [Tk] seems even better, however besides using [SpecTcl] building simple [GUI] interfaces for our Tcl scripts, honestly, don
- xocp
06 Sep 2011 — the respective standards from the e-learning world, these new packaging standards are in several respects even more restricted, i.e. less powerful.
***Generalizing the Content Packaging Aspect***
In general, content packages
- XOTcl
04 Nov 2011 — XOTcl works pretty good with other widget frameworks. I have used [Tix] and [BWidget] without problems. Even [ITk] is possible (but not tested be myself).
[WHD] ''23Apr2004'' Artur, I think you're
- XotclIDE
12 Feb 2012 — manuals on XOTclIDE I could find. So far I have failed to figure out how to even start editing my existing TCL scripts. Do you have an suggestions or an idiot's
- XOTclIdeWishes
10 Aug 2005 — Create Instance)
MH: These objects are not saved in db/source code.
ATK: In traditional languages (even OO Languages) it is quite easy to distinguish between source code objects (structures) and run
- XSLT
27 Oct 2011 — raw engine available, better even than any of the
commercial Java offerings.
----
[Neil Madden], aware of the existing XSLT implementations, is considering
wrapping ([Apache]'s) Xalan or even coding a subset of
- yao documentation
25 Aug 2008 — uses the namespace ::yao for object-related procedures, but an object is neither a proc nor even a variable in its own right, but just a tag like ::yao::dog::15 the
- Years, months, days, etc. between two dates
05 Nov 2007 — difftimes $t2 $t1] {
puts "$v $f"
}
----
[LV] difftimes arguments are position dependant. That is to say, even though
t1 and t2 in the example above are full dates - if you reverse the
- Yet another object system
20 Jan 2012 — hideous little plan of mine is to see if one can throw out all commands, namespaces (even files and packages, but that's another story...). So the alias is great in the
- yield
05 Apr 2011 — Which is not much longer, but ''is'' much less clear as to what value is flowing where. With longer bodies, it becomes even less clear.
----
**See Also**
* [tcl::unsupported]::[yieldm]
<<categories>> Command
- yieldTo
01 Dec 2010 — tcl-core regarding [[[yield]]], [[yieldTo]], and [[[yieldm]]]. I don't recall how it was resolved, or even if it was resolved at all. I advocating unifying these three commands into a single
- Zarutian's Thingy Package
06 Jan 2012 — 5, you can use [namespace unknown] to add different unknown
handlers to each namespace. You can even set up the global namespace handler to resolve relative to
the current namespace:
======
namespace eval
- zaurus
14 May 2010 — the US currently.
----
For SL-xx0 and 6000
There are many ROMs available all in English, even Russian, including a wholly X11 based one called pdaXrom. The Qtopia based ROMs can also
- Zero-Defect Software Development
07 Dec 2006 — and basically unpaged stack and heap(s) of a tcl executable on for instance windows, and even linux (hopefully not unix), lets say the core allocates a 1000 pieces or 99999 byte
- zevents
20 Jan 2012 — it does is essentially
change the name of "args" to "ar". This variable is then not even used in the body. I also imagine
that ''[interp] eval'' and ''[eval]'' behave the same
- zinc
25 Jul 2009 — support for [openGL] rendering''', giving access to features such as [antialias]ing, transparency, color gradients and even a new, openGL oriented, item type : triangles. In order to use the openGL features, you
- zip
17 Oct 2011 — to avoid adding an extra level of list nesting. (Single-argument [[lindex]] simply returns its argument, even if its argument isn't a valid list.)
======
interp alias "" zip "" zipWith {{args} {lindex $args
- Zipguy
15 Mar 2012 — Zipguy (to prevent loop... this is this page :) )
----
Some are expected to be here on Wiki, even though they are actually not, they appear in my bookmarks category of @Wiki. Some have
- zlib
11 Aug 2011 — will make archives handling now much easier. But perhaps could be possible to make its algorithms even better, to make it (if it's possible at all) quite independent from the available
- zlib - inflate in tcl
14 Nov 2009 — rather than a useful module.
[Lars H], 31 Oct 2005: I think it could be useful, even if only to improve backwards compatibility. You could have a tcllib package that goes:
1
- Zone Plate Test Image
24 Apr 2006 — notice:
#
#/* Copyright (C) 1978-1995 Ken Turkowski. <turk_at_computer.org>
# *
# *
# * All rights reserved.
# *
# * Warranty Information
# * Even though I have reviewed this software, I make no warranty
# * or representation, either express or
- Zorgan
10 Aug 2006 — in ASCII or HTML format in order to be viewed in any text editor, printed or even put on the web.
Available at: [http://www.naskita.com/linux/zorgan/zorgan.shtml]
[http
- {*}
25 Jan 2012 — text \$mytext -bd $border
eval exec \$prog $opts1 [getMoreopts] \$file1 \$file2
======
The [eval] version would be even more complex if the lists that are to be
expanded are not known to be
- {expand}
17 Apr 2011 — to be added to make this possible, but I do definitely see the uses for it (even though I've not used it myself, still being on 8.4). As far as
- Æjaks
20 Dec 2011 — Æjaks a ''batteries included'' distribution, that's why it's such a big file.
(There are even ''backup batteries'' yet to be utilized, waiting for a future release. :-)
The Æjaks website has