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 #637 background imageLoading...
Page #637 background image
Appendix A: System Routines — Graphing
595
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
FindFunc
Declaration:
HSYM
FindFunc
(BYTE
funcNum
, BYTE
funcName
[ ], HSYM *
ypar
)
Category(ies):
Graphing
Description:
Creates a function name in
funcName
for function number
funcNum
in the
current graph mode (
gr_active
) and returns the HSYM of that variable if it
is selected. Also sets the graph reference flag for that function if
gr_flags.gr_in_progress
is set. Returns H_NULL if the function is not
found or not selected. In parametric mode, will return both HSYMs if either
function is selected. Sets graph reference flags in both.
Inputs:
funcNum
Function number (i.e., 1 for y1(x) in function mode).
funcName
Address of BYTE array of at least 9 bytes to use for
function name.
ypar
Address of an HSYM for yt function in parametric mode,
not used in other modes.
Outputs:
Returns HSYM of function.
funcName
Name of function found stored here (in tokenized form – so
the first byte will be zero).
ypar
In parametric mode, HSYM of yt function.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also: FindGrFunc
Example:
CountActiveFuncs is a routine that returns the number of active graph
functions for the current graph mode.
SWORD CountActiveFuncs( void )
{
BYTE NameBuf[9];
HSYM ypar;
SWORD i, Count;
for (i = 1, Count = 0; i <= 99; i++)
if (FindFunc( i, NameBuf, &ypar))
Count++;
return Count;
}

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