Other Content
Table Of Contents
- Important Information
- Getting Started with TI‑Nspire™ Student Software
- Using the Documents Workspace
- Working with Connected Handhelds
- Working with TI‑Nspire™ Documents
- Creating a New TI‑Nspire™ Document
- Opening an Existing Document
- Saving TI‑Nspire™ Documents
- Deleting Documents
- Closing Documents
- Formatting Text in Documents
- Using Colors in Documents
- Setting Page Size and Document Preview
- Working with Multiple Documents
- Working with Applications
- Selecting and Moving Pages
- Working with Problems and Pages
- Printing Documents
- Viewing Document Properties and Copyright Information
- Working with PublishView™ Documents
- Creating a New PublishView™ Document
- Saving PublishView™ Documents
- Exploring the Documents Workspace
- Working with PublishView™ Objects
- Working with TI-Nspire™ Applications
- Working with Problems
- Organizing PublishView™ Sheets
- Using Zoom
- Adding Text to a PublishView™ Document
- Using Hyperlinks in PublishView™ Documents
- Working with Images
- Working with Video Files
- Converting Documents
- Printing PublishView™ Documents
- Working with Lesson Bundles
- Capturing Screens
- Working with Images
- Responding to Questions
- Calculator Application
- Using Variables
- Graphs Application
- What You Must Know
- Graphing Functions
- Manipulating Functions by Dragging
- Specifying a Function with Domain Restrictions
- Finding Points of Interest on a Function Graph
- Graphing a Family of Functions
- Graphing Equations
- Graphing Conic Sections
- Graphing Parametric Equations
- Graphing Polar Equations
- Using the Text Tool to Graph Equations
- Graphing Scatter Plots
- Plotting Sequences
- Graphing Differential Equations
- Viewing Tables from the Graphs Application
- Editing Relations
- Accessing the Graph History
- Zooming/Rescaling the Graphs Work Area
- Customizing the Graphs Work Area
- Hiding and Showing Items in the Graphs Application
- Conditional Attributes
- Calculating Area Between Curves
- Tracing Graphs or Plots
- Introduction to Geometric Objects
- Creating Points and Lines
- Creating Geometric Shapes
- Basics of Working with Objects
- Measuring Objects
- Transforming Objects
- Exploring with Geometric Construction Tools
- Animating Points on Objects
- Adjusting Variable Values with a Slider
- Labeling (Identifying) the Coordinates of a Point
- Displaying the Equation of a Geometric Object
- Using the Calculate Tool
- 3D Graphs
- Geometry Application
- What You Must Know
- Introduction to Geometric Objects
- Creating Points and Lines
- Creating Geometric Shapes
- Basics of Working with Objects
- Measuring Objects
- Transforming Objects
- Exploring with Geometric Construction Tools
- Using Geometry Trace
- Conditional Attributes
- Hiding Objects in the Geometry Application
- Customizing the Geometry Work Area
- Animating Points on Objects
- Adjusting Variable Values with a Slider
- Using the Calculate Tool
- Lists & Spreadsheet Application
- Creating and Sharing Spreadsheet Data as Lists
- Creating Spreadsheet Data
- Navigating in a Spreadsheet
- Working with Cells
- Working with Rows and Columns of Data
- Sorting Data
- Generating Columns of Data
- Graphing Spreadsheet Data
- Exchanging Data with Other Computer Software
- Capturing Data from Graphs & Geometry
- Using Table Data for Statistical Analysis
- Statistics Input Descriptions
- Statistical Calculations
- Distributions
- Confidence Intervals
- Stat Tests
- Working with Function Tables
- Data & Statistics Application
- Notes Application
- Using Templates in Notes
- Formatting Text in Notes
- Using Color in Notes
- Inserting Images
- Inserting Items on a Notes Page
- Inserting Comments in Notes Text
- Inserting Geometric Shape Symbols
- Entering Math Expressions in Notes Text
- Evaluating and Approximating Math Expressions
- Inserting Chemical Equations in Notes
- Deactivating Math Expression Boxes
- Changing the Attributes of Math Expression Boxes
- Using Calculations in Notes
- Exploring Notes with Examples
- Data Collection
- What You Must Know
- About Collection Devices
- Connecting Sensors
- Setting Up an Offline Sensor
- Modifying Sensor Settings
- Collecting Data
- Using Data Markers to Annotate Data
- Collecting Data Using a Remote Collection Unit
- Setting Up a Sensor for Automatic Triggering
- Collecting and Managing Data Sets
- Analyzing Collected Data
- Displaying Collected Data in Graph View
- Displaying Collected Data in Table View
- Customizing the Graph of Collected Data
- Striking and Restoring Data
- Replaying the Data Collection
- Adjusting Derivative Settings
- Drawing a Predictive Plot
- Using Motion Match
- Printing Collected Data
- Libraries
- Getting Started with the Program Editor
- Defining a Program or Function
- Viewing a Program or Function
- Opening a Function or Program for Editing
- Importing a Program from a Library
- Creating a Copy of a Function or Program
- Renaming a Program or Function
- Changing the Library Access Level
- Finding Text
- Finding and Replacing Text
- Closing the Current Function or Program
- Running Programs and Evaluating Functions
- Getting Values into a Program
- Displaying Information from a Function or Program
- Using Local Variables
- Differences Between Functions and Programs
- Calling One Program from Another
- Controlling the Flow of a Function or Program
- Using If, Lbl, and Goto to Control Program Flow
- Using Loops to Repeat a Group of Commands
- Changing Mode Settings
- Debugging Programs and Handling Errors
- Using the TI‑SmartView™ Emulator
- Writing Lua Scripts
- Using the Help Menu
- Support and Service
- Index
504 Getting Started with the Program Editor
Lbl labelName
name to assign to this location (use the
same naming convention as a variable
name)
You can then use the Goto command at any point in the function or program to
branch to the location that corresponds to the specified label.
Goto labelName
specifies which Lbl command to branch
to
Because a Goto command is unconditional (it always branches to the specified
label), it is often used with an If command so that you can specify a conditional
test. For example:
If x>5
Goto GT5À
Disp x
--------
-------- Á
Lbl GT5
Disp "The number was > 5"
À
If x>5, branches directly to label GT5.
Á
For this example, the program must include commands (such as Stop) that
prevent Lbl GT5 from being executed if x{5.
Using Loops to Repeat a Group of Commands
To repeat the same group of commands successively, use one of the loop
structures. Several types of loops are available. Each type gives you a different
way to exit the loop, based on a conditional test.
Loop and loop-related commands reside on the Program Editor’s Control and
Transfers menus.
When you insert one of the loop structures, its template is inserted at the cursor
location. You can then begin entering the commands that will be executed
within the loop.
For...EndFor Loops
A For...EndFor loop uses a counter to control the number of times the loop is
repeated. The syntax of the For command is: