Using Local Variables In Functions Or Programs - Texas Instruments TI-89 Titanium User Manual

Hide thumbs Also See for TI-89 Titanium:
Table of Contents

Advertisement

Command
Description
NewPic
Creates a picture variable based on a matrix.
Rename
Renames a variable.
Unarchiv
Moves specified variables from user data archive memory
to RAM.
Unlock
Unlocks a locked variable.
The
,
Note:
Define
toolbar menu.
Var

Using Local Variables in Functions or Programs

A local variable is a temporary variable that exists only while a user-defined function is
being evaluated or a user-defined program is running.
Example of a Local Variable
The following program segment shows a
this module). The variable
while the program is running.
Ê :Local I
:For i,0,5,1
:
Disp I
:EndFor
:Disp i
Programming
, and
DelVar
Local
is the loop counter. In most cases, the variable
i
commands are available from the Program Editor's
For...EndFor loop
(which is discussed later in
is used only
i
582

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents