Sujet : Re: tablelist itemtodict
De : manfred (at) *nospam* antispam.at (Manfred Stelzhammer)
Groupes : comp.lang.tclDate : 10. Oct 2024, 16:32:59
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <ve8s3c$37160$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
Thank's for the answers
Manfred
Am 09.10.24 um 12:57 schrieb Ralf Fassel:
* nemethi <csaba.nemethi@t-online.de>
| > The itemtodict subcommand expects as its first argument an item
| > (i.e., a
| > list of elements), not an item index. To get and print the desired
| > dict, use
| > puts "itemtodict : [.tbl itemtodict [.tbl rowcget 0 -text]]"
| > or
| > puts "itemtodict : [.tbl itemtodict [.tbl get 0]]"
| >
>
| Oops, I have basically written the same as Ralf. It was not before
| posting my answer that I saw Ralf's one.
Always good to get confirmation from *the* boss himself ;-)
R'