From: Eric S. Raymond Date: Wed, 18 Feb 2004 22:44:39 +0000 (+0000) Subject: Figure 10 added. X-Git-Tag: 1.0~73 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=e02a4a616ce936395efa61d4c53090dd30c372c8;p=mad.git Figure 10 added. --- diff --git a/doc/mad-manual.xml b/doc/mad-manual.xml index 82440db..798b0b7 100644 --- a/doc/mad-manual.xml +++ b/doc/mad-manual.xml @@ -9,6 +9,7 @@ + @@ -303,7 +304,12 @@ D were corresponding shapes. The PIC diagrams preserve the logic of the original hand-drawn ones, but are not exact geometrical duplicates. The proportions of -the flowchart elements are slightly different. +the flowchart elements are slightly different. One detail we have not +preserved is that in Chapter 3, PRINT-statement boxes are left-right +reversed from their orientation in Chapter 2 (this shows in the +bottom curve.) Where the original used monospaced fonts and +hand-drawn Greek characters, PIC and EQN give us typeset formulas +quite a bit better looking. In the original, sections were numbered only down to three levels deep. No per-chapter tables of contents were present. @@ -3231,6 +3237,42 @@ READ READ FORMAT INPUTS,A,B,N,R + +Example 4 + + + + + +Flow diagram: + + + + + + + + +Program:It is assumed here that f +(referred to as F. in the program) will be defined as an internal +function.) + +Definition: SIGN.(Z) = Z/|Z| + +A sample F. is actually specified in the listing. +Specifying F this way makes more sense if one recalls that MAD +programs were punched-card decks. An internal function definition was +typically a single card that could be slipped anywhere into the +program deck. + + + +&findroot; +*DATA + 1. 2. .01 + + +