|
-
Mar 29th, 2000, 12:39 AM
#1
Thread Starter
Junior Member
I am working with a text file in which the data needs to be manipulated and written to a new file. Each record in the first text file begins with either an I an O a C or a N. All the I records go into one text file, all the O,C, and N's go into another text file. I wrote the code using the open file for input command and inputed to records fields into variables. I have to do this because the data needs to be moved around when inputed into the new text files. The problem is, that the records beginning with C, and N do not contain on of the fields that all the other records do, so I can't get it to read the entire file because it comes up with an error. Any suggestions?????
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|