EasyManua.ls Logo

Texas Instruments TI-89 - Page 403

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
Loading...
Appendix A: System Routines — Dialog
361
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
VarOpen
(continued)
Example:
/* This is a code fragment from the grapher that is executed when F1,1 (Open) is
selected from the graph menu
*/
HSYM hs;
BYTE Tag, *Ptr;
BYTE SaveTypes[] = { GDB_VAR_TAG, PIC_VAR_TAG, 0 };
if (hs = VarOpen( (BYTE *) SaveTypes )) {
Ptr = HeapDeref(DerefSym(hs)->hVal);
Tag = (VarOptList[0] == 2 ? PIC_VAR_TAG : GDB_VAR_TAG);
if (Tag == PIC_VAR_TAG) {
WinBitmapPut(gr_active->grwinp, 0, 0, (BITMAP *) (Ptr + 2), A_OR );
else
/* . . . recall graph database . . . */
}

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals