EasyManua.ls Logo

HP HP-28S - Quoted and Unquoted Names

HP HP-28S
341 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Other manuals for HP HP-28S

Related product manuals