Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of lines in a PRG
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00190129
Message ID:
00190134
Vues:
16
>Hi all,
>
>Is there a way to determine the number of lines in a .PRG file programmatically?
>I have (511) .PRG files.
>
>I appreciate your inputs.
>
>Thanks,

Fastest way I know of:
Create a table with one wide field.
Using ADIR() to find all PRGs, use APPEND TYPE SDF to pull each one into the table.
Use RECCOUNT() to count the number of lines.
(ZAP the table after each PRG.)

HTH,
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform