ClassesClasses | | Operators

delete_filedelete_fileDeleteFileDeleteFile (Operator)

Name

delete_filedelete_fileDeleteFileDeleteFile — Delete a file.

Signature

delete_file( : : FileName : )

Herror delete_file(const char* FileName)

Herror T_delete_file(const Htuple FileName)

void DeleteFile(const HTuple& FileName)

static void HMisc::DeleteFile(const HString& FileName)

static void HMisc::DeleteFile(const char* FileName)

static void HOperatorSet.DeleteFile(HTuple fileName)

static void HMisc.DeleteFile(string fileName)

Description

delete_filedelete_fileDeleteFileDeleteFileDeleteFile deletes the file given by FileNameFileNameFileNameFileNamefileName.

Execution Information

Parameters

FileNameFileNameFileNameFileNamefileName (input_control)  filename HTupleHTupleHtuple (string) (string) (HString) (char*)

File to be deleted.

Result

delete_filedelete_fileDeleteFileDeleteFileDeleteFile returns the value 2 (H_MSG_TRUE) if the file exists and could be deleted. Otherwise, an exception is raised.

Module

Foundation


ClassesClasses | | Operators