I just started using the TI-89 Titanium calculator, and I'm working on programming. When I launch my "headtail" program, it prints the above error. When I click "Go to", the pointer goes on the line ":Prompt a" I don't think the rest of my program is a problem, but here is what I did : :headtail() :Prgm :Disp "Head(0) or Tail(1)?" :Prompt a :Rand(2) -> b :If a=b :Then :Disp "WINNER!" :Else :Disp "Loser :-(" :EndIf :EndPrgm
Apparently the variable "a" is archived or locked. Press 2ND VAR-LINK (the subtract key). Find the line containing "a". If there's a little x-like thing to the left then its archived. Press F1 9 to unarchive it. If there's a little padlock to the left then its locked. Press F1 7 to unlock it.
SOURCE: error in running program
I agree with the previous solution and would like to add if you declare your variables using the local command then they will only reside in that program.
:prgm
:local db, e, plus other variable used in your program with a comma to separate them.
:prompt
And I think what the above solution is saying is to :Disp "k",k would work better.
I hope you used the Ti commands and not the ones you spell out on your listing, if so you might want to check them too. The store command I can understand why you typed it out.
I like the fact you want to program so remember fixYa to help you develop your programming.
SOURCE: I receive the error "Missing
Put an EndFor command 2 lines down from the For j,1.n/2 line. Right above y1(p) store p. You'll have to have a 0 store p inserted into the program or, you'll get a circular error. I put mine right under input n. Also where you store 0 in s and v.
672 views
Usually answered in minutes!
Let me add that you want to highlight it before pressing F1.
×