532
Appendix A: System Routines — EStack Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_quantum
Declaration:
void
push_quantum
(Quantum
q
)
Category(ies):
EStack Utilities, Token Operations
Description:
Pushes quantum
q
onto the estack if space is available or can be made
available.
Inputs:
q
— Quantum.
Outputs:
None
Assumptions:
None
Side Effects:
Throws ESTACK_OVERFLOW_ERROR if there is not enough space left
on the estack. May cause heap compression.
Availability:
On AMS 1.05 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_expression, push_between
Example:
push_quantum(END_TAG); /* Push a 10-element list of zeros on the estack */
for (i = 0 ; i < 10; i++)
push0 ();
push_quantum (LIST_TAG);