Gen_Version - Texas Instruments TI-89 Developer's Manual

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

Advertisement

338

gen_version

Declaration:
unsigned char gen_version (EStackIndex i , EStackIndex j )
Category(ies):
Data Utilities
Description:
This function is used to generate a version number to be stored in the
version field of an object's symbol table entry.
i
Inputs:
j
Outputs:
Returns one of the following values: TV_TI_92, TV_PARM, TV_SPAM,
TV_CRAM, TV_3RDPARTYAPP, TV_SCRAM.
Assumptions:
Either the object indexed by i is terminated by an
END_OF_SEGMENT_TAG, or the object is delimited by i and j .
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
Example:
If m indexes the bolded tag in the expression x+2 and n indexes the next tag below the
expression as follows
ï X_VAR_TAG 2 1 NONNEGATIVE_INTEGER_TAG ADD_TAG
then
unsigned char ver = gen_version (m, n);
assigns the version number of the expression to the variable ver.
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Data Utilities
— EStackIndex of the object for which a version number is needed.
— NULL_INDEX when i is terminated by END_OF_SEGMENT_TAG.
Otherwise, EStackIndex of the byte following the last byte of i .
Not for Distribution
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