Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_fileln() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_FILELN()

 DESCRIPTION

 C_FILELN() counts the number of lines in the specified text file.

 NOTES

 C_FILELN() determines the number of lines by counting the number of
 ASCII 13 (carriage return) characters.

 SYNTAX

 C_FILELN(handle)

 PARAMETERS

 handle (N) is the file handle of an open file to count the lines.

 RETURNS

 C_FILELN() returns the number of lines found in the specified text file.

 EXAMPLES

 f1 = fopen("test.txt")

 c_fileln(f1)--> 35         && 35 lines found in the file


See Also: C_FILECHR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson