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

local arrays



Is there a way in zsh-3.0.5 (or zsh-3.1.x) to use one command to declare
a variable to be both local and an array?

I can do
 local foo; set -A foo a b c
which does create a local array, but can't see a way to do this
manually.  And since there's no typeset for it ...

Thanks
-- 
--> Phil Pennock ; GAT d- s+:+ a23 C++(++++) UL++++/I+++/S+++/H+ P++@ L+++
E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+
G+ e+ h* r y?



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