On Sun, Mar 9, 2008 at 5:25 AM, chromatic <[EMAIL PROTECTED]> wrote: > On Saturday 08 March 2008 18:22:56 Will Coleda wrote: > > > No. {a b} is a string with no interpolation done.
Well, yeah, it's a string - but with a whole library of functions that will treat it as a list. It's kind of like arguing that in Lisp, '(a b) isn't a list - it's just a pair of cons cells where the first one's cdr points to the second one. At least originally, Tcl had nothing but strings, and the use of braces as the equivalent of shell single quotes allowed for natural control structures: when you define a proc or a loop, you're just calling a command that takes as one of its arguments a block of code - as a string - that it then evaluates at the appropriate time(s). Of course, this wasn't necessarily great for performance. The modern C implementation does store numbers as actual numbers, but I don't know about blocks and lists and such. -- Mark J. Reed <[EMAIL PROTECTED]>