EasyManua.ls Logo

Texas Instruments TI-89 - Gen_Version

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
338
Appendix A: System Routines — Data Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
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.
Inputs:
i
EStackIndex of the object for which a version number is needed.
j
NULL_INDEX when
i
is terminated by END_OF_SEGMENT_TAG.
Otherwise, EStackIndex of the byte following the last byte of
i
.
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.

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals