The [file->delete] method deletes the file located at the current [file] object's path.
local(f) = file(...) $f->delete
The following example deletes the "myfile.txt" file from its current location.
var(file) = file('myfile.txt') $file->delete
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
The syntax example:
local(f) = file(...)
var(f) = file(...)
Posted on: 19 February 2013