<para>(a) Simple Conditional</para>
<indexterm><primary>Conditional, Simple</primary></indexterm>
+<indexterm><primary>Simple Conditional</primary></indexterm>
<para role='centered'>
WHENEVER B,Q
program is imbedded) is automatically entered. This action can be
changed by executing the statement EXECUTE SETEOF. (&scriptS;). The
subroutine SETEOF.
+<indexterm><primary>SETEOF Subroutine</primary></indexterm>
<!-- beginpage II.25 -->
sets the read routines to transfer to the executable statement
labelled &scriptS; when an end-of-file is encountered. If the
then continued from where the end-of-tape was detected. Thus, no
information is lost and the new tape is a continuation of the old one.
This action can be changed by executing the statement EXECUTE
-SETETT. (&scriptS;). The subroutine SETETT. sets the write tape
-routines to transfer to the executable statement labelled &scriptS;
-when an end-of-tape <indexterm><primary>End Of Tape
+SETETT. (&scriptS;). <indexterm><primary>SETETT
+Subroutine</primary></indexterm> The subroutine SETETT. sets the write
+tape routines to transfer to the executable statement labelled
+&scriptS; when an end-of-tape <indexterm><primary>End Of Tape
Condition</primary></indexterm> is encountered. The tape is not
rewound nor is any comment printed for the operator and the computer
does not stop before this transfer occurs. Executing EXECUTE
in any function declaration may not appear in a PROGRAM COMMON,
<indexterm><primary>PROGRAM COMMON</primary></indexterm>,
ERASABLE<indexterm><primary>ERASABLE</primary></indexterm>, or
-EQUIVALENCE declaration.<indexterm><primary>Dummy
+EQUIALENCE declaration.<indexterm><primary>Dummy
Arguments</primary></indexterm><indexterm><primary>EQUIVALENCE
Declaration</primary></indexterm></para>
<indexterm><primary>PRINT Subroutine</primary></indexterm>
<indexterm><primary>PUNCH Subroutine</primary></indexterm>
<indexterm><primary>READ Subroutine</primary></indexterm>
+<indexterm><primary>SETEOF Subroutine</primary></indexterm>
<!-- beginpage II.49 -->
<para>If a block designation
<!-- beginpage III.7 -->
<sect2><title>Example 3<emphasis role='note'>: Simpson's Rule approximation of a definite integral</emphasis></title>
+<indexterm><primary>Simpson's Rule</primary></indexterm>
+
<para><emphasis>Problem:</emphasis> To approximate
<subscript>a</subscript>∫<superscript>b</superscript> f(x) by Simpson's
Rule, for an arbitrary interval [a, b] using N equal subintervals
<indexterm><primary>RESTORE RETURN</primary></indexterm>
<indexterm><primary>SAVE DATA</primary></indexterm>
<indexterm><primary>SAVE RETURN</primary></indexterm>
+<indexterm><primary>SETERR Subroutine</primary></indexterm>
+<indexterm><primary>SETETT Subroutine</primary></indexterm>
<programlisting>
&factfunc;
<listitem><para>This name may appear explicitly in the form
SETEOF.(S). where S is an expression in the statement label mode
designating the point of return when an end-of-tape is encountered
-during the reading or the writing of magnetic tape.</para></listitem>
+during the reading or the writing of magnetic tape.
+<indexterm><primary>SETEOF Subroutine</primary></indexterm>
+</para></listitem>
</varlistentry>
<varlistentry>
<!-- beginpage IV.6 -->
character or illegal format specification has been encounterered by an
input-output subroutine.<indexterm><primary>Bocks,
-Input-Output</primary></indexterm></para></listitem>
+Input-Output</primary></indexterm>
+<indexterm><primary>SETERR Subroutine</primary></indexterm>
+</para></listitem>
</varlistentry>
</variablelist>