Appendix A: System Routines — Token Operations
1085
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
get_key_ptr
Declaration:
const unsigned char *
get_key_ptr
(Quantum
q1
, Quantum
q2
)
Category(ies):
Token Operations, Strings
Description:
Used by the detokenization routine to access the catalog string associated
with a particular token.
Inputs:
q1
— The first token value.
q2
— The second token value or zero if the first token is a primary tag.
Outputs:
A pointer to the catalog string associated with the token specified by the
input values. The return value may be a NULL pointer if no string is
associated with the input values.
Assumptions:
The input token is NOT any type of user variable, any type of number, or
any type of arbitrary constant (@1, @n1, etc.). These types will cause the
routine to return a pointer to the string “_ERROR_”.
Side Effects:
None
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
(continued)