|
The number of lines is equal to the number of carriage returns in the file.
This will work for a PC-format text file, which delimits lines with CR/LF pairs.
If you apply file.countLines to non-text files, Frontier does its best to count the lines (actually counting carriage returns) but the returned result is largely useless.
|