Texas Instruments TI-89 Calculator Logo
Posted on Apr 01, 2009
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

Error in running program

Hi, i wrote a program with 4 variables. they all prompt and enter correctly but i get an error that reads "variable or flash application is locked, protected or archived" the "goto" option takes me to the first line of my equation in my program. I my program looks kind of like this:
:km()
:prgm
:prompt db
:prompt e
:........
:.577*e*db*pi......store k
:disp k
:end program

any ideas?
Im new to programming so i dont understand what the issue is. Im following a you tube tutorial on programming an 83... so maybe there are some differences in the two languages....

Thanks

2 Answers

Anonymous

Level 2:

An expert who has achieved level 2 by getting 100 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

  • Expert 360 Answers
  • Posted on Sep 14, 2009
Anonymous
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

Joined: Dec 05, 2008
Answers
360
Questions
1
Helped
199334
Points
908

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.

k24674

Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

  • Texas Instru... Master 8,093 Answers
  • Posted on Sep 12, 2009
k24674
Texas Instru... Master
Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Joined: Aug 17, 2009
Answers
8093
Questions
0
Helped
4761499
Points
21601

Hello,
Languages are different. But I suspect that the name you have given to your program has already been assigned to a previous one. Give another name and retry.
Hope it helps.

  • k24674 Sep 12, 2009

    When you prompt for db, and for e, should'nt you tell the program to READ what you enter. If you do not read the values, each one will have the default value 0.

×

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

597 views

Ask a Question

Usually answered in minutes!

Top Texas Instruments Office Equipment & Supplies Experts

Rommel Balcita

Level 3 Expert

754 Answers

Paul Bade

Level 3 Expert

1849 Answers

Sudeep Chatterjee
Sudeep Chatterjee

Level 3 Expert

3269 Answers

Are you a Texas Instruments Office Equipment and Supply Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...