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
Содержание Voyage 200
Страница 36: ...Getting Started 36 D B D B Press Result ...
Страница 45: ...Getting Started 45 3 0 D B D D B D Press Result ...
Страница 46: ...Getting Started 46 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Страница 60: ...Getting Started 60 B D Press Result ...
Страница 139: ...Previews 139 8 Complete the operation Press 2 d Steps and keystrokes Display 5 f 2 ...
Страница 181: ...Operating the Calculator 181 From the Keyboard From the Keyboard From the Keyboard From the Keyboard ...
Страница 453: ...Differential Equation Graphing 453 ...
Страница 468: ...Tables 468 ...
Страница 515: ...Split Screens 515 Note Both Top Bottom and Left Right splits use the same methods to select an application ...
Страница 777: ...Activities 777 ...