[Pkg-octave-devel] Re: Error message about "empty_list_elements_ok"
Edward C. Jones
edcjones@comcast.net
Mon, 02 May 2005 14:50:28 -0400
Some more information: In the octage-forge source code
(octave-forge_2004.11.16.orig.tar.gz) in file "main/image/imread.m",
lines 106-8 are:
try save_empty_list_elements_ok= empty_list_elements_ok;
catch save_empty_list_elements_ok= 0;
end
There is no bug; just a design surprise. See the octave docs, section
12.9 on try statement:
No warnings or error messages are printed while body is executing. If an
error does occur during the execution of body, cleanup can use the
function lasterr to access the text of the message that would have been
printed.
There has got to be a good way of telling is an error happens in octave.
Sorry to bother you,
Ed Jones