replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - opening/reading-in byte-by-byte
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

opening/reading-in byte-by-byte

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
jdoe



Joined: 25 Dec 2004
Posts: 2

PostPosted: Sat Dec 25, 2004 6:32 pm    Post subject: opening/reading-in byte-by-byte Reply with quote

Forgive me if this is a lame question (I haven't used Fortran in the last 20+years), but how can I succcessfully read data from a file one byte at a time regardless of what the byte is (EOF, carriage-return, or whatever). I've tried all sorts of permutations of the read and open commands with various data types and formats, but without much success.
BTW, to test the program's read capability, I'm using an input file that contains all 256, 8-bit ACSII characters. My best results don't get past character 16 (decimal) without an "input record too short" read error.

PS For portability, I'd like to stick with Fortran commands and not dip into DLL's.

Thanks!
Back to top
View user's profile Send private message
jdoe



Joined: 25 Dec 2004
Posts: 2

PostPosted: Sun Dec 26, 2004 12:44 pm    Post subject: opening/reading-in byte-by-byte Reply with quote

NVM, I got it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group