HP 48g Graphing Calculator User Manual

Page 73

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

Advertising
background image

Although they appear identical on the stack, there are two important

differences between formal variable names (that have no associated

objects) and quoted variable names (that have associated objects):

■ Evaluating a formal variable doesn't appear to do anything, because

the formal variable is returned again to the stack. Evaluating the

quoted name of a variable containing an object evaluates that

object.

m

Formal variables never appear in the VAR menu. All variables that

appear in the VAR menu have an associated object. However, you

ran

store a formal variable name in a, VAR variable with a

difftreni

name.

Sxaiiiple:

Enter the name

CD

© ©

ADD2

(ENTER)

onto the stack using single-quotes.

1

:

'RDD£'

Example:

Enter the formal variable name, C, onto the stack by

using the unquoted name. If an actual variable, C exists

somewhere in the current path, you wdll see its contents
instead of the variable name.

@ C (ENTER)

1

■ _____

BEEaDQ

Ixaiiiple:

Store the formal variable

'

C

'

in the variable

C2.

Tlien

evaluate C£ using the VAR menu.

Step 1:

Store ‘ C ' in

C2.

(^(CLEAR) iTPiMEMORY)

NEi.J (3 C (ENTER ) @ C2

(ENTER) 0 K (NXT) 0 K

Step 2:

Evaluate C2 using the VAR menu. Confirm that ' C ' is a

formal variable by pressing (

EVAL

).

(VAR)

1

:

¡BEHtgiTOiliilWIMlii

Memory 5-15

Advertising
This manual is related to the following products: