Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: local arrays
- X-seq: zsh-users 2016
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxxxxxxx>
- Subject: Re: local arrays
- Date: Wed, 13 Jan 1999 08:15:07 -0800
- In-reply-to: <19990113101208.A6023@xxxxxxxx>
- References: <19990113101208.A6023@xxxxxxxx>
On Jan 13, 10:12am, Phil Pennock wrote:
} Subject: 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?
No, there isn't. This is even documented, poorly (a bit better in pws-4,
because it was part of my rewrite of the `typeset' documentation).
Why do you need to do this? The variable will assume array-ness upon the
first array assignment to it.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author