Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: empty element in 'structure'.



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.




Messages sorted by: Reverse Date, Date, Thread, Author