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 #1259 background imageLoading...
Page #1259 background image
Appendix B: Global Variables — Apps
1217
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
OO_SuperFrame
Declaration:
pFrame
OO_SuperFrame
Category(ies):
Apps
Description:
Immediately after a call to
OO_GetAttr
or
OO_GetAppAttr
to get an object
frame attribute,
OO_SuperFrame
contains a pointer to the parent frame of
the frame from which the attribute was retrieved. This is used to call
inherited methods in an object’s parent hierarchy.
Inputs:
Not applicable.
Outputs:
Not applicable.
Assumptions:
Access_AMS_Global_Variables must be defined.
Side Effects:
Not applicable.
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
Not applicable
Example:
This example uses a hierarchy of three object frames to illustrate how
inherited methods are called. Frame C inherits from B which in turn inherits
from A. Frame A is the base frame.
#include "tiams.h"
/* FDL source:
func 0x10001 foo(pFrame): void;
The FDL compiler generates the following macros given the above source.
*/
#define OO_FOO (65537)
#define foo(obj) \
((void (* const)(pFrame))OO_GetAttr(obj,65537))(obj)
void A_foo(pFrame);
void B_foo(pFrame);
FRAME(A, 0, 0, OO_FOO, 1)
ATTR(OO_FOO, &A_foo)
ENDFRAME
FRAME(B, &A, 0, OO_FOO, 1)
ATTR(OO_FOO, &B_foo)
ENDFRAME
(continued)

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