EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1017 background imageLoading...
Page #1017 background image
Appendix A: System Routines — Strings
975
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
hStrAppend
Declaration:
void
hStrAppend
(HANDLE
hStr1
, UCHAR *
pStr2
)
Category(ies):
Strings
Description:
Append a string to a handle that contains a string.
Inputs:
hStr1
Handle to string to be lengthened.
Outputs:
pStr2
String to append to handle.
Assumptions:
None
Side Effects:
May cause heap compression. Throws ER_MEMORY if not enough
memory to expand handle — hStr1.
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
None
Example:
This example creates a command string to set the current folder based on
the value selected from a drop-down (OptList[0] index in hOpenFolder).
HANDLE hCurFolderText, hOpenFolder;
WORD OptList[3], DefIndex;
if (!(hOpenFolder = VarCreateFolderPopup(&DefIndex,0)))
ER_throw( ER_MEMORY );
.
.
.
HeapRealloc(hCurFolderText, 20);
memset(HeapDeref(hCurFolderText), 0, 20);
hStrAppend(hCurFolderText, (UCHAR *) XR_stringPtr(XR_setFoldP));
hStrAppend(hCurFolderText, (UCHAR *) PopupText(hOpenFolder,OptList[0]));
hStrAppend(hCurFolderText, (UCHAR *) ")");

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals