|
From: | Marco Caliari |
Subject: | Re: error('') behaviour |
Date: | Tue, 31 Mar 2009 16:38:14 +0200 (CEST) |
User-agent: | Alpine 1.00 (DEB 882 2007-12-20) |
error(' '),disp('done')
??? Yes, the argument has to be completely empty. Marco On Tue, 31 Mar 2009, John W. Eaton wrote:
On 31-Mar-2009, Marco Caliari wrote: | 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. Does the argument have to be completely empty? What happens for error (' ') ? Thanks, jwe
[Prev in Thread] | Current Thread | [Next in Thread] |