Next: Memory Up: How to Use the Previous: Reverse Polish Notation

# Storing Objects

The HP48G/GX has the ability to store and recall any object. The following shows how to store the number 5 in the variable labeled A1. Note that the HP48G/GX is case sensitive. It recognizes the difference between A and a. However, the menu will always show the upper case form of any letter.

The name A1 should now appear in the left most menu position. If you do not see it, push the key. This key and some other features of the HP48G/GX memory will be discussed later. Push the menu key that corresponds to A1. The number 5 should appear on level one. Type A1 into the command line and push . The number 5 will now be in stack levels one and two. The calculator, because 5 was stored as A1, will replace every occurrence of A1 with 5. If, for some reason, the literal symbol A1 needs to be used, tick marks must enclose the symbol. Try the following:

Now push . The calculator will not evaluate any characters within tick marks unless instructed to. Notice once again that double tick marks appeared, and that the cursor is between them.

Names of objects on the HP48G/GX may begin with any character except an integer, or a few other special symbols.

The HP48G/GX has been designed so that it is very easy to store a function as an object. For example, if the function, was going to be used a lot, it would probably be helpful to have it stored on the HP48G/GX. Push the following keys: 2pt 2pt
2pt

The algebraic formula for the function is now on level one of the stack.

To store this function push the keys 2pt . Level one of the stack is cleared, and the symbol F appears in the menu. To evaluate this function at the point (1,3), place 1 on level two and 3 on level one. Now push . The number 27 should appear on level one.

After a short time your current directory will become filled with unwanted objects. There are two easy ways to remove them. The first way will remove single objects, while the second method removes more than one object at a time.

• 2pt
• 2pt
2pt

Next: Memory Up: How to Use the Previous: Reverse Polish Notation

Mike Stecher
Thu Mar 21 09:53:31 CST 1996