Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Keying arrays to names: is there an array of arrays?
- X-seq: zsh-users 10312
- From: "Johann 'Myrkraverk' Oskarsson" <johann@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Keying arrays to names: is there an array of arrays?
- Date: Fri, 26 May 2006 14:20:52 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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