From bug-octave-request at bevo dot che dot wisc dot edu Fri Dec 12 07:42:05 2003 Subject: frewind return From: Fabian at isas-berlin dot de To: bug-octave at bevo dot che dot wisc dot edu Date: Fri, 12 Dec 2003 04:11:47 -0600 octave:11> OCTAVE_VERSION OCTAVE_VERSION = 2.1.51 octave:12> computer i686-pc-cygwin It seems, that numerical 0 is returned if rewind of file is successful, in contrast to the documentation of 'frewind' which tells me 'ret=1' in case of success : octave:13> help frewind # or help -i frewind frewind is a built-in function - Built-in Function: frewind (FID) Move the file pointer to the beginning of the file FID, returning 1 for success, and 0 if an error was encountered. It is equivalent to `fseek (FID, 0, SEEK_SET)'. Rolf ------------------------------------------------------------- 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 -------------------------------------------------------------