beautypg.com

Home: variables and directories, Home: variables and directories -3 – HP 48g Graphing Calculator User Manual

Page 61

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

LAST Variable Storage (E): Contains the three temporary
variables~TAST CMD, LAST STACK, and LAST ARCC-that

save copies of the previous commands, stack, and arguments so

that they can be restored if needed. To save memory, you can
disable these variables (see page TIO).

Local Variables Storage (F): Contains any local variables created

by currently-executing programs.

Local

variables exist only while

the program executes.

HOME (G); Contains all named (stored) objects. You can

organize and control HOME using the Variable Browser (see page

5-5). Most of the remainder of this chapter describes HOME.

Port 0 (H): Contains backup objects and libraries that you have

stored in Port 0,

HOME: Variables and Directories

The HOME section of memory works much like a disk does on a
personal computer. Each named object in HOME, or HOAIE

vanable,

is analogous to a file on a computer disk.

Like files, HOME variables let you store and retrieve information using

meaningful names. For example, you can store the acceleration of
gravity, 9.81 m/s^, into a variable named

G

and then use the name

to refer to the variable’s contents. Unless you specify otherwise, all
variables you create (by name) will be HOME variables.

Also, like files, HOME variables can be arranged hierarchically into

directories,

and organized to suit your particular needs. Note that

directory names are stored in variables.

Only one directory (the

current directory)

can be active at a time.

The master directory (or

root

directory) for the HP 48 is called the

HOME

directory and is, until you change it, the current directory.

The path of the current directory (the

current path)

is shown in the

status area of the display.

Memory 5-3

This manual is related to the following products: