File_delete - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

NOTOC {{-}}

Notation

Description

Deletes the file fname.

Parameters

  • fname: The name of the file to be deleted.

Return Values

Returns 1 if successful, 0 if it fails for any reason. Reasons for failure may include the file not existing or the user having insufficient privileges to delete the file.

Example Call

file_delete("file.txt");