
Programming
571
•
You can create functions that expand on the TI-89 Titanium’s built-in functions. You
can then use the new functions the same as any other function.
•
Functions return values that can be graphed or entered in a table; programs cannot.
•
You can use a function (but not a program) within an expression. For example:
3
ù
func1(3)
is valid, but not
3
ù
prog1(3)
.
•
Because you pass arguments to a function, you can write generic functions that are
not tied to specific variable names.
Note:
You can create a function from the Home screen, but the Program Editor is more
convenient for complex, multi-line functions.
Differences Between Functions and Programs
This guidebook sometimes uses the word command as a generic reference to
instructions and functions. When writing a function, however, you must differentiate
between instructions and functions.
A user-defined function:
•
Can use the following instructions only. Any others are invalid.
Cycle
For...EndFor
Lbl
Return
Define
Goto
Local
While...EndWhile
Exit
If...EndIf
(all forms)
Loop...EndLoop
!
(
§
key)
Содержание Titanium TI-89
Страница 9: ...Getting Started 6 TI 89 Titanium keys Ë Ì Í Ê ...
Страница 34: ...Getting Started 31 2 or D 2 B u s i n e s s D B D B Press Result ...
Страница 43: ...Getting Started 40 3 0 D B D D B D Press Result ...
Страница 44: ...Getting Started 41 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Страница 58: ...Getting Started 55 Example Set split screen mode to TOP BOTTOM Press Result 3 B D ...
Страница 70: ...Getting Started 67 ...
Страница 175: ...Operating the Calculator 172 From the Keyboard ...
Страница 456: ...Tables 453 ...
Страница 503: ...Split Screens 500 Note Both Top Bottom and Left Right splits use the same methods to select an application ...
Страница 527: ...Data Matrix Editor 524 ...
Страница 704: ...Connectivity 701 A TI 89 Titanium and a Voyage 200 linked together I O Port I O Port I O unit to unit cable ...