EasyManuals Logo

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #599 background imageLoading...
Page #599 background image
Appendix A: System Routines — Files
557
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
FAccess
Declaration:
WORD
FAccess
(char *
fileName
, WORD
mode
, char *
typeName
)
Category(ies):
Files
Description:
Check to see if a file can be opened for a given mode without modifying the
file. The file, if it exists, must have the same type as
typeName
.
Inputs:
fileName
String name of file to check.
mode
FM_READ_ACCESS or FM_WRITE_ACCESS.
typeName
1 . . . 4 character string of file type.
Outputs:
FS_OK The file can be opened in the given mode.
FS_ERROR The file cannot be opened for the specified mode
(may be locked or is not a third-party data-type).
FS_NOT_FOUND
fileName
does not exist.
FS_BAD_NAME
fileName
is invalid.
Assumptions:
The file, if it exists, must have the same type as
typeName.
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: FOpen, FCreate
Example:
if (FS_ERROR == FAccess("ZTEMP", FM_WRITE_ACCESS, "TYPE")) {
Disp("ERROR: Can not write to data file");
return;
}

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals