Updated 2016-10-21 13:06:29 by beware

How to post on this page  edit

Please do not edit this part, it is meant as a guide!

Page contents

This page runs the risk of being deleted and corrupted. Please be very careful when editing it. If you inadvertently delete it, immediately revert your edit using the History link on the left side of this page.

Do NOT attempt to restore it by copying and pasting the text from a previous revision, or all page formatting will be lost!

Please put new questions at the TOP of the page, below this section, so that as the page grows longer, new questions are seen first.

Also please put a section header on top of every question and put two stars in the beginning of the title and two stars in the end. This will make your question's section easily editable.

Once you have received a satisfactory answer, please cut your question and answer directly on an appropriate page of the wiki. If you cannot find an existing page, create a new one.

You might also simply want to put a hyperlink leading to a page of the wiki where your question is included like Didier has done on February 5th 2011. This will save you the trouble of cutting your question to an existing page afterwards.

Put your question below. Thanks!

Questions  edit

new question

[Who] 2016-02-13: to create a new question, just copy and edit this section

Formatting Label

Beware 2016-10-21: I'm looking for a quick way to add bold/italic options to a label. I can't see anything already created on the wiki. using an HTML widget seems a little overkill. Any ideas?

--If the text doesn't have to change, how about using an image? Beware The text is configurable by the user...

MG Do you want all the text in bold/italic, or just some? If you want all, it's just a matter of configuring the -font option ($label config -font [list Arial 12 "bold italic"]). (For ::ttk::labels, it's a bit trickier, as they're not very user-friendly to get from the default.) If you just want to format specific words/parts of the label.. that's not so easy, and you might need to use multiple labels or a text widget pretending to be a label, or something like that.

Beware I want some sort of mini markup so certain words can be bold/italic. I'll leave it for version 2 of the script and probably switch to text. Thanks.

MG 2016-10-08 - A few people have reported getting an error message on my bundled Tcl app saying, 'You can’t use this version of the application "XXX" with this version of macOS' after a recent OS update was released. I don't have a Mac myself (the bundle was put together for me by someone else) so can't test things. Does anyone know the cause/solution? Thanks.

gold2016-06-01. cancel following, found my answer on busted computer,2016-06-03r. Did somebody happen to save an old (~~2014) copy of Sumerian Coefficients in the Pottery Factory and Calculator Demo Example on their backup drive or distribution cd-tape. Some of my offline images and my ACER laptop died but I was able to replot some on my home computer. I was unable to grab the images with the many archaic kiln styles and the double chamber kiln. Is there someway to grab an html copy on the wayback machine? thanks.

Picture loading

gold1may2016, can someone load jpg TkReverse screen into TkReverse TkReverse? getting spam alerts.thanks

Multiple windows

[Cockneyjock] 2016-04-12:
Hi again.
I need to create a GUI with several windows. I have searched and Googled but cannot get a definitive answer.
Do I ...
(a) create all of the Toplevels in one file? It would be huge!
(b) Create separate files for each Toplevel (preferable) and, if so, how do I open the different windows?
(c) Create separate 'programs' and somehow 'launch' them on a button press?
(d) Give up the whole idea and go out and cut the grass ;o)

Each window will probably call a dialog or a sub-window

Any advice and/or sample scripts would be more than welcome.


bll 2016-4-12
(b) You can do: source fileB.tcl for each file. You would have to be very careful with your variable names and namespaces.
(c) This works fine. exec fileC.tcl to launch. I use this method and sockets to communicate between the processes.
(d) Always works. You can use multiple windows to look at the grass.

[Cockneyjock] 2016-04-26:
Hi bll,
Sorry for the delay but I have been involved in some urgent Basic programming but I'm still keen to learn Tcl :o)
On the serious side (there's not much grass here in spain) (c) seems to be the best solution for me. If I 'exec' another file will the first script wait for the other script to finish or can I just close file 1 before opening file 2? You can do it both ways in Realbasic.
Thanks for the help

AMG: [exec] is an awfully big hammer to drive in this thumbtack of a problem. You say your desire is to divide a large program into multiple files. That's what [source] is for. Just remember that (by default) everything will live in the same namespace and interpreter, so take care that the names don't collide. If that is a problem, Tcl supports multiple namespaces per interpreter and multiple interpreters per process.

If you use [exec], you'll have your multiple files (good), but you'll also have multiple processes which means needing to take on the challenge of interprocess communication.

bll 2016-4-26: You'll have to tell us more about what you are doing. If your different toplevels are independent programs and don't need to communicate with each other, then [exec] is fine. Otherwise you will want to look into [namespace] and [source] or [package] in order to split up your code. As AMG says, managing multiple processes and the intercommunication can add a lot of overhead.

exec will wait for the other script to finish.

[Cockneyjock] 2016-04-28:
Hi guys.
The only thing that my program will need to share amongst windows is the client ID. Each window will perform a different task on the client record or a task not specifically related to the client but is, for example, an accounting task.

I have been looking at the examples provided by GRIDPLUS and this seems to solve the need for many of the individual windows by using notebook pages for add and edit etc.,

It seems to me that I can write the ClientID to a database or .ini file and transfer it between source files; so I will work towards that method.

As always, thanks very much for the responses. I am supposed to be 'retired to the Sun' but I am busier than ever;o)

