Api/minux.countline()

From Minux Wiki
Revision as of 23:51, 3 October 2024 by Shorun (talk | contribs)
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 = dev.countline(filename)


output:

the number of lines the files contains.