octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #33535] fopen


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #33535] fopen
Date: Sun, 12 Jun 2011 20:47:04 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

Follow-up Comment #1, bug #33535 (project octave):

I think that should read more like:
"fopen bails out when two output arguments are requested"

In Octave-3.2.4 this worked OK.

In Octave-3.4.0 (& Octave-3.3.90):

octave-3.4.0:2> [fid] = fopen ('classpath.txt')
fid =  3
octave-3.4.0:3> fclose (fid)
ans = 0
octave-3.4.0:4> [fid, message] = fopen ('classpath.txt')
error: invalid conversion from string to real scalar
error: file id must be a file object or integer value

(on Linux & Windows BTW)


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33535>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]