Api/minux.removeline()

From Minux Wiki
Jump to navigation Jump to search

this function is part of the minux. api and used to remove a specific line from a file

it takes a filename (absolute path) and line number as input and then removes that line.


usage:

minux.removeline(filename, linenumber)


output:

removes the number linenumber from the file specified,

returns false if file is not found, true if it was.