Texas Instruments TINSPIRE Reference Guide - Page 143

Error codes and messages - nspire cas calculator

Page 143 highlights

Error codes and messages When an error occurs, its code is assigned to variable errCode. User-defined programs and functions can examine errCode to determine the cause of an error. For an example of using errCode, See Example 2 under the Try command, page 105. Note: Some error conditions apply only to TI-Nspire™ CAS products, and some apply only to TI-Nspire™ products. Error code 10 20 30 40 50 60 70 90 100 130 140 160 165 170 180 190 200 210 220 Description A function did not return a value A test did not resolve to TRUE or FALSE. Generally, undefined variables cannot be compared. For example, the test If aa, where a is an undefined variable, will cause this error. Constraint expression invalid For example, solve(3x^2-4=0,x) | x5 would produce this error message because the constraint is separated by "or" instead of "and." Invalid Data type An argument is of the wrong data type. Dependent limit TI-Nspire™ Reference Guide 137

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164

TI-Nspire™ Reference Guide
137
Error codes and messages
When an error occurs, its code is assigned to variable
errCode
. User-defined programs and
functions can examine
errCode
to determine the cause of an error. For an example of using
errCode
, See Example 2 under the
Try
command, page
105
.
Note:
Some error conditions apply only to TI-Nspire™ CAS products, and some apply only to
TI-Nspire™ products.
Error code
Description
10
A function did not return a value
20
A test did not resolve to TRUE or FALSE.
Generally, undefined variables cannot be compared. For example, the test If a<b will cause this error if either a or
b is undefined when the If statement is executed.
30
Argument cannot be a folder name.
40
Argument error
50
Argument mismatch
Two or more arguments must be of the same type.
60
Argument must be a Boolean expression or integer
70
Argument must be a decimal number
90
Argument must be a list
100
Argument must be a matrix
130
Argument must be a string
140
Argument must be a variable name.
Make sure that the name:
does not begin with a digit
does not contain spaces or special characters
does not use underscore or period in invalid manner
does not exceed the length limitations
See the Calculator section in the documentation for more details.
160
Argument must be an expression
165
Batteries too low for sending or receiving
Install new batteries before sending or receiving.
170
Bound
The lower bound must be less than the upper bound to define the search interval.
180
Break
The
d
or
c
key was pressed during a long calculation or during program execution.
190
Circular definition
This message is displayed to avoid running out of memory during infinite replacement of variable values during
simplification. For example, a+1->a, where a is an undefined variable, will cause this error.
200
Constraint expression invalid
For example, solve(3x^2-4=0,x) | x<0 or x>5 would produce this error message because the constraint is
separated by “or” instead of “and.”
210
Invalid Data type
An argument is of the wrong data type.
220
Dependent limit