From bug-octave-request at bevo dot che dot wisc dot edu Wed Jan 26 06:49:42 2000 Subject: fscanf From: "John W. Eaton" To: Francesco Potorti` Cc: Octave bugs list Date: Wed, 26 Jan 2000 06:50:03 -0600 (CST) On 14-May-1999, Francesco Potorti` wrote: | I am not wrong, there is no way to tell how many parameters a fscanf | function call has read, when the "C" argument is used. This is a serious | shortcoming. Hmm. Any ideas about how should this be fixed? | However, the docs say: | When a "matching failure" occurs, `scanf' returns immediately, | leaving the first non-matching character as the next character to be | read from the stream, and `scanf' returns all the items that were | successfully converted. | | I think that this is not true for the "C" version of the scanf function. I think I've fixed this problem in the development sources. Thanks, jwe ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------