There are two methods of counting the number of lines in a file.
1. Open the file and use "Read lines from file.vi" in a while loop until EOF is reached. The iteration count is the number of lines.
2. Read in the file and use the string search functions in a while loop to search the string for the EOL character.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions