zsh-users
 help / color / mirror / code / Atom feed
* Keying arrays to names: is there an array of arrays?
@ 2006-05-26 14:20 Johann 'Myrkraverk' Oskarsson
  2006-05-26 15:26 ` Marc Chantreux
  0 siblings, 1 reply; 9+ messages in thread
From: Johann 'Myrkraverk' Oskarsson @ 2006-05-26 14:20 UTC (permalink / raw)
  To: zsh-users

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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-05-28 21:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-26 14:20 Keying arrays to names: is there an array of arrays? Johann 'Myrkraverk' Oskarsson
2006-05-26 15:26 ` Marc Chantreux
2006-05-26 15:40   ` Peter Stephenson
2006-05-26 15:58     ` Peter Stephenson
2006-05-27 19:09     ` Johann 'Myrkraverk' Oskarsson
2006-05-27 22:10       ` Bart Schaefer
2006-05-28  2:34         ` Johann 'Myrkraverk' Oskarsson
2006-05-28 18:17           ` Bart Schaefer
2006-05-28 21:32             ` Johann 'Myrkraverk' Oskarsson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).