Appendix A: Functions and Instructions 779
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
Cycle CATALOG
Cycle
Transfers program control immediately to the next
iteration of the current loop (
For
,
While
, or
Loop
).
Cycle
is not allowed outside the three looping
structures (
For
,
While
, or
Loop
).
Program listing:
:¦ Sum the integers from 1 to
100 skipping 50.
:0! temp
:For i,1,100,1
:If i=50
:Cycle
:temp+i! temp
:EndFor
:Disp temp
Contents of
temp
after execution:
5000