hp-support-head-portlet

Actions
Loading...

Welcome to HP Customer Support

hp-contact-secondary-navigation-portlet

Actions
Loading...

hp-share-print-widget-portlet

Actions
Loading...

hp-concentra-wrapper-portlet

Actions
Loading...

HP 38g Calculator - Storing and Recalling Variables

Description
Variables are storage locations for numbers or values. The HP 38g has different categories of variables for different kinds of data. The names for the variables are predefined. For real numbers, there are 27 variable names available, A through Z and 0.
  note:
A variable holds just one value; therefore, if a new number is stored in an existing variable, the previous number will be lost.
Calculator symbol key
The procedures in this document use the following text to represent symbol keys:
Key
Description
Text Representation
colored key; shift key
SHIFT
Move cursor left
cursor-left
Move cursor right
cursor-right
Move cursor up
cursor-up
Move cursor down
cursor-down
Backspace/clear
backspace
Storing a number
Numbers can be stored from Home's edit line into a named variable with the STORE menu key (STO+cursor-right). STO+cursor-right appears on a menu-key label whenever it is possible to store a value.
Example of storing a number
Keys
Display
Description
Press 75, STO>, then [A...Z] A
75>A backspace
Press ENTER
75
Stores 75 into the variable named A
Example of storing the last answer
Keys
Display
Description
Press STO>, then [A...Z] B
Ans>B backspace
Press ENTER
75
Stores 75 (the last result) in the variable named B
Recalling a number
In HOME, to recall a value from a stored variable back to the edit line, type the name of the variable and press ENTER
Deleting variables
A variable always has a value in it, even if that value is zero. When another value is stored into a variable, it overwrites the previous value. Therefore, a variable's value cannot be deleted; it can only be overwritten.
Home and Applet variables
Most variables are HOME variables, which means they are shared throughout the different contexts of the calculator. Some variables are aplet variables, which means they apply only to the current applet. Applet variables are data sets, expressions, and settings made within an applet.

hp-feedback-input-portlet

Actions
Loading...

hp-online-communities-portlet

Actions
Loading...

Ask the community!


Support Forum

Support Forum

Join the conversation! Find Solutions, ask questions, and share advice with other HP product owners. Visit now


hp-feedback-banner-portlet

Actions
Loading...

hp-country-locator-portlet

Actions
Loading...
Country: Flag United States

hp-detect-load-my-device-portlet

Actions
Loading...