Push_Ord - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Strings

push_ord

Declaration:
void push_ord (EStackIndex i )
Category(ies):
Strings
Description:
Pushes the ASCII value of the first character of a string.
Inputs:
i
Outputs:
Pushes the ASCII value of the first character of the string as a tokenized
integer. If the input is a list of strings, then the routine pushes a list of the
appropriate ASCII values.
Assumptions:
None
Side Effects:
May cause expression stack to grow or heap compression.
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
push_char, push_format, push_instring, push_str_to_expr,
push_string, push_zstr
Example:
push_ord ("hello");
Pushes the ASCII value for 'h' onto the estack as a tokenized integer such that top_estack
points to the bolded tag as follows.
104 1 NONNEGATIVE_INTEGER_TAG
TI-89 / TI-92 Plus Developer Guide
— EStackIndex of a tokenized string or list of tokenized strings.
Not for Distribution
981
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents