Core Function FileDelete

From Sputnik Wiki
Revision as of 12:38, 14 June 2015 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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