deletes a file
f = deletefile(filename)
a string: a file name existing or not.
a boolean: %t or %f.
%t
%f
This function deletes a file filename. If file filename has been deleted, it will return %t else %f.
filename
fd = mopen(TMPDIR+'/filetodelete.txt','wt'); mclose(fd); if (fileinfo(TMPDIR+'/filetodelete.txt') <> []) then deletefile(TMPDIR+'/filetodelete.txt') end deletefile(TMPDIR+'/notexistingfile')