When is a TI-89 ever needed/useful?

Akabane
Thu, 30 Jul 2009 01:42:52 +0000

Ill post hero code, but u must know how to find these calc fnc on ur calculator!! (if u cant find a function, pm me). I highly recommend that u use an 84 or this program will be too slow to enjoy.

If u can’t find a function, click 2nd and then zero (catalog) to get a list of every fnc. click on A on ur calc to get to the As of the catalog, B for bs and so on.

If, then, else, output, clrhome are all under the program menu (click program button)

-> means the store function btw, which is the button above the ON button

code starts here

clrhome
output(1,1,“CALC HERO”)

500->Z
1->C
1->D
0->S

Output(2,1,“-”
Output(3,1,“-”
Output(4,1,“-”
Output(5,1,“-”

" "->Str1 There are 8 spaces within these quotes! Important!!
Pause
Output(7,1,“SCORE:”
Output(8,1,“MULTI*”

Str1->Str2
Str2->Str3
Str3->Str4

" ( "->Str5
" ( "->Str6
" ( “->Str7
" (”->Str8

{0,45,65,85,105}->L1 L1 means List 1
11->dim(L2) dim and Fill are List functions (in list menu)
Fill(1,L2)

For(K,1,Z)
getKey->M
randInt(0,1)*randInt(0,4)+1->A math function in math menu

10->dim(L2)
augment({A},L2) augment is another list function

sub(Str1,2,7)+sub(Str5,A,1)->Str1 sub is a string function in string menu (hit VARS button and scroll to string)
sub(Str2,2,7)+sub(Str6,A,1)->Str2
sub(Str3,2,7)+sub(Str7,A,1)->Str3
sub(Str4,2,7)+sub(str8,A,1)->Str4

Output(2,2,Str1
Output(3,2,Str2
Output(4,2,Str3
Output(5,2,Str4

If M does not equal function here L1(L2(10)) okay,click 2nd math to get does not equal, it is = with slash in it
Then
1->C
1->D
Output(8,8," ") 3 spaces between quotes
Else
If M does not equal function here 0
Then
C+.2->C
iPart(C)->D iPart is in math menu
D*10+S->S
End

End
Output(7,8,S
Output(8,8,D

End

ClrHome
Output(1,1,“Calc Hero”
Output(3,1,“End of Song”
Output(4,1,“Score:”
Output(4,7,S

Pause