Notes about calling programs – Texas Instruments TI-84 User Manual

Page 460

Advertising
background image

Chapter 16: Programming

457

command in the first program when it encounters either

Return

or the implied

Return

at

the end of the second program.

Subroutine

( '

Notes about Calling Programs

Notes about Calling Programs

Notes about Calling Programs

Notes about Calling Programs

Variables are global.

label

used with

Goto

and

Lbl

is local to the program where it is located.

label

in one

program is not recognized by another program. You cannot use

Goto

to branch to a

label

in another program.

Return

exits a subroutine and returns to the calling program, even if it is encountered

within nested loops.

Program

Output

Advertising