zsh-users
 help / color / mirror / code / Atom feed
* Associative Arrays
@ 2004-10-20 19:53 Nikolai Weibull
  2004-10-21 11:05 ` Stephane Chazelas
  0 siblings, 1 reply; 10+ messages in thread
From: Nikolai Weibull @ 2004-10-20 19:53 UTC (permalink / raw)
  To: zsh-users

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);}


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-10-25 13:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-20 19:53 Associative Arrays Nikolai Weibull
2004-10-21 11:05 ` Stephane Chazelas
2004-10-21 12:38   ` Nikolai Weibull
2004-10-21 16:40     ` Bart Schaefer
2004-10-21 20:22       ` Nikolai Weibull
2004-10-22 12:32       ` Stephane Chazelas
2004-10-22 15:07         ` Bart Schaefer
2004-10-25 13:14           ` Stephane Chazelas
2004-10-21 23:22     ` Eric Mangold
2004-10-22  0:08       ` Nikolai Weibull

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).