EasyManuals Logo

HP HP-28S User Manual

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
Page #202 background imageLoading...
Page #202 background image
W
Note
Do
not
create a variable
whose
value is its
own
name,
such
as
a variable
named
X
that
contains
the
name
'X'.
Evaluating
such
a variable causes
an
endless
loop.
To
halt
an
endless
loop, you
must
perform
a
system
halt
(@ill
[!]),
which
also clears
the
stack.
Similarly,
do
not
create variables
that
reference
one
another
in a circu-
lar
definition. Evaluating a variable
included
in a circular definition
also causes
an
endless
loop.
Procedure-Class Objects
Generally,
the
"value"
of
a
procedure
is
the
result of
whatever
process
it defines.
Programs
are
the
most
general
procedure-class objects, so
they're
described first, followed
by
algebraics.
Evaluation
of
Programs
A
program
is a
sequence
of
objects
and
commands.
This
manual
uses
the
terms
"evaluate a program"
and
"execute a program"
inter-
changably. In general,
evaluating
a
program
takes
the
program's
contents
in order,
putting
each
object
on
the
stack
and
executing
each
command.
There
are two
additional
points
to
remember:
•
Unquoted
names
are evaluated,
while
quoted
names
go
on
the
stack.
Names
are
quoted
expressly to delay evaluation, as discussed
on
page
57
.
•
Program
structures are executed
according
to
their
own
rules. In
part
1 you
wrote
several
user
functions,
which
contain
a local-
variable structure.
Program
structures
are described in
chapter
26.
23:
Evaluation
201

Table of Contents

Other manuals for HP HP-28S

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP HP-28S and is the answer not in the manual?

HP HP-28S Specifications

General IconGeneral
BrandHP
ModelHP-28S
CategoryCalculator
LanguageEnglish

Related product manuals