[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
list length
From: |
Teemu Ikonen |
Subject: |
list length |
Date: |
Fri, 31 Oct 2003 16:57:12 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi,
If I recall, lists are now deprecated in favour of cell arrays, but still, I
ran into following inconsistency with the CVS version of Octave:
octave:1> length(list())
ans = 1
octave:2> length(list(1))
ans = 1
octave:3>
i.e. the null list has length 1 instead of 0. Of course, there is the odd
chance that this is so on purpose.
Should I remove all the dependencies on lists on my code if I want to use
the latest Octave, or are they guaranteed to work at least for a while?
Is there any chance of a new 2.1 -series release soon (and a subsequent Debian
package thanks to Dirk)? My scripts are relying on some subtle functionality
which is present only on the CVS version, but compiling CVS Octave to all
the computers I use is starting to be a bit of a pain.
Thanks,
Teemu
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- list length,
Teemu Ikonen <=