Api/minux.removeline(): Difference between revisions
Jump to navigation
Jump to search
(Created page with "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:''' dev.removeline(filename, linenumber) '''output:''' removes the number linenumber from the file specified, returns false if file is not found, true if it was.") |
No edit summary |
||
Line 7: | Line 7: | ||
'''usage:''' | '''usage:''' | ||
minux.removeline(filename, linenumber) | |||
Latest revision as of 04:16, 4 October 2024
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.