MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: negative FileByteCount

  • To: mathgroup at
  • Subject: [mg83562] Re: negative FileByteCount
  • From: rych <rychphd at>
  • Date: Thu, 22 Nov 2007 06:48:01 -0500 (EST)
  • References: <> <fhjt5h$5id$>

Very interesting replies, thank you very much. I don't want to load
the whole file into memory, the main, virtual or whatever, but I do
want to have an access to it. The C runtime fopen() gives me a handle
to my big file (and to the biggest files on my harddisk, which are now
a couple of HD films). Then I can read from it with a trivial C code.
Why can't I do the same from Mathematica?

In[3]:= snum = OpenRead[""]
Out[3]= InputStream["", 29]
In[4]:= FileByteCount[""]
Out[4]= -936210076
In[5]:= ReadList[snum, Number, 3]
Out[5]= {}

  • Prev by Date: Re: How can I find roots in Mathematica 6?
  • Next by Date: Re: Assign variables to a module
  • Previous by thread: Re: Re: negative FileByteCount
  • Next by thread: Re: negative FileByteCount