EasyManua.ls Logo

Texas Instruments TI-89 - Deleted_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...
520
Appendix A: System Routines — EStack Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
deleted_between
Declaration:
EStackDisplacement
deleted_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. Returns the
number of deleted quantums.
Inputs:
low,
high
Indexes into the estack.
Outputs:
Returns the number of deleted quantums.
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: delete_between, delete_expression, deleted_expression,
move_between_to_top, moved_between_to_top
Example:
EStackDisplacement moved_between_to_top (EStackIndex i, EStackIndex j )
/* Copies elements from i + 1 through j to top of estack.
Then deletes elements from i + 1 through j.
Then returns the number of quantums deleted.
*/
{ push_between (i, j);
return deleted_between (i, j);
}

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals