"Bryan Oakley" <oakley@bardo.clearlight.com> wrote in message
news:Jsnmf.29112$7h7.8820@newssvr21.news.prodigy.com...
> Andre Arpin wrote:
>> "Bryan Oakley" <oakley@bardo.clearlight.com> wrote in message
>> news:ZLjmf.29063$7h7.1250@newssvr21.news.prodigy.com...
>>
>>>Andre Arpin wrote:
>>>
>>>>why is
>>>>
>>>> .listBox insert end [.listBox get 0 end]
>>>>
>>>>not appending all the lines in the list box to itself and is there a way
>>>>to do this?
>>>
>>>does "eval .listBox insert end [.listBox get 0 end]" do what you expect?
>>
>>
>> Yes it works. So the question is why... I just started to program in TCL,
>> it is really fun, but the
>> this is beyond my comprehension.
...........remove long and helpful answer
>
>
> Did I clear it up, or make you more confused?
>
It did both I must admit. Thank you for giving such a detail explanation.
Eval is not normally that evil in other environment but always has to be
handle with care
since it often can reach into different scopes. I will re-read the
documentation.
I find expand a most natural expansion and I am surprise it is only part of
version 8.5 (which I am using).
Thanks again
Andre
Received on Sun Dec 11 13:54:48 2005