Talk:Tcl Programming/Introduction

"Tcl was created in 1988 by John Ousterhout and is distributed under a BSD style license (which allows you everything GPL does, plus commercial use). The current stable version, in September 2006, is 8.4.14, while the alpha of its successor is 8.5a5." -- the GPL lets you use it for commercial purposes but must stay under the GPL 172.135.73.10 01:23, 25 August 2007 (UTC)

This has since been rewritten to be more precise. Suchenwi (discuss • contribs) 09:03, 25 November 2012 (UTC)

wikimedia have a source highlighting extention
shall use it?! --Hoxel 14:47, 15 November 2007 (UTC)

I think this coloring scheme is, like many others, butt ugly; and it seems to suggest semantic differences between words that mostly are not really there. Unlike other languages with reserved words and restrained syntax, Tcl is very relaxed here, e.g. in the command set set set the first word is the command name, the second a variable name, the third a string constant (well, all three are string constants after all). A syntax colorizer might know that due to hard-learned knowledge, but it'll then fail on user-defined commands, for which of course the same liberty holds.

When I do coloring in Tcl editors, I refrain myself to painting the top line of proc's blue, and comments in red... but mostly I'm happy enough with just black on white all the way. And this is a Wiki*book*, isn't it? Suchenwi 21:23, 15 November 2007 (UTC)

Error in section "Quick summary"
In the mentioned section of this page, it says: "In quoted words, substitutions can occur before the command is called: $[A-Za-z0-9_]+ substitutes the value of the given variable." If I understand this sentence right, it says that variable names must be composed of alphanumerical characters or underscore. This is wrong: Tcl does not know such limitations! A variable name can contain any character: % set :-) foobar foobar % puts ${:-)} foobar %

Thanks for pointing that out - I have clarified it with another example. Suchenwi (discuss • contribs) 09:03, 25 November 2012 (UTC)

Not Objective.
No References.

Answers it's own header Titles with things such as 'Good Question.'