Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Treatment of illegal indices



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