EasyManuals Logo

Texas Instruments TI-Nspire Software Guide

Texas Instruments TI-Nspire
380 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 #354 background imageLoading...
Page #354 background image
342 Programming
If your function or program allows the user to select from several
options, be sure to run it and test each option.
Techniques for debugging
Run-time error messages can locate syntax errors but not errors in
program logic. The following techniques may be useful.
Temporarily insert
Disp commands to display the values of critical
variables.
To confirm that a loop is executed the correct number of times, use
Disp to display the counter variable or the values in the conditional
test.
To confirm that a subroutine is executed, use Disp to display
messages such as “Entering subroutine” and “Exiting subroutine” at
the beginning and end of the subroutine.
Error-handling commands
Command Description
Try...EndTry
Defines a block that lets a function or program execute
a command and, if necessary, recover from an error
generated by that command.
ClrErr
Clears the error status and sets the error number in
system variable Errornum to zero.
PassErr
Passes an error to the next level of the Try...EndTry
block.

Table of Contents

Other manuals for Texas Instruments TI-Nspire

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments TI-Nspire Specifications

General IconGeneral
TypeDisplay
Form factorPocket
Product colorBlue, White
Display resolution320 x 240 pixels
Display size (HxV) (imperial)0 \
Compatible operating systemsWindows Vista/XP Mac OS X 10.4/10.5
Battery typeAAA
Number of batteries supported4
Weight and Dimensions IconWeight and Dimensions
Dimensions (WxDxH)100 x 198.3 x 28.7 mm

Related product manuals