Expanding And Collecting Completely; Multi (Multiple Execution) - HP -28S Manual

Advanced scientific calculator
Hide thumbs Also See for HP-28S:
Table of Contents

Advertisement

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 .
• ' C O N T I I =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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents