[fpc-pascal]How to read binary file created by fortran or octave?

mili milimeter at 163.com
Sat Oct 26 15:55:00 CEST 2002


Hello, every body

  I try to use fpc to read some binary data files created by fortran and 
octave files. I found that TFileStream.Read() can read out integer (int32) 
data correctly, but can't read out single (float32) data correctly. All float 
data is wierd. So can anybody tell me how to correctly use pascal to read 
them?

  Thanks,
  Yours,
  mili





More information about the fpc-pascal mailing list