Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tool to count lines of code?
Message
De
14/08/1998 15:00:03
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
11/08/1998 09:32:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00125475
Message ID:
00126998
Vues:
30
>
>7. all comment lines shouldn´t be counted either. Count CRLF+"*", CRLF+"&&", and CRLF+"NOTE", and subtract that number too. (This works because of steps (2) and (5) above.)
>
>This should be a good approximation!

Comments _should_ be counted, though separately. You should insert one CRLF before the beginning of any source file, just in case the first line is a comment.

Of course, this shouldn't be done on live files - append them into a memo of a discardable cursor and manipulate there (or in VFP6, just FileToStr).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform