Calling one program from another – Texas Instruments TITANIUM TI-89 User Manual
Page 590

Programming
590
Note:
Because x and y in the function are local, they are not affected by any existing x or
y variable.
Calling One Program from Another
Calling One Program from Another
Calling One Program from Another
Calling One Program from Another
One program can call another program as a subroutine. The subroutine can be external
(a separate program) or internal (included in the main program). Subroutines are useful
when a program needs to repeat the same group of commands at several different
places.
Function as called from the Home Screen
Function as defined in
the Program Editor
4
ù
xroot(3,125)
20
:xroot(x,y)
:Func
:y^(1/x)
:EndFunc
3
!
x:125
!
y
5