octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error('') behaviour


From: Marco Caliari
Subject: error('') behaviour
Date: Tue, 31 Mar 2009 14:26:57 +0200 (CEST)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

Dear maintainers,

just to report the following incompatibility:

ml
error(''),disp('done')
done

octave
error(''),disp('done')
error:

That is, if the function error is called with an empty string, than no error should occour. I have seen this piece of code

error(nargchk(0,1,nargin));

exploiting the incompatibility.

Best regards,

Marco


reply via email to

[Prev in Thread] Current Thread [Next in Thread]