EasyManuals Logo

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 #355 background imageLoading...
Page #355 background image
Appendix A: System Routines — Apps
313
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
OO_GetAppAttr
Declaration:
void *
OO_GetAppAttr
(AppID
app
, ULONG
selector
)
Category(ies):
Apps
Description:
Retrieves an attribute of an app’s object frame.
The prototype chain of each frame in the parent hierarchy beginning with
the object frame of application
app
is searched until attribute
selector
is
found.
Throws ER_ATTRIBUTE_NOT_FOUND error if attribute
selector
cannot be
found.
Global variable
OO_SuperFrame
is updated with the parent of the frame
where the attribute was located or NULL if the attribute was not found.
Inputs:
app
ID of application containing object frame where attribute
search should begin.
selector
Attribute selector number.
Outputs:
See description.
Assumptions:
Rarely would you call
OO_GetAppAttr
directly. The FDL compiler (see
section
7.3.3.3. Frame Description Language
) compiles attribute
declarations into access macros with the call to
OO_GetAppAttr
containing the proper selector number and return type cast. You would call
the macro instead of
OO_GetAppAttr
.
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also: OO_CondGetAttr, OO_GetAttr, OO_HasAttr, OO_SetAppAttr,
OO_SetAttr
Example:
int version;
version = (int const)OO_GetAppAttr(theApp, OO_APP_VERSION);
/* Better yet, call the macro generated by FDL: */
version = GetAppVersion(theApp);

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