Hi all,
Looking to count the number of lines in a text file - simple enough... however, I wish to do this for more than one text file, then have a grand total
There will be 36 text files, which may increase
Thought of defining some array, then looping through opening and closing the files, counting the lines and then adding them all together, to give $grandtotal
but have no idea how to do that 😃
I am on the right lines? anyone have some ideas / example code ???
Will this kill processing power??
Many thanks in advance.
Regards,