Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
local arrays
- X-seq: zsh-users 2015
- From: Phil Pennock <comet@xxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxxxxxxx>
- Subject: local arrays
- Date: Wed, 13 Jan 1999 10:12:08 +0000
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxxxxxxxxxx>
- Organisation: Organisation? Here? No, over there ---->
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