warnings which don't help user to undesrtand where the problem is

bugs_bunny isgoed at hotmail.com
Mon Jan 5 07:43:59 CST 2009


I just found this bug on google and since you posted it only 2 days ago I'd
like to ask you how you'd solved it. I still get "warning: implicit
conversion from scalar to string" when I use the functions:

[charc, count] = fscanf (FID, "%c", 1);
[header, count] = fscanf (FID, "%s\n", 1);

I don't see any other way to write the syntax. The program works though, it
is only annoying.

I use GNU Octave, version 2.1.53 (powerpc-apple-darwin7.2.0). I checked for
updates, but there were no packages to install.


Sergei Steshenko-2 wrote:
> 
> Both:
> 
> sprintf("%s", 1000000000000)
> warning: range error for conversion to character value
> warning: implicit conversion from scalar to string
> 
> --Sergei.
> 

-- 
View this message in context: http://www.nabble.com/warnings-which-don%27t-help-user-to-undesrtand-where-the-problem-is-tp21271788p21291235.html
Sent from the Octave - Bugs mailing list archive at Nabble.com.



More information about the Bug-octave mailing list