Push_Parse_Text - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix A: System Routines — Token Operations

push_parse_text

Declaration:
Boolean push_parse_text (unsigned char * cp )
Category(ies):
Token Operations
Description:
The tokenization routine that creates external tokenized form from text
input.
cp — Points to a null terminated text string.
Inputs:
Outputs:
Pushes the external tokenized form of the input onto the expression stack.
Returns TRUE when the input represents a single algebraic expression.
Returns FALSE when the input contains a § operation, any command,
or any statement separator indicating more than one statement is
represented.
Assumptions:
None
Side Effects:
May expand expression stack and may cause heap compression.
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
NG_tokenize
Example:
/* Given the text string "x + y", push the external tokenized form of the expression
(X_VAR_TAG Y_VAR_TAG ADD_TAG) onto the expression stack. */
unsigned char expression[] = "x + y";
(void) push_parse_text (expression);
TI-89 / TI-92 Plus Developer Guide
Not for Distribution
1091
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