REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: delete

delete  port

Send port a delete request.

Arguments:

port [port! file! url! block!]

See also:

create   exists?  

Description

Deletes the file or URL object that is specified. If the file or URL refers to an empty directory, then the directory will be deleted.

write %delete-test.r "This file is no longer needed."
delete %delete-test.r
write


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin