Appendix A: Functions and Instructions 891
Toolbar CATALOG
Toolbar
block
EndTBar
Creates a toolbar menu.
block
can be either a single statement or a
sequence of statements separated with the “:”
character. The statements can be either
Title or
Item.
Items must have labels. A Title must also have a
label if it does not have an item.
Program segment:
©
:Toolbar
: Title "Examples"
: Item "Trig", t
: Item "Calc", c
: Item "Stop", Pexit
:EndTbar
©
Note: When run in a program, this segment
creates a menu with three choices that branch
to three places in the program.
Trace CATALOG
Trace
Draws a Smart Graph and places the trace cursor
on the first defined Y= function at the previously
defined cursor position, or at the reset position if
regraphing was necessary.
Allows operation of the cursor and most keys
when editing coordinate values. Several keys,
such as the function keys, O, and 3, are
not activated during trace.
Note: Press ¸ to resume operation.
Try CATALOG
Try
block1
Else
block2
EndTry
Executes
block1
unless an error occurs. Program
execution transfers to
block2
if an error occurs in
block1
. Variable errornum contains the error
number to allow the program to perform error
recovery.
block1
and
block2
can be either a single statement
or a series of statements separated with the “:”
character.
Program segment:
©
:Try
: NewFold(temp)
: Else
:
¦Already exists
: ClrErr
:EndTry
©
Note: See ClrErr and PassErr.