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 #704 background imageLoading...
Page #704 background image
692 Programming
A function can refer to any variable; however, it can store a value to a
local variable only. Programs can store to local and global variables.
Note: Arguments used to pass values to a function are treated as
local variables automatically. If you want to store to any other
variables, you must declare them as
Local from within the function.
A function cannot call a program as a subroutine, but it can call
another user-defined function.
You cannot define a program within a function.
A function cannot define a global function, but it can define a local
function.
Calling one program from another
One program can call another program as a subroutine. The subroutine
can be external (a separate program) or internal (included in the main
program). Subroutines are useful when a program needs to repeat the
same group of commands at several different places.
Calling a separate program
To call a separate program, use the same syntax that you use to run the
program from the entry line.
Defining and calling an internal subroutine
To define an internal subroutine, use the Define command with
Prgm...EndPrgm. Because a subroutine must be defined before it can be
called, it is a good practice to define subroutines at the beginning of the
main program.
An internal subroutine is called and executed in the same way as a
separate program.
Define subtest1()=
Prgm
For i,1,4,1
subtest2(i,i
¦1000)
EndFor
EndPrgm
Define subtest2(x,y)=
Prgm
Disp x,y
EndPrgm

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