FILE_Kill

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > File > FILE: functions working on files >

FILE_Kill

 

Description

 

Delete a disk file.

 

Syntax

 

n = FILE_Kill(FileName)

 

Returns

 

Number.

0 means no errors.

 

Parameters

 

Name

Type

Optional

Meaning

FileName

String

No

Name of the file to be deleted

 

Remarks

 

Possible error codes:

53 = File not found

70 = Permission denied

75 = Wrong path

76 = Path not found

 

Restrictions

 

See also

 

File Module,

 

Examples