help-octave
[Top][All Lists]
Advanced

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

strcmp change?


From: Dmitri A. Sergatskov
Subject: strcmp change?
Date: Sat, 05 Nov 2005 22:53:48 -0700
User-agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20051007)

I noticed that strcmp has changed in CVS version (relative to 2.1.71).

Previously,  strcmp (x, "a") would return 0 for non-string x, now
it returns an error:

octave:13> x=strcmp(1, "a")
error: value on right hand side of assignment is undefined
error: evaluating assignment expression near line 13, column 2


Is this change for matlab's compatibility?

Sincerely,

Dmitri.
--



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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