Appendix A: System Routines — EStack Utilities
529
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_expression
Declaration:
void
push_expression
(EStackIndex
i
)
Category(ies):
EStack Utilities
Description:
Pushes onto the estack a copy of the expression indexed by
i
.
Inputs:
i
— Indexes the top tag of an expression.
Outputs:
None
Assumptions:
i
points to the estack or some other locked block.
Side Effects:
May cause heap compression or throw an error.
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_between, push_quantum
Example:
void push_var_kern_tail (EStackIndex i)
/* i indexes an expression. Pushes onto the estack a tail of all its variables,
with the most main variable deepest.
*/
{ EStackIndex vi = main_gen_var_index (i);
push_quantum (END_TAG);
while (vi)
{ push_expression (vi);
vi = next_var_or_kernel_index (i, vi);
}
}