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

Keying arrays to names: is there an array of arrays?



Hi,

First, I'd like to thank the zsh developers for a wonderful shell.

Second, I'd like to ask if it's possible to key an array to a name?

I tried to create an associative array and assign it a key + regular
array, but that doesn't seem to work.

That is:

  typeset -A array
  array[key]=(lots of values here)

doesn't work.

Is there some other way I can use to achive the same thing?


Johann

-- 
johann myrkraverk com (you know the drill with the @ and .)
I classify Outlook mail as spam, use something else.



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