In this first example, we’ll write a simple program to convert square feet to acres. There are five steps to writing your first program (and one of the steps is to run it!)
- Add a new package for your programs
- Add a new program to your package
- Edit the program to do the conversion
- Run the program to test it
- Bind the program to a key
When you are done you will not only have a new program, but it will run when you press button P1 on the calculator!
First press the BC BASIC button to show the BC BASIC environment. This is where you will create, edit and run your programs. The Library of Packages screen will pop up. A package is a bundle of individual programs; you’re going to make a single new package that contains a simple program. The program will convert from square feet to acres.
First step: Add a new package for your programs