Function: flines

Syntax

flines (<file>)

Type

numeric

Returns

The number of lines in a text file, or zero if the file doesn’t exist. Lines terminated by a backslash are not included in the count.

Parameters

Example

numeric nrows = flines(/usr/test/myfile.dat)