FutureBasic Logo

<<    Index    >> FutureBasic 5

kill   statement



Syntax:
kill URL

Description:
This statement deletes a (closed, unlocked) file or folder from the disk. The URL must be a full URL to the file or directory.
For other ways to use these parameters, see Appendix A - File Object Specifiers.

Note:
You cannot delete a folder if it has any contents, nor if the folder is "open." A folder is considered "open" if your program has executed any statement( such as open ), and has not subsequently closed it using the close statement.