The problem is that over the years my brain has filled up and there is not much space left in the memory banks for all this new data.



gold 1may2016. Possibly, multiple frames for separate program screens could solve your problem, as opposed to multiple windows. The kingdom Game kingdom of strategy and other calc demos have multiple frames for separate tasks (eg. display canvas, list of buttons, text entry, and report text in separate frames). 4 or 5 frames could display 4 or 5 canvases for many separate programs. I think the multiple frames could incorporate separate source tcl files as necessary, to make things more complicated enough.

Am I an idiot??

[Cockneyjock] 2016-03-12:
I have read all the online tutorials and still can't get my head round how to compile the tcl and td sources.
My latest attempt on Windows 7 involved downloading the XP virtual PC and creating a new VS6 install thereon.
Whether I use the makefile.vc or the dsw in VC6 it still gives me errors which I don't understand. Can anyone point me to an idoits guide
or a walkthrough so that I can see where I am going wrong ... and yes, I have set up the environment.
Any help will be greatly appreciated. CJ.

MG Any particular reason you need to compile it yourself, instead of downloading ActiveTcl or a TclKit to use?
[Cockneyjock] 2016-03-13:Hi MG, I have an existing program that is written in a version of Basic and I want to convert it to cross-platform.
Tcl has been suggested and I have 'played' with ActiveTcl. However, my program runs stand-alone from an SD card and so I will have to 'wrap' the
script to get an executable. I don't think I can do that with ActiveTcl. I am not sure what TclKit does - I'll investigate later but am out today
to the Reus (Spain) classic car show. I just wish I could afford to buy one ;o) CJ

MG Ahh, I see. There's actually no need to compile Tcl yourself for that. There are a couple of ways you could go:

  • Just put your Tcl script on the SD card, and rely on the host having a copy of Tcl that you can use to run the script.
  • Put a TclKit or ActiveTcl basekit on the SD card for each platform you want to run on, along with your Tcl script, and run the script with the appropriate executable on each platform
  • Or, if you don't want to include the raw Tcl script on the SD card, make a Starpack, which is basically a Tcl runtime executable and your Tcl script bundled into a single file. You don't need to compile Tcl yourself, just use the sdx tool to bundle them together. See How to create my first Starpack.

TclKits and basekits are just pre-compiled, single-file runtimes which can be used either as stand-alone Tcl interpreters or for creating Starpacks. Some just include Tcl or Tcl/Tk, and some are compiled with other extensions included.

[Cockneyjock] 2016-03-13: Thanks for that MG, I'll have a play with the options to see what is best for me

Is there a pre-compiled kit that includes the SQLite library. My program is a bespoke appointments system and uses a lot of database access.

By the way, the car show was good and certainly worth a visit.

MG I'm not sure, off the top of my head, but the basekits page lists a few different builds and the extensions built into them. However, you can bundle the extension inside your starpack (the same way you include your Tcl script), and Tcl can load it from there, so it shouldn't be a problem if there isn't.

[Cockneyjock] 2016-03-14:
Thanks MG, I was working through some other web pages last evening and saw a way to bundle the sqlite into the Starpack. It looks like the way to go
All I have to do now is get my head round the geometry and re-design the pages. Don't we have fun!
Once again, many thanks for the advice.

snack compilation Problem

nscerqueira 2016-03-05: see snack compilation Problem

problems with openbox

[tomwildturkeyranchnet] 2016-02-29: In a quest for a simpler window manager I (up?)dated to 'openbox'.
The issue I am having is with buttons with bitmaps being rendered as a black blob.
This only happens when either pack or grid expands the button to fill the space.
It also seems to be dependent on the colors (and seems to some how redefine what given colors refer to).
Aside from preventing expansion by pack or grid, is there another way to fix this?
(For an example of this see filerunner on sourceforge)

