From a1a0191d09451e6c4a7e4ca32df266ab10a2ed1a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 29 Jun 2004 10:59:22 +0000 Subject: [PATCH] Index up to "Simpson's Rule". --- doc/mad-manual.xml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/doc/mad-manual.xml b/doc/mad-manual.xml index 1d6ca8c..ea81b36 100644 --- a/doc/mad-manual.xml +++ b/doc/mad-manual.xml @@ -1766,6 +1766,7 @@ is SWTCH(6)). (a) Simple Conditional Conditional, Simple +Simple Conditional WHENEVER B,Q @@ -2511,6 +2512,7 @@ subroutine which returns control to the system in which the translated program is imbedded) is automatically entered. This action can be changed by executing the statement EXECUTE SETEOF. (&scriptS;). The subroutine SETEOF. +SETEOF Subroutine sets the read routines to transfer to the executable statement labelled &scriptS; when an end-of-file is encountered. If the @@ -2524,9 +2526,10 @@ is halted so that the operator can replace the tape. The program is 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 End Of Tape +SETETT. (&scriptS;). SETETT +Subroutine The subroutine SETETT. sets the write +tape routines to transfer to the executable statement labelled +&scriptS; when an end-of-tape End Of Tape Condition 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 @@ -3864,7 +3867,7 @@ will never be executed, but must be present in the definition. in any function declaration may not appear in a PROGRAM COMMON, PROGRAM COMMON, ERASABLEERASABLE, or -EQUIVALENCE declaration.Dummy +EQUIALENCE declaration.Dummy ArgumentsEQUIVALENCE Declaration @@ -3888,6 +3891,7 @@ in Chapter 4). PRINT Subroutine PUNCH Subroutine READ Subroutine +SETEOF Subroutine If a block designation @@ -4106,6 +4110,8 @@ instead of the BOOLEAN declaration.Boolean Example 3<emphasis role='note'>: Simpson's Rule approximation of a definite integral</emphasis> +Simpson's Rule + Problem: To approximate a∫b f(x) by Simpson's Rule, for an arbitrary interval [a, b] using N equal subintervals @@ -4954,6 +4960,8 @@ handled. RESTORE RETURN SAVE DATA SAVE RETURN +SETERR Subroutine +SETETT Subroutine &factfunc; @@ -5350,7 +5358,9 @@ produced. The statement producing the call is PRINT ON LINE 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. +during the reading or the writing of magnetic tape. +SETEOF Subroutine + @@ -5369,7 +5379,9 @@ designating a point of return after an illegal data character or illegal format specification has been encounterered by an input-output subroutine.Bocks, -Input-Output +Input-Output +SETERR Subroutine + -- 2.43.0