From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21557 invoked from network); 13 Jan 1999 10:15:15 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 13 Jan 1999 10:15:15 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id FAA27351; Wed, 13 Jan 1999 05:12:48 -0500 (EST) Resent-Date: Wed, 13 Jan 1999 05:12:41 -0500 (EST) Message-ID: <19990113101208.A6023@fysh.org> Date: Wed, 13 Jan 1999 10:12:08 +0000 From: Phil Pennock To: Zsh Users Subject: local arrays Mail-Followup-To: Zsh Users Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.2 Organisation: Organisation? Here? No, over there ----> X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine and mine alone. Such views do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. Resent-Message-ID: <"xEkjy.0.ug6.M67ds"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/2015 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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?