[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
list indexing errors
From: |
Paul Kienzle |
Subject: |
list indexing errors |
Date: |
Thu, 18 Mar 2004 22:50:33 -0500 |
The following code crashes octave:
> x=list(1,2,3)
> x(2)
I tried it on 2.1.52 and 2.1.57 debian, and on 2.1.55 mac os x.
This is something I noticed when trying to see if reverse() could
be replaced by a simple m-file:
x=list(1,2,3)
rev = x(end:-1:1)
I don't know of any code which is affected by this.
Paul Kienzle
address@hidden
- list indexing errors,
Paul Kienzle <=