Api/minux.countline()

From Minux Wiki
Revision as of 04:15, 4 October 2024 by Shorun (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.