EasyManuals Logo

Texas Instruments Titanium TI-89 User Manual

Texas Instruments Titanium TI-89
1008 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
Page #592 background image
Programming 592
An internal subroutine is called and executed in the same way as a separate program.
Ê
Declares the subroutine as a local variable.
Ë Defines the subroutine.
Ì Calls the subroutine.
Note:
Use the Program Editor’s Var toolbar menu to enter the Define and
Prgm...EndPrgm commands.
Notes about Using Subroutines
Notes about Using SubroutinesNotes about Using Subroutines
Notes about Using Subroutines
At the end of a subroutine, execution returns to the calling program. To exit a subroutine
at any other time, use the
Return command.
A subroutine cannot access local variables declared in the calling program. Likewise, the
calling program cannot access local variables declared in a subroutine.
Ê
Ë
©
Ë
Ì
:subtest1()
:Prgm
:local subtest2
:Define subtest2(x,y)=Prgm
: Disp x,y
:EndPrgm
:¦Beginning of main program
:For i,1,4,1
: subtest2(i,I*1000)
:EndFor
:EndPrgm

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Titanium TI-89 and is the answer not in the manual?

Texas Instruments Titanium TI-89 Specifications

General IconGeneral
Display TypeLCD
Display Resolution160 x 100 pixels
Memory188 KB RAM, 2.7 MB Flash ROM
TypeGraphing Calculator
DisplayMonochrome
ProcessorMotorola 68000
Processor Speed12 MHz
Power Source4 AAA batteries
ConnectivityUSB
ProgrammingTI-BASIC, Assembly
Operating SystemAMS (Advanced Mathematics Software)

Related product manuals