To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 8978
8977  |  8979
Subject: 
Re: L3P -correct (rowN all zeroes )
Newsgroups: 
lugnet.cad
Date: 
Wed, 11 Dec 2002 11:37:00 GMT
Viewed: 
386 times
  
In lugnet.cad, Tore Eriksson writes:
I have made a little utility (again) that corrects lines in dat files if:
* One (not two or three) of the rows ({a,b,c}, {d,e,f}, and {g,h,i}) are all
zeroes...
AND
* y-column (b,e,h) values are all zeroes but not x- or z-column.

It simply fills in '1' in y-column of the all zeroes row.

If the problem is bigger, it just inserts "0 ERROR in next line!" and counts
up the score in the report at the end of the corrected file.

I think l3p could do this better as a complement to l3p -check.

I'm sure you do it well, but you're right that it really should be
an option to L3P. As it already fixes this and other things
like bow-ties internally, it shouldn't be too hard to output the file again.

My main concern for not doing it, was (is) how to preserve any
formatting of the numbers in columns.
Some DAT files have nicely formatted columns for easier development
and later debugging.
But I guess an author can accept some reformatting (only of fixed lines)
in return for a fixed file.
/Lars



Message is in Reply To:
  L3P -correct (rowN all zeroes )
 
I have made a little utility (again) that corrects lines in dat files if: * One (not two or three) of the rows ({a,b,c}, {d,e,f}, and {g,h,i}) are all zeroes... AND * y-column (b,e,h) values are all zeroes but not x- or z-column. It simply fills in (...) (22 years ago, 11-Dec-02, to lugnet.cad)

3 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR