Texas Instruments TINSPIRE Reference Guide - Page 144

Invalid outside Loop..EndLoop, For..EndFor, or While..EndWhile blocks, Invalid in Try..EndTry block

Page 144 highlights

Error code 230 235 240 250 260 270 280 290 295 300 310 320 345 350 360 380 390 400 410 430 435 440 450 490 510 550 560 565 Description Dimension A list or matrix index is not valid. For example, if the list {1,2,3,4} is stored in L1, then L1[5] is a dimension error because L1 only contains four elements. Dimension Error. Not enough elements in the lists. Dimension mismatch Two or more arguments must be of the same dimension. For example, [1,2]+[1,2,3] is a dimension mismatch because the matrices contain a different number of elements. Divide by zero Domain error An argument must be in a specified domain. For example, rand(0) is not valid. Duplicate variable name Else and ElseIf invalid outside of If...EndIf block EndTry is missing the matching Else statement Excessive iteration Expected 2 or 3-element list or matrix The first argument of nSolve must be an equation in a single variable. It cannot contain a non-valued variable other than the variable of interest. First argument of solve or cSolve must be an equation or inequality For example, solve(3x^2-4,x) is invalid because the first argument is not an equation. Inconsistent units Index out of range Indirection string is not a valid variable name Undefined Ans Either the previous calculation did not create Ans, or no previous calculation was entered. Invalid assignment Invalid assignment value Invalid command Invalid for the current mode settings Invalid guess Invalid implied multiply For example, x(x+1) is invalid; whereas, x*(x+1) is the correct syntax. This is to avoid confusion between implied multiplication and function calls. Invalid in a function or current expression Only certain commands are valid in a user-defined function. Invalid in Try..EndTry block Invalid list or matrix Invalid outside function or program A number of commands are not valid outside a function or program. For example, Local cannot be used unless it is in a function or program. Invalid outside Loop..EndLoop, For..EndFor, or While..EndWhile blocks For example, the Exit command is valid only inside these loop blocks. Invalid outside program 138 TI-Nspire™ Reference Guide

  • 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

138
TI-Nspireā„¢ Reference Guide
230
Dimension
A list or matrix index is not valid. For example, if the list {1,2,3,4} is stored in L1, then L1[5] is a dimension error
because L1 only contains four elements.
235
Dimension Error. Not enough elements in the lists.
240
Dimension mismatch
Two or more arguments must be of the same dimension. For example, [1,2]+[1,2,3] is a dimension mismatch
because the matrices contain a different number of elements.
250
Divide by zero
260
Domain error
An argument must be in a specified domain. For example,
rand(0)
is not valid.
270
Duplicate variable name
280
Else and ElseIf invalid outside of If...EndIf block
290
EndTry is missing the matching Else statement
295
Excessive iteration
300
Expected 2 or 3-element list or matrix
310
The first argument of
nSolve
must be an equation in a single variable. It cannot contain a non-valued variable
other than the variable of interest.
320
First argument of solve or cSolve must be an equation or inequality
For example, solve(3x^2-4,x) is invalid because the first argument is not an equation.
345
Inconsistent units
350
Index out of range
360
Indirection string is not a valid variable name
380
Undefined Ans
Either the previous calculation did not create Ans, or no previous calculation was entered.
390
Invalid assignment
400
Invalid assignment value
410
Invalid command
430
Invalid for the current mode settings
435
Invalid guess
440
Invalid implied multiply
For example, x(x+1) is invalid; whereas, x*(x+1) is the correct syntax. This is to avoid confusion between implied
multiplication and function calls.
450
Invalid in a function or current expression
Only certain commands are valid in a user-defined function.
490
Invalid in Try..EndTry block
510
Invalid list or matrix
550
Invalid outside function or program
A number of commands are not valid outside a function or program. For example,
Local
cannot be used unless it
is in a function or program.
560
Invalid outside Loop..EndLoop, For..EndFor, or While..EndWhile blocks
For example, the Exit command is valid only inside these loop blocks.
565
Invalid outside program
Error code
Description