Cumsum(), Custmoff, Custmon – Texas Instruments TITANIUM TI-89 User Manual
Page 802: Custom

802
Appendix A: Functions and Instructions
cumSum()
MATH/List menu
cumSum(
list1
)
⇒
⇒
⇒
⇒
list
Returns a list of the cumulative sums of the
elements in
list1
, starting at element 1.
cumSum({1,2,3,4})
¸
{1 3 6 10}
cumSum(
matrix1
)
⇒
⇒
⇒
⇒
matrix
Returns a matrix of the cumulative sums of the
elements in
matrix1
. Each element is the
cumulative sum of the column from top to
bottom.
[1,2;3,4;5,6]! m1
¸
1 2
3 4
5 6
cumSum(m1)
¸
1 2
4 6
9 12
CustmOff
CATALOG
CustmOff
Removes a custom toolbar.
CustmOn
and
CustmOff
enable a program to
control a custom toolbar. Manually, you can press
2 ¾ to toggle a custom toolbar on and
off. Also, a custom toolbar is removed
automatically when you change applications.
See
Custom
program listing example.
CustmOn
CATALOG
CustmOn
Activates a custom toolbar that has already been
set up in a
Custom...EndCustm
block.
CustmOn
and
CustmOff
enable a program to
control a custom toolbar. Manually, you can press
2 ¾ to toggle a custom toolbar on and
off.
See
Custom
program listing example.
Custom
2 ¾ key
Custom
block
EndCustm
Sets up a toolbar that is activated when you press
2 ¾. It is very similar to the
ToolBar
instruction except that
Title
and
Item
statements
cannot have labels.
block
can be either a single statement or a series
of statements separated with the “:” character.
Note: 2 ¾ acts as a toggle. The first
instance invokes the menu, and the second
instance removes the menu. The menu is removed
also when you change applications.
Program listing:
:Test()
:Prgm
:Custom
:Title "Lists"
:Item "List1"
:Item "Scores"
:Item "L3"
:Title "Fractions"
:Item "f(x)"
:Item "h(x)"
:Title "Graph"
:EndCustm
:EndPrgm