From help-octave-request at bevo dot che dot wisc dot edu Wed Mar 14 09:58:37 2001 Subject: Re: is_scalar conflicts with isstring From: SZABO Sandor To: help-octave at bevo dot che dot wisc dot edu Date: Wed, 14 Mar 2001 16:58:33 +0100 Kai Habel wrote: > > Does isnumeric give 1 forever? > > Hello Sandor, > > no, isnumeric should give a true value for scalars and matrices. > > Here works everything as expected. > > octave-2.1.32:1> implicit_str_to_num_ok = 0 > implicit_str_to_num_ok = 0 > octave-2.1.32:9> isnumeric ("a") > ans = 0 > octave-2.1.32:10> isnumeric (1.0) > ans = 1 > octave-2.1.32:11> isnumeric ([1.0 0.8]) > ans = 1 > > I don't know if its a 2.0.xx problem, so you might switch to the 2.1.33 > version. > > Bye Kai > > -- > Kai Habel > mailto:kai dot habel at gmx dot de > icq: 106872331 I switched to 2.1.33 and isnumeric works well. Thanks. Sandor Szabo ------------------------------------------------------------- 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 -------------------------------------------------------------