[Pkg-octave-devel] Bug#603046: Bug#603046: Bug#603046: octave3.2: strchr triggers Octave:str-to-num

John W. Eaton jwe at octave.org
Wed Nov 17 06:42:39 UTC 2010


On 16-Nov-2010, Thomas Weber wrote:

| > strchr treats a string as a number implicitly:
| > 
| > kim at raph:~/orion/svn/raph1/octave$ octave
| > GNU Octave, version 3.2.4
| > ....
| > octave:1> warning error Octave:str-to-num
| > octave:2> strchr("Octave is the best software","best")
| > error: implicit conversion from string to real N-d array

I don't see an error with the current development sources, so I think
this problem has already been fixed.

jwe





More information about the Pkg-octave-devel mailing list