From help-request at octave dot org Sat Nov 5 23:55:02 2005 Subject: strcmp change? From: "Dmitri A. Sergatskov" To: Octave_post Date: Sat, 05 Nov 2005 22:53:48 -0700 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 -------------------------------------------------------------