The Pi Practice Program (try saying that five times fast!) is a program designed to let you practice and learn Pi. It will eventually include a practice mode as well as a mode that lets you test your Pi knowledge. As I am not a very good programmer, this will take a lot of time.

To do:
-Add start screen
-Add Quiz mode
-Finish up Practice mode
-Optimize

Done: Not a whole lot Razz
-Basic display framework


Code:
iPI


det(0
maxYPI
0→A



det(74,20,20
det(5,0
det(19,85,45
det(21,225
det(20,0
det(22,1


Repeat getKey(15)=1

det(19,85,45

If getKey(2)=1

det(9,1
det(5,0
det(16,{L₁+A},1
det(11,1
A-1→A

Pause 100
End
If getKey(3)=1

det(9,1
det(5,0
det(16,{L₁+A},1
det(11,1
A+1→A

Pause 100
End
End


Pause
det(1

Lbl PI
CopyData(L₁,1,3,1,4,1,5,9,2,6,5,3,5,8,9,7,9,3,2,3,8,4,6)
Return


For some reason, this program gets very laggy when you view the last digits stored in the list, taking 3-4 seconds to load the number. What can I do to fix it? Thanks in advance!
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement