Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Associative Arrays
- X-seq: zsh-users 8082
- From: Nikolai Weibull <zsh-users-list@xxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Associative Arrays
- Date: Wed, 20 Oct 2004 21:53:48 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I'm have a few questions regarding associative arrays. What exactly is
the A flag for parameter expansion for? I mean, how does one use it,
and how does one use the AA flag?
Is there any way to pass an associative array as ONE argument to a
function and easily deal with it as the same associative array in the
other function? The easiest way seems to be the "pass-by-reference"
technique, where one simply passes the name of the array and then use
the P flag to deal with it.
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author