Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Treatment of illegal indices
- X-seq: zsh-workers 3789
- From: Bernd Eggink <eggink@xxxxxxxxxxxxxxxxxx>
- To: Zsh-workers <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: Re: Treatment of illegal indices
- Date: Wed, 25 Feb 1998 13:13:24 +0100
- Organization: Regionales Rechenzentrum der Uni Hamburg
- References: <34F03F3C.5FFA09E@xxxxxxxxxxxxxxxxxx>
- Sender: rz2a022@xxxxxxxxxxxxxxxxxx
I wrote:
> I'd volunteer to make a patch if I get positive feedback.
Arghh! This turns out to be real work. The code is somewhat messy, and I
found more bugs. This one, for example:
x=(a b c d e)
x[4,1]=X
print $x
Result:
a b c X b c d e
So we should settle on the meaning of a[i,j]=b when j < i. I suggest
that this always inserts b right before a[i] (provided j is legal).
Opinions?
- Bernd
--
Bernd Eggink
Regionales Rechenzentrum der Universitaet Hamburg
eggink@xxxxxxxxxxxxxxxxxx
http://www.rrz.uni-hamburg.de/eggink/BEggink.html
Messages sorted by:
Reverse Date,
Date,
Thread,
Author