Api/minux.countline(): Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 5: Line 5:
'''usage:'''
'''usage:'''


local temp = dev.countline(filename)
local temp = minux.countline(filename)





Latest revision as of 04:15, 4 October 2024

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.