Programming
580
Note:
If a program has local variables, a graphed function cannot access them. For
example:
may display an error or an unexpected result (if
a
is an existing variable in the current
folder).
Circular Definition Errors
When evaluating a user-defined function or running a program, you can specify an
argument that includes the same variable that was used to define the function or create
the program. However, to avoid Circular definition errors, you must assign a value for
x or i variables that are used in evaluating the function or running the program.
For example:
Ê
Causes a
Circular definition
error message if x or i does not have a value. The error
does not occur if x or i has already been assigned a value.
Local a
5
!
a
Graph a
ù
cos(x)
Ê
Ê
x+1
!
x
– or –
For i,i,10,1
Disp i
EndFor
Summary of Contents for Titanium TI-89
Page 9: ...Getting Started 6 TI 89 Titanium keys Ë Ì Í Ê ...
Page 34: ...Getting Started 31 2 or D 2 B u s i n e s s D B D B Press Result ...
Page 43: ...Getting Started 40 3 0 D B D D B D Press Result ...
Page 44: ...Getting Started 41 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Page 58: ...Getting Started 55 Example Set split screen mode to TOP BOTTOM Press Result 3 B D ...
Page 70: ...Getting Started 67 ...
Page 175: ...Operating the Calculator 172 From the Keyboard ...
Page 456: ...Tables 453 ...
Page 527: ...Data Matrix Editor 524 ...