Difference between revisions of "Os.remove"
From GiderosMobile
Line 6: | Line 6: | ||
os.remove(filename) | os.remove(filename) | ||
</source> | </source> | ||
− | '''filename''': (string) filename to delete | + | === Parameters === |
+ | '''filename''': (string) filename to delete <br/> |
Revision as of 10:44, 23 August 2018
Available since: Gideros 2011.6
Description
Deletes the file or directory with the given name. Directories must be empty to be removed. If this function fails, it returns nil, plus a string describing the error.
os.remove(filename)
Parameters
filename: (string) filename to delete