Executing a program – Texas Instruments TI-73 EXPLORER User Manual

Page 257

Advertising
background image

Chapter 12: Programming

251

7312ENG.DOC CH 12 Programming, English Julie Hewlett Revised: 07/29/98 12:17 PM Printed: 05/19/99 9:02

AM Page 251 of 32

8 " " (from the

Program editor only)

When

prgm

name is encountered during execution, the next

command that the program executes is the first command in

the subroutine. 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.

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.

Executing a Program

The 8

EXEC

(execute) menu lists in alphabetical order all

created programs. From this list, select the program that you

want to execute. The program name is pasted to the cursor

location on the Home screen. Pressing b begins executing

the program. Pressing b after a program is completed

returns you to the Home screen.
The 8

EXEC

menu labels the first 10 items using

1

though

9

,

then

0

. All other programs are still included in the list, but are

not labeled with a number. To select a menu item, press the

number associated with it or highlight the item with the cursor

keys, and then press b.

Advertising