How Would I go about:

1) Counting the number of lines in a text file

2) Counting the number of words in a text file.

I know that I have to Use AssignFile(), and many other file operators, I just don't know how to do this.

Any help would be much appreciated!!

Thanks

Greg