Delete a file
- Posted by alrobnett Dec 09, 2018
- 1053 views
Fifteen or twenty years ago I used Euphoria to create a program to create, display, and modify a binary tree of unlimited depth. In the interim, because of various events, the source code file has disappeared. I have a 19-page printout which I have used to recreate the source using the Euphoria editor to "ed" my .ex file. The function I apparently used to delete a temporary file (according to the printout) was: result = deleteFile("filename.dat") The editor cannot find that. An online API manual says use:
8.5.2.20 delete_file
include std/filesys.e
namespace filesys
public function delete_file(sequence name)
I have not been able to find filesys.e
My include files were: include file.e include get.e include graphics.e include machine.e include dll.e include wildcard.e include getch.e
I had to comment out the last three because the system could not find them. I expect to use gets(1) in place of getch. The program uses DOS. I have Euphoria 3.0, running on Windows 10 Home. How do I delete a temporary file?