AMG: I'm not aware of Openbox having any connection to Tcl or Tk. Why are you asking your question here?

EMJ 20160301 : but filerunner is a Tcl/Tk application. I have fetched the OP's version and it starts and looks OK with twm as the window manager (that's what I use and I don't have any others installed). Tried in any other window managers?

Multiple levels of variable substitution?

[B-Unit] 2016-02-24: Is there a way to perform variable substitution on a variable whose name is itself specified by variable substitution?
For instance, if I make a list and then name it using "${x}list", is there a way to get at the items in that list without having to type out the value of x manually? Basically, $(${x}list)), except that doesn't actually work.

HJG You found how do i do $$var - double dereferencing a variable, deref and array get/array names ?

Alternative bindings for buttons

HJG 2016-02-23: I want a button that does different things on left/middle/right-click, or when pressed with shift or control.

The manual on buttons mentions that it is possible to change the default-bindings, but gives no example.
Has this been done yet ?

APN Just use the standard bind command like for any other widget.
bind .b <Shift-Button-1> YOUR-SCRIPT

HJG Thanks!

Missing Category "Tcl syntax help"

for example, in source and string totitle.

rename wiki-pages

HJG 2016-02-19: Is is it possible to rename wiki-pages, without loss of history ?

I would like to rename String Manipualtion Functions --> [String Manipulation Functions].

Spam detected on user-page / false positive

HJG 2016-01-27: I edited a section of my userpage on this wiki today, and got this message:
  Edit/Upload of type 'text/x-wikit' on page 14271 - HaJo Gurt
  Your changes have NOT been saved because they are considered SPAM.

I'm pretty sure there is no spam on my page. So, what triggered that message ?
Also, doing the same edit on the whole page was accepted without error when saving.

The page has a lot of links, but mostly to pages within this wiki. So I guess the heuristic to detect spam is way off...

PYK 2016-01-31: Efforts to counter the current spam attack are ongoing. Your report will make it to the right people. Stay tuned.

stevel 2016-02-01: I've tweaked the filter, your home page should be OK from now on.

HJG 2016-02-02: The problem is still present - see my latest changes to section "Demos & Placeholders", which has only internal links.

stevel 2016-02-02: I won't go into the details of how the spam mitigation works (because I don't want to alert the spammers) however lots of empty links in a page can trigger a false positive. Please send me a copy of the rejected page text via email and I'll tweak the filter again. I apologise for the inconvenience, we'd rather not have false positives but we certainly don't want the spam.

HJG Here is an easy testcase:
edit section Bughunting, with one existing line, with link to existing page, adding "the": rev 69-->70 is considered spam.
Doing that edit on the whole page is accepted. Do you really want that via eMail ?

Another easy testcase: edit section Test, one link to existing page in this wiki, rev 72-->73 is considered spam.
The previous content, with the link to my own page, was accepted.

Regarding the current wave of "Call Us"-spam today, with no links in their text, from [email protected] :
  Edit summary
   , Wed Dec 31 19:00:00 EST 1969, New page

The creation-date for that page looks quite wrong.

Also, the IP-addresses shown are wrong too. This has been going for some weeks now.

HJG 2016-02-10 .. 2016-02-19: The problem persists - see database configure (only one internal link).

How do i get the parent directory if the path containing . or .. without expanding symlinks?

AMG: Question moved to [1] - file normalize.

