Appendix A: System Routines — Variables
1141
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
EX_stoBCD
Declaration:
void
EX_stoBCD
(UCHAR *
name
, BCD16 *
bcd
)
Category(ies):
Variables
Description:
Stores BCD value into a variable in the calculator’s symbol table.
Inputs:
name
— Pointer to the name of a calculator variable where the BCD
value should be stored. The name is a standard C
zero-terminated string except it consists of unsigned characters
since the names of variables in this calculator may contain
international letters in the range ‘\xC0’ to ‘\xFF’.
The name may be an eight-letter variable name or eight-letter
folder name and variable name separated by a back-slash.
bcd
— Pointer to BCD value to store.
Outputs:
None
Assumptions:
Variable named in
name
will be created if it does not already exist. Value in
name
will be overwritten unless it is a protected type.
Side Effects:
May cause heap compression. Throws an error if variable
name
cannot be
created or overwritten.
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: EX_getBCD
Example:
BCD16 csum;
.
. /* calculate csum */
.
EX_stoBCD((UCHAR *)"myfold" SYM_SEP_STR "csum", &csum);