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 #998 background imageLoading...
Page #998 background image
956
Appendix A: System Routines — Statistics
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
statStart
Declaration:
void
statStart
(void)
Category(ies):
Statistics, Variables
Description:
The sequence for an app to store to the stat variables is:
statStart() // all stat vars initialized to invalid floats
RM_Type = . . . // set to stat calculation type to follow
. . . // do calculations
. . . // store to stat vars with VarStore
statEnd() // allow other apps to use the stat variables
The stat variables are now readable by the app or the user but they cannot
be stored to by either. Commands like ShowStat will display any stat
variables that have valid values stored in them.
NOTE:
All of the above code should be placed in a TRY . . . ENDTRY block.
The ONERR part should call
statEnd
first, then it can handle the error. See
the example below.
Inputs:
None
Outputs:
May throw ER_MEMORY if not enough memory to create stat variables.
Assumptions:
None
Side Effects:
May cause heap compression.
Availability:
On AMS 2.00 and higher.
Note that
RM_Type
is only available on 2.04 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: statEnd, statFree, QstatRcl, VarStore, RM_Type
(continued)

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