Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is ${#array} supposed to work with ksharrays?
- X-seq: zsh-workers 13721
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Is ${#array} supposed to work with ksharrays?
- Date: Fri, 23 Mar 2001 07:07:10 +0000
- In-reply-to: <1010323064042.ZM21612@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1010323064042.ZM21612@xxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author