Texas Instruments TI89 Developer Guide - Page 637
funcNum, Function number i.e., 1 for y1x in function mode.
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 637 highlights
Appendix A: System Routines - Graphing 595 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
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/637.png)