EasyManua.ls Logo

Texas Instruments TI-89 - Fdelete

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
560
Appendix A: System Routines — Files
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
FDelete
Declaration:
WORD
FDelete
(const char *
fileName
)
Category(ies):
Files
Description:
Deletes a file.
Inputs:
fileName
String pointer to name of file to delete.
Outputs:
FS_OK File deleted.
FS_BAD_NAME Bad filename.
FS_ERROR File not deleted because it is locked, in use, a
folder, in Flash, or it does not exist.
Assumptions:
None
Side Effects:
May invalidate any current HSYMs.
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
None
Example:
/* Create a temporary file, use the file, then delete it. */
FILE f1;
if (FS_OK == FOpen("ZTEMPF", &f1, FM_WRITE, "APP1" )) {
useTempFile( &f1 );
FClose( &f1 );
FDelete("ZTEMPF");
}

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals