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 #999 background imageLoading...
Page #999 background image
Appendix A: System Routines — Statistics
957
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
statStart
(continued)
Example:
This example does no real statistical calculations but shows the steps
involved in an app that writes to the system statistical variables.
{ Access_AMS_Global_Variables;
BYTE tag[2];
BCD16 fN=1.0, fMINX=2.0;
TRY
statStart(); /* allow writes to stat vars */
RM_Type = RM_NONE;
tag[1] = SYSVAR_TAG;
tag[0] = SV_N;
push_Float( fN );
VarStore( tag+1, STOF_ESI, 0, top_estack );
tag[0] = SV_MINX;
push_Float( fMINX );
VarStore( &tag[1], STOF_ESI, 0, top_estack );
statEnd();
ONERR
statEnd(); /* signal we are not writing to stat vars */
PASS; /* pass error on up to previous error handler */
ENDTRY
cmd_showstat();
}

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