Ng_Execute - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Expression Evaluation /
Algebraic Simplification

NG_execute

Declaration:
void NG_execute (HANDLE hExpr , BOOL bApprox )
Category(ies):
Expression Evaluation / Algebraic Simplification
Description:
Executes one or more expressions or statements.
hExpr
Inputs:
bApprox — NG_APPROXIMATE approximates the result.
Outputs:
Depending upon the input, may push evaluation result on estack in external
tokenized form. The evaluation of an algebraic expression or a function
leaves a result on the estack. The execution of commands or programs
does not leave a result on the estack.
Assumptions:
None
Clears error context, resets control flags, may cause estack expansion,
Side Effects:
heap compression, or throw errors.
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
Example:
If h is the HANDLE of memory containing a tokenized form of the statement
Define f(x) = sin(x)
then
NG_execute (h, NG_DONT_APPROXIMATE);
would define the function f in the current symbol table and would not leave any result on the
estack.
TI-89 / TI-92 Plus Developer Guide
— HANDLE of memory containing expression(s) or
statement(s) to execute.
NG_DONT_APPROXIMATE uses the current mode setting.
Not for Distribution
541
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents