Calling other programs as subroutines, Calling a program from another program – Texas Instruments TI-83 PLUS User Manual

Page 538

Advertising
background image

TI-83 Plus

Programming

535

Calling Other Programs as Subroutines

Calling a Program from Another Program

On the

TI-83 Plus

, any stored program can be called from another

program as a subroutine. Enter the name of the program to use as a
subroutine on a line by itself.

You can enter a program name on a command line in either of two ways.

Press



|

to display the

PRGM EXEC

menu and select the name of

the program

prgm

name

is pasted to the current cursor location on a

command line.

Select

prgm

from the

PRGM CTL

menu, and then enter the program

name.

prgm

name

When

prgm

name

is encountered during execution, the next command that

the program executes is the first command in the second program. It
returns to the subsequent command in the first program when it
encounters either

Return

or the implied

Return

at the end of the second

program.

Advertising
This manual is related to the following products: