EasyManua.ls Logo

Texas Instruments TI-89 Titanium

Texas Instruments TI-89 Titanium
977 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming 573
If the function requires input, one or more values must be passed to the function. (A
user-defined function can store to local variables only, and it cannot use instructions that
prompt the user for input.)
How to Return a Value from a Function
There are two ways to return a value from a function:
As the last line in the function
(before
EndFunc), calculate the
value to be returned.
:cube(x)
:Func
:x^3
:EndFunc
Function name, which you
specify when you create a
new function.
Enter your commands
between Func and
EndFunc.
All function lines
begin with a colon.
Be sure to edit this line to include any
necessary arguments. Remember to use
argument names in the definition that will
never be used when calling the function.

Table of Contents

Other manuals for Texas Instruments TI-89 Titanium

Related product manuals