EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

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 #604 background imageLoading...
Page #604 background image
562
Appendix A: System Routines — Files
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
FFindFirst
Declaration:
SYM_ENTRY *
FFindFirst
(WORD
Options
, char *
typeName
,
char *
folderName
)
Category(ies):
Files
Description:
Find the first symbol of FILE type
typeName
and return a SYM_ENTRY
pointer to it (NULL if none found). Use
FFindNext
to find subsequent
entries, NULL returned after the last entry is found.
Inputs:
Options
FO_NONE
folderName
is a string pointer to the
folder to search.
FO_RECURSE Search all folders (
folderName
is
ignored).
typeName
Must point to a string of, at most, four characters that
describes the file type.
Outputs:
SYM_ENTRY pointer to first file with type matching
typeName.
The
Name
field of the SYM_ENTRY contains the 1 . . . 8 character string of
the symbol for the file being searched for. If using FO_RECURSE, then
calling
SymFindFoldername
will return the folder of the symbol just found.
Assumptions:
None
Side Effects:
SYM_ENTRY pointers are only valid until heap compression is done or
another symbol is added to the symbol table.
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: FFindNext, SymFindFoldername
Example:
SYM_ENTRY sePtr;
Disp ("ALL Files of type FTYPE2\n");
if (sePtr = FFindFirst(FO_RECURSE, FTYPE2, NULL)) {
Disp(sePtr->Name);
while (sePtr = FFindNext())
Disp(sePtr->Name);
}
Disp("All Files of type FTYPE2 in folder: FOLD1\n");
if (sePtr = FFindFirst(FO_NONE, FTYPE2, "fold1")) {
Disp(sePtr->Name);
while (sePtr = FFindNext())
Disp(sePtr->Name);
}

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