MASM 5.10 EXT.DOC: FileLength - Returns Number of Lines in Fil

ID Number: Q31531

5.10 |

MS-DOS | OS/2

Summary:

The following information is from the MASM Version 5.10 EXT.DOC

file.

Please note that numbering for both COL and LINE variables begins

with 0.

More Information:

/* FileLength - returns the number of lines in the file

*

* The FileLength function is particularly useful for global

* operations, in which it is necessary to know where the end of the

* file is.

*

* pFile Handle to file

*

* returns Number of lines in file

*/

LINE pascal FileLength (pFile)

PFILE pFile;