Texas Instruments TI-89 사용자 설명서

다운로드
페이지 1008
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