EasyManua.ls Logo

Texas Instruments TI-89 - Delete_Between

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
518
Appendix A: System Routines — EStack Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
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.
Inputs:
low,
high
Indexes into the estack.
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);
}

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals