622
Appendix A: System Routines — Home Screen
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
HomeExecute
Declaration:
void
HomeExecute
(UCHAR *
sCmd
, USHORT
nCmd
)
Category(ies):
Home Screen, Strings, Expression Evaluation / Algebraic Simplification
Description:
Executes string on Home screen.
Inputs:
sCmd
— Pointer to string to execute. This is not a zero-terminated
string.
nCmd
— Length of string.
Outputs:
None
Assumptions:
The Home screen app is started if necessary,
nCmd
is pasted to the author
line, and a
²
keypress event is sent.
Side Effects:
May cause heap compression. May throw errors.
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
Not applicable.
Example:
UCHAR *pCommand;
.
. /* Point pCommand to command string */
.
HomeExecute(pCommand, strlen((char *)pCommand));