Replace_Top2_With_Or - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix A: System Routines — Logic

replace_top2_with_or

Declaration:
void replace_top2_with_or (EStackIndex i )
Category(ies):
Logic
Description:
Replaces the top two expressions with their internally-simplified logical "or."
Inputs:
i
Outputs:
None
Assumptions:
The top two expressions are internally-simplified Boolean expressions.
Side Effects:
None
On AMS 2.02 and higher.
Availability:
TI-89 / TI-92 Plus
Differences:
None
See Also:
or_onto_top, push_or
Example:
/* Replaces the top two expressions with a variable x. */
push_quantum (FALSE_TAG);
i = top_estack;
push_quantum (8u);
replace_top2_with_or (i);
TI-89 / TI-92 Plus Developer Guide
— Indexes the top tag of the internally-simplified Boolean expression
next_expression_index (top_estack).
Not for Distribution
747
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