Api/minux.countline()

From Minux Wiki
Jump to navigation Jump to search

this function is part of the minux. api and used to count the amount of lines a file has.


usage:

local temp = minux.countline(filename)


output:

the number of lines the files contains.