MathGroup Archive 1995

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

Search the Archive

Re: Reading Bytes: unexpected EOF ???

  • To: mathgroup at
  • Subject: [mg1269] Re: Reading Bytes: unexpected EOF ???
  • From: blast at (Bernd Last)
  • Date: Wed, 31 May 1995 02:35:39 -0400

At 25.05.95
you wrote in /comp/soft-sys/math/mathematica
concerning Reading Bytes: unexpected EOF ???:

Hello Bart,

> I know it has been asked before, but I forgot the solution:
> When I read Bytes with Mathematica, it stops when it reads byte
> '024', which is an EndOfFile character. How can I read my full
> 6000 byte file. Is this trivial bug really existing or is there
> a smarter way? I run MMA 2.2 on my IBM-PC.

If you have MATHLINK there exists a solution in MATHSOURCE.
If not I programmed a encoding Programm in C to avoid the EOF and
the CR/LF problem. And in MMA I programmed the corresponding decoding

If anybody is interested about that I could post the code.


  • Prev by Date: Re: [m1220] Equating a variable and its value
  • Next by Date: Question about NDSolve and loops
  • Previous by thread: Reading Bytes: unexpected EOF ???
  • Next by thread: Points Otdisappeared in ListPlot