Re: empty element in 'structure'.
Ray Andrews <[email protected]> Thu, 14 May 2026 11:51:37 -0700
| Newsgroups | gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------BPmPHcbBM20GyPH2vnqvQ5QV
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
You can't use an array as a value in an associative array if
that's what you were trying to do. The above just sets the
element "mouse_clicks" to the literal string "Bclick" or "()".
Bclick is the name of the array to be accessed. I forgot how it worked.
Some of your code seems to be unable to deal with empty strings,
possibly because of a missing "q" flag when expanding array
elements?
Right about '(q)', thanks.
Pardon gentlemen, I forgot that it's an associative array, thus the
string is exactly what's wanted. I haven't looked at that code for a
few years and forgot how it works. I left myself a rude comment in the
code, so I won't forget again.
--------------BPmPHcbBM20GyPH2vnqvQ5QV
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<pre wrap="" class="moz-quote-pre">You can't use an array as a value in an associative array if
that's what you were trying to do. The above just sets the
element "mouse_clicks" to the literal string "Bclick" or "()".
Bclick is the name of the array to be accessed. I forgot how it worked.
Some of your code seems to be unable to deal with empty strings,
possibly because of a missing "q" flag when expanding array
elements?</pre>
<font face="DejaVu Sans">Right about '(q)', thanks.<br>
<br>
Pardon gentlemen, I forgot that it's an associative array, thus
the string is exactly what's wanted. I haven't looked at that
code for a few years and forgot how it works. I left myself a
rude comment in the code, so I won't forget again.<br>
<br>
</font><br>
</body>
</html>
--------------BPmPHcbBM20GyPH2vnqvQ5QV--