Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Re: Reading unk...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 9 Topic 8162 of 8774
Post > Topic >>

Re: Reading unknown number of lines in unknown number of files

by Terence <tbwright@[EMAIL PROTECTED] > Apr 22, 2008 at 10:08 PM

Dzien dobre, Luka.
You can find which CWxx.DAT files exist and what size they are and so
how mnay records in each by using the directory enquiry via a SYSTEM
(DIR CW??.DAT> mydir) call and reading back the created file. If the
records are fixed length you simple divide file size by record length,
for each file.

You can also find the length of any file via another service call (an
API one).
If the records are not fixed length you will have to read them and
count them first as suggested above.
 




 9 Posts in Topic:
Reading unknown number of lines in unknown number of files
Luka Djigas <ldigas@[E  2008-04-23 05:42:08 
Re: Reading unknown number of lines in unknown number of files
e p chandler <epc8@[EM  2008-04-22 21:11:26 
Re: Reading unknown number of lines in unknown number of files
nospam@[EMAIL PROTECTED]   2008-04-22 21:17:54 
Re: Reading unknown number of lines in unknown number of files
Terence <tbwright@[EMA  2008-04-22 22:08:40 
Re: Reading unknown number of lines in unknown number of files
Luka Djigas <ldigas@[E  2008-04-23 22:59:41 
Re: Reading unknown number of lines in unknown number of files
Luka Djigas <ldigas@[E  2008-04-23 23:05:56 
Re: Reading unknown number of lines in unknown number of files
nospam@[EMAIL PROTECTED]   2008-04-28 19:17:49 
Re: Reading unknown number of lines in unknown number of files
andrej.panjkov@[EMAIL PRO  2008-04-22 22:16:51 
Re: Reading unknown number of lines in unknown number of files
andrej.panjkov@[EMAIL PRO  2008-04-22 22:26:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 23:36:34 CDT 2008.