>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