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 #705 background imageLoading...
Page #705 background image
Programming 693
À Declares the subroutine as a local variable.
Á Defines the subroutine.
 Calls the subroutine.
Note: Use the Program Editor’s Var menu to enter the Define and
Prgm...EndPrgm commands.
Notes about using subroutines
At the end of a subroutine, execution returns to the calling program. To
exit a subroutine at any other time, use
Return with no argument.
A subroutine cannot access local variables declared in the calling
program. Likewise, the calling program cannot access local variables
declared in a subroutine.
Lbl commands are local to the programs in which they are located.
Therefore, a Goto command in the calling program cannot branch to a
label in a subroutine or vice versa.
Avoiding circular-definition errors
When evaluating a user-defined function or running a program, you can
specify an argument that includes the same variable that was used to
define the function or create the program. However, to avoid circular-
definition errors, you must assign a value for variables that are used in
evaluating the function or running the program. For example:
– or –
Define subtest1()=
Prgm
local subtest2
À
Define subtest2(x,y)=
Á
Prgm
Disp x,y
EndPrgm
©Beginning of main program
For i,1,4,1
subtest2(i,I*1000)
Â
EndFor
EndPrgm
x+1&x À

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