tkImg serious bug under Aero and workaround (seems to be solved with the tkImg Build 1.4.5

MiR: 2016-04-18: Got a message from SF Buftracking, the Aero bug in tkImg seems to be solved with the 1.4.5 release of tkImg. Tested my application and it runs like a charm. Hurray!

MiR: 2015-12-25

I ran into a well known bug of Img in conjunction with Aero/WindowVista and above. (https://sourceforge.net/p/tkimg/bugs/67/ reported already in 2010)

I was even able to reproduce this under WINE and there it was consistent in all Windows versions, so maybe Aero is not the only reason for the glitch. Since this bug makes it impossible to export a canvas to an image I'm looking for a workaround, since I try to use the script on both OS. My prog is losely based on http://wiki.tcl.tk/15611 an I try to save the content to a JPG file. Any thoughts on this? Any help is appreciated, since I don't really want to go the route via postscript.

Update to TK spinbox ?

[mocallins] 2015-11-22:

Add a configuration option to place the up/down buttons, on the other side, of the entry box. And/or even place the buttonup, on top of the entry box, and the buttondown, on the bottom.

Inspecting a pixel within a canvas

[IanMacUK] 2015-11-01:

I was attempting to be clever and use the shapes provied by canvas in tk to construct a mask which I could then inspect thus saving me writing a load of code to fill rectangles and closed polygons.

Below is some very simplified code.
# so I create a window with a shape on it which has been filled
toplevel .mask
wm title .mask "Geology mask"
set mask2 [canvas .mask.c -width 1023 -height 253]
.mask.c create rect 30 10 120 80 -outline #fb0 -fill #fb0
pack .mask.c

# what I wish to do now is inspect each pixel of the window .mask.c and see if it has the colour #fb0 
# if it does I want to manipulate an image which I have also loaded into another window.
# I can easily access each bit of the image and modify as if required.

set fn "Overview_swath_1.v3.rc.png"
image create photo myPng -file $fn -palette 255/255/255
toplevel .png
wm title .png  "Overview swath 1"
pack [label .png.l -image myPng ]

set x 2
set y 2
set pix [myPng get $y $x]

So how do I inspect my canvas pixel in a similar manner?

With thanks in advance.

aspect 2015-11-02: the best way I know is by making an image from the canvas contents and querying that for pixel values:
update  ;# the the canvas has to be mapped + rendered first
image create photo canimg -format window -data .mask.c
puts [canimg get $y $x]

This may not play too well if the canvas is partially obscured -- something from here might point towards a solution if that is the case. I'd also like to mention CRIMP if you find pixel-by-pixel operations from Tcl too slow, and can use a binary extension in your application.

HJG 2016-01-27: See also Get the color of the pixel under the pointer.

In Windows platform when i click on dialog box Icon on taskbar is not supported to open, but it works fine in UNIX .

[Kalavathi] 2015-10-08: I am facing the issue both using "transient option with wm command" and grab command. To reproduce the issue i will send some code
toplevel .child
frame .child.frame
button .child.frame.button -text "child" -command "destroy .child"
pack .child.frame.button
pack .child.frame

toplevel .parent
frame .parent.frame
button .parent.frame.button -text "parent" -command "destroy .parent"
pack .parent.frame.button
pack .parent.frame

wm transient .child .parent
grab .child
wm withdraw .

When i execute above code , two windows opened child and parent.To minimize this windows i have used keybord shortcut "windows+d". To open this windows when i try to click icon on taskbar, i am not able to open. To open this window, i have to select "Bring to Front" related menu in Windows Task Manager.

can you give me the solution by using transient and grab features to the child and parent windows.

ffidl - problems with char parameter

[Boltar] 2015-09-07: I'm using ffidl the first time and have a little problem with char arrays. Example C function declaration:
long myVersion (char Versioninfo[257])

Where Versioninfo is an out parameter.

My first ffidl approach:
package require Ffidl
set DLL some.dll
ffidl::callout _MyVersion {char} long [ffidl::symbol $DLL MyVersion] stdcall

set szMyVersion        [binary format [::ffidl::info format char]257 [lrepeat 257 0x00]]
set result [_MyVersion $szMyVersion]

But this does not work. The ErrMsg tells me, that the function expects an integer.

So I changed the callout to a pointer.
package require Ffidl
set DLL some.dll
ffidl::callout _MyVersion {pointer-utf8} long [ffidl::symbol $DLL MyVersion] stdcall

set szMyVersion        [binary format [::ffidl::info format char]257 [lrepeat 257 0x00]]
set result [_MyVersion szMyVersion]
binary scan $szMyVersion a* szMyVersion

This time the function does not run into an error and also returns 'OK', but the variable szMyVersion is still filled with 257 0x00. I tried different pointers (pointer-var, pointer-obj etc.), but I'm not able to read the version string.

I guess, that I'm not seeing the woods for the trees. Additionally, what would be the right way for using the above mentioned parameter as an in/out parameter (an other function is defined like this)

Thanks in advance.

different behavior when serial port connection is scripted

[tnteverett] 2015-08-06: When I connect to a serial port manually, then power on the device, then wait for characters to appear, I can type a few carriage returns to make the connection detect the baud rate and start sending and receiving characters. When I script this sequence, it appears that I cannot duplicate the autobaud by sending carriage returns when I detect the first few characters on the serial port. Has anyone ever run across this issue or have any suggestions on how I can debug the failure?

AMG: Just a guess, but maybe your script isn't entering the event loop. I dunno. Can you post some sample code?

LWS: My guesses are (a) your script is running faster than human interaction, giving the stream less time to synchronize. Who/what is doing the baudrate detection? Try using the after command to insert a delay to simulate human-like interaction. (b) Depending on how you constructed the string you are sending out (with the carriage returns), you may need to use flush on the stream.

Send a get request to google.com using http please help

[sam] 2015-08-5:

I have a question. I am trying to send a get request to google.com using tcl. How would I do this?

MG There are a number of ways. The simplest is probably to use the http package; documentation and an example are here. TclCurl would be another possible way.

tk - copy/paste vs. disabled

[Wurzelsepp]: in old versions of Tk, one could disable an entry (or text) after inserting data, but still copy/paste from these fields. Is there a way to achieve to allow copying with current tk version?

aspect: I don't know about the old Tk behaviour, but read-only text widget has some examples - I like the snit rotext version linked from there.

MG Use $widget -state readonly

[Wurzelsepp]: thanks a lot, I have changed all my entries to -state readonly (if running on a new interpreter), and things look fine

Beginner needs help with writing a script

[wizzleteats]: I'm just a beginner in TCL creating some of my first scripts. I'm not a programmer. I have the script (example below) to create new IDTL lines in a Genband switch. It works great but only if I start at 1 and increment by 1 from there, 220 in the example below. I want to be able to start at a higher number, let's say 1101 and increment by 1 up to 1200. Does anyone have any idea how to do that? I can't seem to figure it out.
source /generic/scripts/libsource.tcl
libsource_source libstd.tcl

say "Building your new IDTLs now.  Please Stand By..."

while {1} {
   ovly cpk
   for {set i 1} {$i < 220} {incr i} {
      cmd "new idtl plsd ide 1 $i spl"
   cmd "****"

Siqsuruq - 2015-06-29 16:07:42

[try this:]
source /generic/scripts/libsource.tcl
libsource_source libstd.tcl

say "Building your new IDTLs now.  Please Stand By..."

while {1} {
   ovly cpk
   for {set i 1101} {$i < 1200} {incr i} {
      cmd "new idtl plsd ide 1 $i spl"
   cmd "****"

Rendering of link-names for links to archive.org

HJG 2015-06-19: There is a problem with links that have an embedded "http", such as those you get from the waybackmachine:

It would be nice if someone could look into repairing the rendering of version 'C2' above.

AMG: I tried to file an issue report at https://code.google.com/p/wikitcl/issues/list but the database is currently read-only [3]. Here's the text so I can paste it later when (if?) Google Code is back online.
The Wiki text:

https://web.archive.org/web/20150530232011/http://www.graphviz.org/%|%link name%|%

renders as:

https://web.archive.org/web/20150530232011/link name%|%

The text "https://web.archive.org/web/20150530232011/" is a link to same.  The text "link" is a link to "http://www.graphviz.org/".

Reported by HJG.  See http://wiki.tcl.tk/_/revision?N=37862&V=40#pagetoc232136cb for more information.

HJG 2015-06-21: The same type of problem shows up when the link-name contains links, such as

Why are we still using Google Code?

AMG: Google Code is being retired, and we MUST move elsewhere [4] within the year.

HJG 2016-01-27: has this problem with Google-Code been taken care of yet ?

Table of Contents in historical wiki pages

AMG: (Posting here since I can't post to the Google Code issues list. To be moved later, I hope.)

When looking at historical revisions of a wiki page, e.g. [5], the Table of Contents is not emitted. This makes it hard to produce links to sections of historical pages. The requisite id attributes tags are emitted, so such links work, but they have to be made by hand. This can only be done if the current version of the page has section titles with the same name so the proper anchor checksum is produced.

What are we doing with issues, anyway?

AMG: For the past few years, there doesn't seem to have been been any activity addressing issues on the issues list [6]. Is anyone maintaining the wiki code?

Broken images

HJG 2015-05-20: There are a lot of wiki-pages with broken images,
because external links have expired (many of them from user gold). Does the wiki have a way to check for this, and make a list ?

gold1may2016,Thanks for your help in restoring offsite images. I'm going to cut many of my references to offsite images. Can't easily retrieve some images and not sure images add that much. I'll restore my offsites into onsite WIKI storage, what I can. Would like some posted (approved consensus) specifications or suggestions of image type (png or gif) and usefull byte size on the how_to page. Since have seen arguments on use of jpegs and fuzzies on TCL WIKI. There are some search key words that will pull the older images.

Preferred Online-Interpreter

MiHa 2015-05-17: I made a page about Online-IDEs / interpreters with Tcl-support,
and would like feedback and recommandations, such as

  • What else are out there, what are their advantages / disadvantages, etc.?
  • Lua has its own Live demo, but Tcl doesn't have such a thing ? Why ?

Date for announcements on startpage of wiki

MiHa 2015-05-05: Why is there no date on news-items like "Tcl/Tk 8.6.4 Released" ?

[Shikiria] - 2015-04-28 02:18:52 - wm maxsize

I have made a little GUI and its max size is -800 -400.
wm maxsize . 800 400

Now when I maximize my little window it jumps to the top left hand corner. Is there a way for me to make it maximize on the spot?

With the window maximized and it's sitting on the top left hand corner, if I try to grab the title bar and move it to the center, the window immediately minimizes again.

Is there a way to prevent that?

Thanks for the help guys.

Warm regards Shikiria

arjen: The purpose of wm maxsize is to restrict the size of the window. From your description I read that you want it to fill the screen anyway.

In that case, just drop wm maxsize, in which case Tcl/Tk calculates the size of the window itself. You can be quite lazy in that respect.

Wiki - Links to questions

MiHa 2015-04-27:

At the top of Ask, and it shall be given # 8, there is the statement

"Please add hyperlinks leading to your question at the top of this page".

Isn't that the job of "<<TOC>>" ?

Wiki - Section edit

MiHa 2015-04-25:

This wiki shows edit-links only for sections of level 1 (header enclosed in **). Can this be controlled somehow ? For example, in these "Ask"-pages, it would be nice to be able to only edit the section of a single question (that is, a level 2-section).

PYK 2015-05-17: This is one reason I keep the pages I've edited mostly flat, rarely going beyond the ** header level. Sometimes I think it's a good thing that it isn't easier to use multiple layers of headings, because it encourages keeping each page smaller and moving sections off into their own pages. In general, I think keeping each wiki page smaller and more dedicated to a particular issue is good style.

String-to-integer / values from clock

MiHa 2015-03-15 : This problem came up when writing FuzzyClock, converting values from clock seconds to integer.

What is the preferred way to convert the string-values for hours, minutes or seconds to integers ?
There are several "obvious ways" to do it, such as

  • incr mm; incr mm -1;
  • set x [expr {$mm}]
  • format %u $mm
  • and more, see expr problems with int.
  • All those work "most of the time", but give a surprising error for some values, e.g. "08" and "09".

For FuzzyClock, I wrote a proc s2i, that just special-cases these values, but there should be some better way.

RLE (2015-05-19): Use the scan command:
  % scan "2015-09-08 07:06:05" "%d-%d-%d %d:%d:%d" y mo d h m s
  % foreach var {y mo d h m s} { puts "$var=[set $var]" }

MiHa: That is a neat solution, thanks !

Image placement / TOC

MiHa 2015-03-14 : I think it would be nice to have a picture on the right side of a <<TOC>>, where the space is mostly unused. I tried that on the Graffiti-page, but it doesn't come out that way.

Using a table doesn't help in this case, because it appears that <<TOC>> only works when standing alone on a line.
What are the options for placing images here on the wiki ?

Edit very first section of a page

MiHa 2015-03-14 : The **first section** gets number 0, so how can you edit the top section only, of a (possibly very long) page ?

AMG: When you originally make the page, start it with a **whatever** section header, saying "overview" or some such. It's not ideal, I know, but it's what we have right now.

LAM 2015-01-19 02:36:03

«Once you have received a satisfactory answer, please cut your question and answer directly on an appropriate page of the wiki. If you cannot find an existing page, create a new one.»

Sorry but i think is better avoid this kind of pages of miscellaneous. If the people cut the questions after receiving an answer, why are these pages are full of questions ? (isn´t for lack of anwsers, sure).

[BW] 2015-01-20 02:36:03:

It is because we, ticklish world Tclers are not as disciplined as Ticklish Argentinian Tecklers! :-) We don't put the paragraph in the right spot when the paragraph is complete. If we did so, this page would serve its purpose: to be a temporary repository of questions and answers. Oh well!


MiR - 2015-02-25:

I'm working with jEdit mainly. Is there something like a codefolding sidekick for Tcl (as for other languages like php, where I can see the functions in the sidebar)? I've been searching for a time now and can't find any... thanks for your help, Michael

RLE 2015-02-25: I've heard it said that the Geany editor will display Tcl procs in the sidebar.