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
Summary of Contents for Voyage 200
Page 36: ...Getting Started 36 D B D B Press Result ...
Page 45: ...Getting Started 45 3 0 D B D D B D Press Result ...
Page 46: ...Getting Started 46 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Page 60: ...Getting Started 60 B D Press Result ...
Page 139: ...Previews 139 8 Complete the operation Press 2 d Steps and keystrokes Display 5 f 2 ...
Page 453: ...Differential Equation Graphing 453 ...
Page 468: ...Tables 468 ...
Page 777: ...Activities 777 ...