EasyManua.ls Logo

Texas Instruments TINSPIRE User Manual

Texas Instruments TINSPIRE
876 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 #702 background imageLoading...
Page #702 background image
690 Programming
Note: Displaying a result with or does not store that result. If you
expect to refer later to a result, store it to a global variable.
Using local variables
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 For...EndFor loop (which is
discussed later in this module). The variable i is the loop counter. In most
cases, the variable i is used only while the program is running.
À Declares variable i as local.
Note: When possible, declare as local any variable that is used only
within the program and does not need to be available after the program
stops.
What causes an undefined variable error message?
An Undefined variable error message displays when you evaluate a user-
defined function or run a user-defined program that references a local
variable that is not initialized (assigned a value).
For example:
À Local variable m is not assigned an initial value.
©
(p/4)&maximum
maximum
©
Local i À
For i,0,5,1
Disp i
EndFor
Disp i
Define fact(n)=Func
Local m
À
While n>1
n
¦m&m: n–1&n
EndWhile
Return m
EndFunc

Table of Contents

Other manuals for Texas Instruments TINSPIRE

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TINSPIRE and is the answer not in the manual?

Texas Instruments TINSPIRE Specifications

General IconGeneral
ModelTI-Nspire
Resolution320 x 240 pixels
Operating SystemTI-Nspire OS
DisplayLCD
Screen Size3.2 inches
Color Depth16-bit
Battery4 AAA batteries
ConnectivityUSB

Summary

TI-Nspire™ Navigator™ Teacher Software Guidebook

Setting up the TI-Nspire™ Navigator™ Teacher Software

Installing the handheld software

Ensures the latest operating system is installed on handhelds for proper software function and guides the installation process.

Creating and managing your teacher account

Explains how to create a teacher account in Teacher Preferences to log in to the TI-Nspire™ Navigator™ network from a handheld.

Logging in to the TI-Nspire™ Navigator™ system from the handheld

Guides users on how to log in to the TI-Nspire™ Navigator™ network from their handheld for system communication.

Getting started with the TI-Nspire™ Navigator™ Teacher Software

Using the Documents Workspace

Using the Class Workspace

Beginning and ending a class session

Guides users on starting, pausing, resuming, and ending a class session for communication with selected classes.

Using Live Presenter

Starting Live Presenter

Provides instructions on how to start Live Presenter by selecting a student or the teacher handheld.

Recording the live presentation

Guides users on how to record and save the live presentation as a movie file (.avi).

Using Question in the Teacher Software

Polling students

Using the Scratchpad

Calculating with the Scratchpad

Details how to enter and evaluate math expressions, control result format, and use the Catalog for inserting functions and symbols.

Graphing with the Scratchpad

Guides users on how to graph functions, scatter plots, and sequences, including choosing graph types and using the entry line.

Calculator

Entering and evaluating math expressions

Details how to enter simple math expressions, control result format, and use the Catalog for inserting functions and symbols.

Using Variables

Creating variables

Guides users on how any portion or attribute of an object or function can be stored as a variable.

Graphs & Geometry

Using Lists & Spreadsheet

Using Data & Statistics

Programming

Overview of the Program Editor

Introduces the Program Editor for defining, editing, and managing user-defined functions and programs.

Defining a program or function

Guides users on starting a new program or function, defining names, types, and library access.

Data Collection and Analysis

Performing an experiment

Provides an overview of the typical process for performing an experiment, with brief steps and references to detailed sections.

Using advanced data collection options

Covers setting up offline sensors, remote collection units, and triggering for advanced data collection.

Using the TI-SmartView™ emulator

Related product manuals