From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2217 invoked from network); 13 Nov 1998 00:11:05 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 13 Nov 1998 00:11:05 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id TAA26291; Thu, 12 Nov 1998 19:04:58 -0500 (EST) Resent-Date: Thu, 12 Nov 1998 19:04:58 -0500 (EST) To: "Bart Schaefer" Cc: zsh-workers@math.gatech.edu Subject: Re: PATCH: 3.1.5 - sample associative array implementation References: <9811111358.AA51361@ibmth.df.unipi.it> <981111125236.ZM3587@candle.brasslantern.com> <981112012358.ZM9722@candle.brasslantern.com> Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: Timothy Writer Date: 12 Nov 1998 19:04:56 -0500 In-Reply-To: "Bart Schaefer"'s message of "Thu, 12 Nov 1998 01:23:58 -0800" Message-ID: X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Resent-Message-ID: <"-jEK12.0.hQ6.fUtIs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4618 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu "Bart Schaefer" writes: > On Nov 12, 3:22am, Timothy Writer wrote: > } Does zsh have namerefs? > > No, zsh does not. It wouldn't be hard to implement, though. Can you tell > what ${!arrayname} would do? (My recent patch simply ignores the `!' in > that event.) Sure typeset -A foo foo[bar]=baz echo ${!foo} just prints "foo". Makes sense because foo is not a nameref. -- Tim Writer Tim.Writer@ftlsol.com FTL Solutions Inc. Toronto, Ontario, CANADA