FutureBasic Logo

<<    Index    >> FutureBasic 5

kill   statement

kill URL

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.

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.