Api/minux.countline(): Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "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.")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
this function is part of the [[Api/minux|minux. api]] and used to count the amount of lines a file has.
this function is part of the [[Api/minux|minux. api]] and used to count the amount of lines a file has.


'''usage:'''
'''usage:'''


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


'''output:'''
'''output:'''


the number of lines the files contains.
the number of lines the files contains.

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.