Re: TI83 expr() function - bug?


[Prev][Next][Index][Thread]

Re: TI83 expr() function - bug?



>   Stuart Dawson <sd@dawson-eng.demon.co.uk> writes:
>  Anybody
>          Is this a bug in the TI-basic, or am I doing something wrong?
>
>  This bit of code should copy any one of the matrices [A] to [I],
>  depending on the string input, into [J]:
>
>  Input "MATRIX? ",Str0
>  expr("["+Str0+"]")\->\[J]
>
>  This flames out on my TI-83. Picking the "2:Goto" option doesn't bring
>  up the offending line in the program editor as it should. Instead, it
>  just clears the home screen and quits. Same thing with a numbered list
>  (L1 to L6), but it works fine with a named list.
>
>  Any ideas?
>
>  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>  Stuart Dawson                          Dawson Engineering
>  49 Knockbracken Park, Belfast  BT6 0HL,  Northern Ireland
>  sd@dawson-eng.demon.co.uk                 +44 1232 640669
>  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
>  Turnpike evaluation. For information, see http://www.turnpike.com/
>
>>>>
The symbols for matrices *appear* to be letters enclosed in square brackets,
but they're really special tokens. If you store an equation with matrices and
edit it, you'll see that "[A]" is really just one character. You have to say
"If Str0="A":Then [A]\->\[J]" or something like that.


                                        Harry


References: