Delete_Between - Texas Instruments TI-89 Developer's Manual

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

Advertisement

518

delete_between

Declaration:
void delete_between (EStackIndex low , EStackIndex high )
Category(ies):
EStack Utilities
Description:
Deletes the quantums occupying from index low + 1 through high by
copying down the quantums from high + 1 through global top_estack,
which is then reduced by the number of deleted quantums.
low, high —
Inputs:
Outputs:
None
Assumptions:
bottom_estack <= low and low <= high and high <= top_estack.
Side Effects:
top_estack is reduced by the number of deleted quantums.
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
deleted_between, delete_expression, deleted_expression,
move_between_to_top, moved_between_to_top
Example:
void replace_top2_with_sum (EStackIndex i)
/* i indexes next-to-top expression.
Replaces the top two expressions with their sum.
*/
{
Access_AMS_Global_Variables;
EStackIndex j = top_estack;
push_sum (i, j);
delete_between (next_expression_index (i), j);
}
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — EStack Utilities
Indexes into the estack.
Not for Distribution
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