Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tool to count lines of code?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00125475
Message ID:
00126650
Vues:
19
>Is there any way to know how many lines of code we've written in a VFP app?
>
>Thanks,
>
>Gil


Gil,

You could use the Documentation Wizard to produce a text file sort of like the .SPR files we used to get for screens (forms now) in FPW2.6. You have to select "All files" and then select the .scx file, not the .sct. Then you get some choices for formatting (tabs and such) and then you select what to include. I usually just do a source code output. It creates a file with a .lst extension. I use this file to compare old and new versions, using MS Word's Revision/Compare routine (under the Tools menu). It's nice for documenting changes. You load the new file first, then the older version. After printing the changes, then I copy the new version to the production development server where the application is built.

Anyway, once you've done this for your forms, (and you could do this for your menus, and your classes too, I believe) you can get the line counts.

Dana
Where's the damned Any Key?...too late
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform