From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13720 invoked from network); 23 Mar 2001 07:08:11 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Mar 2001 07:08:11 -0000 Received: (qmail 7094 invoked by alias); 23 Mar 2001 07:08:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13721 Received: (qmail 7081 invoked from network); 23 Mar 2001 07:08:03 -0000 From: "Bart Schaefer" Message-Id: <1010323070710.ZM21740@candle.brasslantern.com> Date: Fri, 23 Mar 2001 07:07:10 +0000 In-Reply-To: <1010323064042.ZM21612@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Is ${#array} supposed to work with ksharrays?" (Mar 23, 6:40am) References: <1010323064042.ZM21612@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: Is ${#array} supposed to work with ksharrays? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 23, 6:40am, Bart Schaefer wrote: } Subject: Is ${#array} supposed to work with ksharrays? } } It appears that ${#array} always returns 1 when ksharrays is set. After a moment's thought, I tried ${#array[@]}, which of course gives the correct result ... but the original question remains ... -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net