EasyManua.ls Logo

HP HP-28S - Expanding and Collecting Completely; MULTI (Multiple Execution)

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...
Continue
execution
of
the
loop. FIB2 will
halt
before
performing
the
loop a
second
time
.
'CONTI
3:
2:
1
1: 1
mHlmIllI!IIIIIlI!BBI
__
Continue
execution
of
the
loop. Because this is
the
last iteration
of
the
loop, FIB2 will execute to
completion
.
'CONTII
=f-~----------------~21
.
mHlmII
II!IIIIIII!BBI
__
.
When
you're
done
experimenting
with
FIB2,
don't
forget to
use
VISIT
to
remove
the
HALT
command.
Expanding and
Collecting
Completely
This section
contains
two programs:
MULTI repeats a
program
until
the
program
has
no
effect.
EXCO uses MULTI to
expand
and
collect completely.
MULTI (Multiple Execution)
Given
an
object
and
a
program
that
acts
on
the
object,
apply
the
pro-
gram
to
the
object
repeatedly
until
the
object is
unchanged.
Arguments
Results
2~
object
2:
1 :
.:;::
program
:~:-
1 :
resulting object
28:
Programming
Examples
253

Table of Contents

Other manuals for HP HP-28S

Related product manuals