0
votes

I've written some code for my TI-84+ calculator using an online tool called cemetech, but I receive the above error when trying to transfer the code to my calculator via USB and the TI-Connect software.

I've done some research and apparently this problem can arise when there's a problem with the code, but I don't know enough about TI Basic to know if I've done something wrong or not. This is what I'm trying to transfer:

Prompt x
Prompt y
Prompt w
(x-y)/w->z
Disp z
If z=0.00:then:a=.5000
If z=0.01:then:a=.5040
...(and so on until z=0.49)
Disp a

I wasn't able to find any articles related to TI Basic here, so I'm not sure if I'm in the right place or not, but any help with this would be much appreciated!

2

2 Answers

0
votes

The equals sign (=) tests equality, which you probably don't want. You want the assignment operator, (→). Also, I don't see any End statements. If:Then: requires End. For your code, you don't need the Then, your code should be something like

Prompt x
Prompt y
Prompt w
(x-y)/w→z
Disp z
If z=0.00:.5000→a
If z=0.01:.5040→a
...(and so on until z=0.49)
Disp a
0
votes

Butting in for a moment:

If you are trying to store data into a variable using TI Connect, then:

Use the list of tools on the left hand side and go to:

Char > Keypad > (first option should be an arrow like you'd get with STO> button)

this should allow you to store your data into your variable of choice.

If you weren't looking for this information, my apologies for butting in =)