Core Function FileDelete

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
m (1 revision)
m (1 revision)
 

Latest revision as of 12:38, 14 June 2015

FileDelete( <file> )

Contents

Description

Delete a file.

Parameters

file

The file to delete.

Return Value

Success: Returns 1.

Failure: Returns 0 if error occurs.

Remarks

None.

Example

FileCopy("Sputnik.exe", "Cats.exe");
sleep(5000); // Enough time to check the file exists
FileDelete("Cats.exe");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox