Hey everyone, I'm sure this isn't the usual kind of post that appears in this forum, but I thought it would be kind of nice to have on the site. I'm documenting my mission of learning to program on a calculator!!!
A big reason I haven't tried up until now is because it always seemed like a very daunting task to me, and I think a thread of someone with zero coding experience learning to code could help a lot of others feel confident enough to start learning, too!
For anyone wanting to start as well, I am learning off of the Calculator Programming Book from the site's Resources section.
Hello World
The basic Hello World program!! This was like, shockingly easy, actually... I wasn't expecting it to be just one line of code.
Quadratic Solver
Again, very very easy. I'm starting to feel a little bit silly for being so scared to start!
Guessing Game
For this one, I decided to not follow the guide and instead try it myself first.
This version works, but it's not very fun. I then followed the guide's version. Well, not fully. I accidentally missed the line that sets the attempt counter to 0 at the beginning, and since I didn't want to retype everything, I just ignored that feature entirely. 😄 Although it was only a single line longer, it was much more fun now.
That is as far as I have gotten in my coding so far!! I will edit this later when I get more stuff done. Unless this gets removed for breaking some sort of rule, and in that case, I am very sorry moderators!!!
~~~~~~~Part 2~~~~~~~
Hey all, I've returned! With not a lot of progress, still... I'm working on it, though!
Before I get to the actual updates, I have a correction on my previous version!
Turns out to add or correct something, you don't actually need to delete anything! For people that don't know, you can do insert-typing mode instead of replace-typing mode by pressing "ins!" ([2nd], [del]) That lets you insert numbers before the number you have selected, instead of overwriting the number. For entire lines, you can use the program context menu with f5! ([alpha], [graph]) Then just hit "Insert Line Above," or any of the other incredibly useful commands!
Simple Animation
This one was a simple, easy animation. It just makes an equals sign go from left to right every time ENTER was pressed.
Square Calculator
This program was by far the easiest! It just calculates the square of a number!
Conversation
Going from very simple to much more complicated, this program takes user input and displays it as a sentence! I'm still working on it as I type, actually... Here is what I have so far.
It's not very pretty...
About five minutes into the future (my username is fitting here), and I've made this!
Much better. It looks nice now!!!
Multiplication Question
This one is not part of the book, but rather a challenge I gave myself. Program a simple test! This just asks you a simple multiplication question. Here is the rough draft!
Again, not very good looking. Let's go over to future me with the revamped, pretty-ified version!
Future me here, this time I made it look much better by using my recently-made-favorite command, "Output("!!!
The Code (Not all of it, I won't make you look at all of the code for everything I make.)
There it is! Now everything is clearly laid out and it even shows what the correct answer is when you get it wrong! Man, I'm great at this... Since I am so great at this, I am going to leave this update here while I go figure out how to upload this Multiplication Question program here! Next update will have the link, unless I forget.
~~~~~~~Part 3~~~~~~~
Good morning everybody! My program was accepted!
You can find the download link here!
Back to my awesome coding progress.
Infinite Loop
This program seems completely useless, and that is because... it is. It just starts an infinite loop that will never end unless you press [ON]. But it showed me how to use Lbl and Goto commands! I actually had to sneak in a Pause to get a screenshot, since the loop moved too fast otherwise!
Guessing Game UPDATE
You guys remember my guessing game from earlier! Well, I deleted that before I realized I needed to keep that so I could edit it for this practice! Oops! I went back and just copied down the guide's version, so that's why it looks a little different.
The guide wants me to change it to use Lbl and Goto tags! So, I'm going to do that.
This was my attempt, which made the code much longer and more complicated, so I'm going to assume I did it wrong. It still works, however!
This is what the guide did. Wow. Okay, I'm a little embarrassed that I over-complicated it so much. Well, at least now I know, I guess!
(Also, I figured out how to cheat in the Number Guessing game!!! You can just use rcl N to instantly get the number in 1 attempt!)
More Updates
Now I get to learn how to add a fancy little menu! How fun!
I actually think I will add this to my multiplication program!
Perfect! And I also fixed what could have been a possible memory leak? Maybe. I'm not really sure if it was one or not. This is where I will leave my update off at so I can go update my program!!! See you guys later!
A big reason I haven't tried up until now is because it always seemed like a very daunting task to me, and I think a thread of someone with zero coding experience learning to code could help a lot of others feel confident enough to start learning, too!
For anyone wanting to start as well, I am learning off of the Calculator Programming Book from the site's Resources section.
Hello World
The basic Hello World program!! This was like, shockingly easy, actually... I wasn't expecting it to be just one line of code.
Quadratic Solver
Again, very very easy. I'm starting to feel a little bit silly for being so scared to start!
Guessing Game
For this one, I decided to not follow the guide and instead try it myself first.
This version works, but it's not very fun. I then followed the guide's version. Well, not fully. I accidentally missed the line that sets the attempt counter to 0 at the beginning, and since I didn't want to retype everything, I just ignored that feature entirely. 😄 Although it was only a single line longer, it was much more fun now.
That is as far as I have gotten in my coding so far!! I will edit this later when I get more stuff done. Unless this gets removed for breaking some sort of rule, and in that case, I am very sorry moderators!!!
~~~~~~~Part 2~~~~~~~
Hey all, I've returned! With not a lot of progress, still... I'm working on it, though!
Before I get to the actual updates, I have a correction on my previous version!
Quote:
I accidentally missed the line that sets the attempt counter to 0 at the beginning, and since I didn't want to retype everything, I just ignored that feature entirely.
Turns out to add or correct something, you don't actually need to delete anything! For people that don't know, you can do insert-typing mode instead of replace-typing mode by pressing "ins!" ([2nd], [del]) That lets you insert numbers before the number you have selected, instead of overwriting the number. For entire lines, you can use the program context menu with f5! ([alpha], [graph]) Then just hit "Insert Line Above," or any of the other incredibly useful commands!
Simple Animation
This one was a simple, easy animation. It just makes an equals sign go from left to right every time ENTER was pressed.
Square Calculator
This program was by far the easiest! It just calculates the square of a number!
Conversation
Going from very simple to much more complicated, this program takes user input and displays it as a sentence! I'm still working on it as I type, actually... Here is what I have so far.
It's not very pretty...
About five minutes into the future (my username is fitting here), and I've made this!
Much better. It looks nice now!!!
Multiplication Question
This one is not part of the book, but rather a challenge I gave myself. Program a simple test! This just asks you a simple multiplication question. Here is the rough draft!
Again, not very good looking. Let's go over to future me with the revamped, pretty-ified version!
Future me here, this time I made it look much better by using my recently-made-favorite command, "Output("!!!
The Code (Not all of it, I won't make you look at all of the code for everything I make.)
There it is! Now everything is clearly laid out and it even shows what the correct answer is when you get it wrong! Man, I'm great at this... Since I am so great at this, I am going to leave this update here while I go figure out how to upload this Multiplication Question program here! Next update will have the link, unless I forget.
~~~~~~~Part 3~~~~~~~
Good morning everybody! My program was accepted!
You can find the download link here!
Back to my awesome coding progress.
Infinite Loop
This program seems completely useless, and that is because... it is. It just starts an infinite loop that will never end unless you press [ON]. But it showed me how to use Lbl and Goto commands! I actually had to sneak in a Pause to get a screenshot, since the loop moved too fast otherwise!
Guessing Game UPDATE
You guys remember my guessing game from earlier! Well, I deleted that before I realized I needed to keep that so I could edit it for this practice! Oops! I went back and just copied down the guide's version, so that's why it looks a little different.
The guide wants me to change it to use Lbl and Goto tags! So, I'm going to do that.
This was my attempt, which made the code much longer and more complicated, so I'm going to assume I did it wrong. It still works, however!
This is what the guide did. Wow. Okay, I'm a little embarrassed that I over-complicated it so much. Well, at least now I know, I guess!
(Also, I figured out how to cheat in the Number Guessing game!!! You can just use rcl N to instantly get the number in 1 attempt!)
More Updates
Now I get to learn how to add a fancy little menu! How fun!
I actually think I will add this to my multiplication program!
Perfect! And I also fixed what could have been a possible memory leak? Maybe. I'm not really sure if it was one or not. This is where I will leave my update off at so I can go update my program!!! See you guys later!


