Hi,
I opened a file using
open filename for input as #1

How do i know how many line is in that file?
Does anyone know what API to use to count the number of lines in the file?

Thank you so much in advance.

Sue