Download  Print this page

Quoted And Unquoted Names - HP -28S Manual

Advanced scientific calculator.
Hide thumbs

Advertisement

Rename C to D.
RENA
3:
133
2:
133
1:
151
. . m:mI _ _ _ _
The USER menu shows that C was renamed to D. You executed the
program simply by pressing one key in the USER menu.
Quoted and Unquoted Names
In the examples above you used variable names in two ways, quoted
and unquoted. The quotes
0
are important: they distinguish the
name
of a variable from the
contents
of a variable. Here's a summary of the
purposes of quoted and unquoted names .
• Use a quoted name to represent the name itself. The quotes prevent
evaluation of the name, so it goes on the stack and can be an argu-
ment to a command. In this chapter you used quoted names as
arguments to STO, RCL, PURGE, and the program RENAME .
• Use an unquoted name to evaluate the variable with that name.
The unquoted name doesn't go on the stack-instead, the object
stored in the variable is handled according to its type: numerical
variables are returned to the stack, and programs are executed.
You'll see what happens with other variable types later in this
manual.
If you type in an unquoted name that isn't associated with a variable,
the quoted form of the name goes on the stack.
3: Using Variables
57

Advertisement

Table of Contents

   Also See for HP HP-28S

   Related Manuals for HP HP-28S

Comments to this Manuals

Symbols: 0
Latest comments: