Texas Instruments TITANIUM TI-89 User Manual
Page 595
Programming
595
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
Circular Definition Errors
Circular Definition Errors
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