Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ralf Fassel Newsgroups: comp.lang.tcl Subject: Re: tablelist itemtodict Date: Tue, 08 Oct 2024 18:50:06 +0200 Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain X-Trace: individual.net MGWFqzA3vgrICVLs1MoRMQzudUk5k32g4zWG4DRFPOXrumITo= Cancel-Lock: sha1:5YhKDGy/zc23K7/MXIXZdbQjHc8= sha1:8wLI8LwcV/9KJcg7mwpDUTS5fqo= sha256:mJUuaUoVdB4AxHshOr90HXOF0coW8w3/DfI8AlfKlko= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Bytes: 1525 * Manfred Stelzhammer | puts "itemtodict : [.tbl itemtodict 0]" > | the puts command show me: % itemtodict : col0 0 col1 {} col2 {} col3 {} > | I expected that I get "col0 nix0 col1 5 col2 p-4 col3 o0". > | I'll get all values from a row with columnname like a dict. > | What do I wrong or I don't understand? If I understand the 'itemtodict' command correctly, it will not return the values of the *table*, but from the *item* you passed to it. https://www.nemethi.de/tablelist/tablelistWidget.html#itemtodict [...] The dictionary's keys will be column numbers or names, and the values will be the corresponding elements of the given item. [...] Since the only value in the item is '0', you get empty strings for the rest. HTH R'