- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is there somehow to know the lenght of records in an unformatted (binary) file?
Would 'inquire' statement be an option?
Of course I understand that with the record length I may use direct access at open statement. On the other hand, if I wish to use sequential access, how would I use the record length info?
Thanks!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See my reply to your question in comp.lang.fortran. The short answer is "No, there isn't". If you're just reading a sequential unformatted file, the implementation handles the lengths automatically, but there is no language feature to access them.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page