EasyManua.ls Logo

HP HP-28S - Page 252

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...
For
the
first example,
insert
HALT as
the
first
command
in FIB2.
Clear
the
stack
and
select
the
USER
menu
.
, CLEAR I
13:
I
' USER
1~IiJDIDilII1IIIlmiI
__
Use VISIT to
return
FIB2 to
the
command
line.
[']
FIB2
.'vISITI
Insert
the
HALT
command.
[EJ
c:ill§]
.,
CONTRL I
HALT
Store
the
edited
version
of
FIB2.
'ENTER
I
I
I : n
IF n 1
:!f
THEN
n
«
HALT
.~
n
«
Calculate
Fl'
At
first,
nothing
happens
except
that
the
0
annunciator
appears.
'USER
I
1
FIB2
Select
the
PROGRAM
CONTROL
menu
and
execute SST (single-step).
WJ.tch
the
top
line
of
the
display
to see
the
first
step
displayed
before
it's executed .
, CONTRLI
SST
Note
that
'*
n constitutes
one
step; Pstep"
is
a logical
unit
rather
than
simply
the
next object
in
the
program.
28:
Programming
Examples
251

Table of Contents

Other manuals for HP HP-28S

Related product manuals