Re: [Tutor] Reading binary files #2

2009-02-09 Thread eShopping
Hi Bob some replies below. One thing I noticed with the "full" file was that I ran into problems when the number of records was 10500, and the file read got misaligned. Presumably 10500 is still within the range of int? Best regards Alun At 17:49 09/02/2009, bob gailer wrote: etrade.gr

Re: [Tutor] Reading binary files #2

2009-02-09 Thread bob gailer
etrade.griffi...@dsl.pipex.com wrote: Hi following last week's discussion with Bob Gailer about reading unformatted FORTRAN files, I have attached an example of the file in ASCII format and the equivalent unformatted version. Thank you. It is good to have real data to work with. Below is so

Re: [Tutor] Reading binary files #2

2009-02-09 Thread Alan Gauld
wrote I have attached an example of the file in ASCII format and the equivalent unformatted version. Comparing them in vim... It doesn't look too bad except for the DATABEGI / DATAEND message format. That could be tricky to unravel but we have no clear format for MESS. But I assume that all