Replace_Top_With_Post_Simplified - 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

replace_top_with_post_simplified

Declaration:
void replace_top_with_post_simplified (EStackIndex old_top )
Category(ies):
Expression Evaluation / Algebraic Simplification
Description:
Replaces the internal-tokenized expression on top of the stack with its
external-tokenized form.
Inputs:
old_top — EStackIndex of position below the internal-tokenized
Outputs:
None
Assumptions:
None
Side Effects:
May expand expression stack, cause heap compression, or throw an error.
Availability:
On AMS 2.03 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
push_simplify_statements, push_simplify, push_internal_simplify
Example:
If the internal-tokenized form of the complex expression a + b †
A_VAR_TAG B_VAR_TAG IM_RE_TAG, is on top of the expression stack, then
replace_top_with_post_simplified (next_expression_index (top_estack));
replaces that expression with its external-tokenized form, which is
A_VAR_TAG B_VAR_TAG I_TAG MULTIPLY_TAG ADD_TAG.
TI-89 / TI-92 Plus Developer Guide
expression on top of the expression stack.
Not for Distribution
, which is
i
Beta Version January 26, 2001
553

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents