Appendix A: System Routines — Lists and Matrices
685
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_dimension
Declaration:
void
push_dimension
(EStackIndex
mat_lst_str_idx
)
Category(ies):
Lists and Matrices, Math
Description:
For a list or string pushes on the estack the dimension as a number. For a
matrix pushes the dimensions as a two element list.
Inputs:
mat_lst_str_idx
— Indexes the input list, matrix, or string.
Outputs:
None
Assumptions:
None
Side Effects:
May expand expression stack, cause heap compression, or throw an error.
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
Example:
This example pushes the dimension (three) of a string on the estack.
BYTE str[] = {0,'1','2','3',0,STR_DATA_TAG};
push_dimension( str+5 );