|
-
Apr 26th, 2010, 05:46 AM
#1
Thread Starter
Member
Re: Help for deleting "wrong" lines from a file
 Originally Posted by Merri
The % is apparently printed to denote an overflow of one character. This then further lenghthens the column by one character.
This is how I understand it:
09407 13 26 12 485 -3 -395 -842 3178 1625 316700%1663%1177639711613352 91616
Correctly parsed: - 09407
- 13
- 26
- 485
- -3
- -395
- -842
- 3178
- 1625
- 316700
- 1663
- 1177
- 639
- 711
- 613
- 352
- 91616
At least with this logic each line would have equal amount of items and would "make sense" that way. I guess the hardest part here is that some of the values are aligned left in their column while most are aligned right.
You are right the text i am looking is created from a qbasic code using the print using command, so if the length of a value is bigger than the characters gives this error (%) or there is no space between the different variables in the second case i highlight in values. But in any case i don't need those values as they are outside the range of values that i should have, that's why i am trying to create a code where i 'll put the "right" values in a new files and the deleted in another so as to examine them later.
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
|