|
-
Jan 29th, 2007, 10:13 PM
#1
Thread Starter
Lively Member
Read text file and write to another file
The original file format is like that:
Header
2.85667000
99.70000000
4.01666940
101.46667000
2
Decimal
1.01.33
Some description
EndHeader
START 43, L, 174=0;133=300000
100.81888000 3.85663000
100.81778000 3.85625000
100.80883000 3.85519000
STOP
START 43, L, 174=2;133=300000
101.29401000 3.20013000
101.29359000 3.20232000
101.29134000 3.20748000
STOP
i need to change it to another kind of format as below and save as another file by using visual basic 6.
2.85667000
99.70000000
4.01666940
101.46667000
Decimal
100.81888000 3.85663000 174=0
100.81778000 3.85625000 174=0
100.80883000 3.85519000 174=0
101.29401000 3.20013000 174=2
101.29359000 3.20232000 174=2
101.29134000 3.20748000 174=2
Last edited by junlo; Jan 30th, 2007 at 08:11 AM.
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
|