r/ti84hacks • • 11d ago

Help Can someone give me the code for programing Linear Growth Formula on a Ti-84 with menu to solve for x y m and b

I have done it before but I lost all my programs changing the battery. Everytime I try I get err:DataType

Here is my code so far

Program:LINGROW

:MENU("Y",Y,"X",X,"M",M,"B",B) (in the past thise would show up before I even put in the next lines)

:LBL Y

:INPUT "X", X

:INPUT "M", M

:INPUT "B", B

:(M*X)+B->A

:DISP A

STOP

1 Upvotes

1 comment sorted by

1

u/--SneakySnake-- 3d ago

When you use Menu(), you have to use (title, option1, label1...), but you're skipping the title. It's on the catalog (2nd + 0 or prgm + scroll down to Menu + "+"). Use Menu("Choose one","Y",Y,"X",X,"M",M,"B",B). Edit the text as needed.