From: John W. E. <jw...@be...> - 2003-01-12 02:19:01
|
On 11-Jan-2003, Andy Adler <ad...@nc...> wrote: | John W. Eaton wrote: | | > But it looks like you might be | >using --traditional? Then it also fails for me. Ah, the bug is the | >difference in parsing spaces inside [ ]. One fix is: | > | > argstr = ["x,",(sprintf ("P%i,",1:n))]; | > | >Another is to remove the space between sprintf and ( in that | >statement. | > | > | Yes. The problem is from --traditional. | I've just checked in this change. There is also another problem that Peter pointed out to me another message, but it is really a bug with Octave. If implict_str_to_num_ok is nonzero, then isnumeric ('some string') will return true, because it is possible to use 'some string' as a numeric value (with conversion) at least in some contexts. But I think it should not really return true. I'll fix that for 2.1.44. jwe |