'frpintf' allows no FID
Sergei Steshenko
sergstesh at yahoo.com
Tue Jan 27 12:50:28 CST 2009
Hello,
here is a small session:
"
GNU Octave, version 3.0.3
Copyright (C) 2008 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i686-pc-linux-gnu".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug at octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
octave:1> help fprintf
-- Built-in Function: fprintf (FID, TEMPLATE, ...)
This function is just like `printf', except that the output is
written to the stream FID instead of `stdout'.
See also: printf, sprintf, fread, fscanf, fopen, fclose.
fprintf is a built-in function
Additional help for built-in functions and operators is
available in the on-line version of the manual. Use the command
`doc <topic>' to search the manual index.
Help and information about Octave is also available on the WWW
at http://www.octave.org and via the help at octave.org
mailing list.
octave:2> fprintf("Why ?\n");
Why ?
octave:3>
"
I expect 'fprintf' to fail since no FID is specified.
Or the documentation to say otherwise.
Thanks,
Sergei.
More information about the Bug-octave
mailing list