Programming
586
•
You can create functions that expand on the Voyage™ 200 Graphing Calculator’s
built-in functions. You can then use the new functions the same as any other
function.
•
Functions return values that can be graphed or entered in a table; programs cannot.
•
You can use a function (but not a program) within an expression. For example:
3
ù
func1(3)
is valid, but not
3
ù
prog1(3)
.
•
Because you pass arguments to a function, you can write generic functions that are
not tied to specific variable names.
Note:
You can create a function from the Home screen, but the Program Editor is more
convenient for complex, multi-line functions.
Differences Between Functions and Programs
Differences Between Functions and Programs
Differences Between Functions and Programs
Differences Between Functions and Programs
This guidebook sometimes uses the word command as a generic reference to
instructions and functions. When writing a function, however, you must differentiate
between instructions and functions.
A user-defined function:
•
Can use the following instructions only. Any others are invalid.
Cycle
For...EndFor
Lbl
Return
Define
Goto
Local
While...EndWhile
Exit
If...EndIf
(all forms)
Loop...EndLoop
!
(
§
key)
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 ...