home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 46 72 |.sources|.misc.Fr|
|00000020| 6f 6d 3a 20 6a 75 6c 69 | 61 6e 40 76 73 63 6e 30 |om: juli|an@vscn0|
|00000030| 38 2e 63 65 72 6e 2e 63 | 68 20 28 4a 75 6c 69 61 |8.cern.c|h (Julia|
|00000040| 6e 20 4a 61 6d 65 73 20 | 42 75 6e 6e 29 0a 53 75 |n James |Bunn).Su|
|00000050| 62 6a 65 63 74 3a 20 20 | 76 33 31 69 30 36 36 3a |bject: |v31i066:|
|00000060| 20 20 66 6c 6f 77 20 2d | 20 46 6f 72 74 72 61 6e | flow -| Fortran|
|00000070| 20 53 74 72 75 63 74 75 | 72 65 20 41 6e 61 6c 79 | Structu|re Analy|
|00000080| 73 65 72 73 2c 20 50 61 | 72 74 30 33 2f 30 35 0a |sers, Pa|rt03/05.|
|00000090| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 31 39 39 |Message-|ID: <199|
|000000a0| 32 4a 75 6c 33 31 2e 30 | 35 32 36 32 36 2e 33 37 |2Jul31.0|52626.37|
|000000b0| 35 40 73 70 61 72 6b 79 | 2e 69 6d 64 2e 73 74 65 |5@sparky|.imd.ste|
|000000c0| 72 6c 69 6e 67 2e 63 6f | 6d 3e 0a 58 2d 4d 64 34 |rling.co|m>.X-Md4|
|000000d0| 2d 53 69 67 6e 61 74 75 | 72 65 3a 20 61 35 65 66 |-Signatu|re: a5ef|
|000000e0| 33 32 32 34 38 31 36 37 | 31 31 35 37 63 30 61 37 |32248167|1157c0a7|
|000000f0| 32 30 39 63 33 37 38 30 | 35 30 33 36 0a 44 61 74 |209c3780|5036.Dat|
|00000100| 65 3a 20 46 72 69 2c 20 | 33 31 20 4a 75 6c 20 31 |e: Fri, |31 Jul 1|
|00000110| 39 39 32 20 30 35 3a 32 | 36 3a 32 36 20 47 4d 54 |992 05:2|6:26 GMT|
|00000120| 0a 41 70 70 72 6f 76 65 | 64 3a 20 6b 65 6e 74 40 |.Approve|d: kent@|
|00000130| 73 70 61 72 6b 79 2e 69 | 6d 64 2e 73 74 65 72 6c |sparky.i|md.sterl|
|00000140| 69 6e 67 2e 63 6f 6d 0a | 0a 53 75 62 6d 69 74 74 |ing.com.|.Submitt|
|00000150| 65 64 2d 62 79 3a 20 6a | 75 6c 69 61 6e 40 76 73 |ed-by: j|ulian@vs|
|00000160| 63 6e 30 38 2e 63 65 72 | 6e 2e 63 68 20 28 4a 75 |cn08.cer|n.ch (Ju|
|00000170| 6c 69 61 6e 20 4a 61 6d | 65 73 20 42 75 6e 6e 29 |lian Jam|es Bunn)|
|00000180| 0a 50 6f 73 74 69 6e 67 | 2d 6e 75 6d 62 65 72 3a |.Posting|-number:|
|00000190| 20 56 6f 6c 75 6d 65 20 | 33 31 2c 20 49 73 73 75 | Volume |31, Issu|
|000001a0| 65 20 36 36 0a 41 72 63 | 68 69 76 65 2d 6e 61 6d |e 66.Arc|hive-nam|
|000001b0| 65 3a 20 66 6c 6f 77 2f | 70 61 72 74 30 33 0a 45 |e: flow/|part03.E|
|000001c0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 3a 20 66 6f 72 74 |nvironme|nt: fort|
|000001d0| 72 61 6e 2c 20 66 66 63 | 63 63 0a 0a 23 21 20 2f |ran, ffc|cc..#! /|
|000001e0| 62 69 6e 2f 73 68 0a 23 | 20 54 68 69 73 20 69 73 |bin/sh.#| This is|
|000001f0| 20 61 20 73 68 65 6c 6c | 20 61 72 63 68 69 76 65 | a shell| archive|
|00000200| 2e 20 20 52 65 6d 6f 76 | 65 20 61 6e 79 74 68 69 |. Remov|e anythi|
|00000210| 6e 67 20 62 65 66 6f 72 | 65 20 74 68 69 73 20 6c |ng befor|e this l|
|00000220| 69 6e 65 2c 20 74 68 65 | 6e 20 66 65 65 64 20 69 |ine, the|n feed i|
|00000230| 74 0a 23 20 69 6e 74 6f | 20 61 20 73 68 65 6c 6c |t.# into| a shell|
|00000240| 20 76 69 61 20 22 73 68 | 20 66 69 6c 65 22 20 6f | via "sh| file" o|
|00000250| 72 20 73 69 6d 69 6c 61 | 72 2e 20 20 54 6f 20 6f |r simila|r. To o|
|00000260| 76 65 72 77 72 69 74 65 | 20 65 78 69 73 74 69 6e |verwrite| existin|
|00000270| 67 20 66 69 6c 65 73 2c | 0a 23 20 74 79 70 65 20 |g files,|.# type |
|00000280| 22 73 68 20 66 69 6c 65 | 20 2d 63 22 2e 0a 23 20 |"sh file| -c"..# |
|00000290| 54 68 65 20 74 6f 6f 6c | 20 74 68 61 74 20 67 65 |The tool| that ge|
|000002a0| 6e 65 72 61 74 65 64 20 | 74 68 69 73 20 61 70 70 |nerated |this app|
|000002b0| 65 61 72 65 64 20 69 6e | 20 74 68 65 20 63 6f 6d |eared in| the com|
|000002c0| 70 2e 73 6f 75 72 63 65 | 73 2e 75 6e 69 78 20 6e |p.source|s.unix n|
|000002d0| 65 77 73 67 72 6f 75 70 | 3b 0a 23 20 73 65 6e 64 |ewsgroup|;.# send|
|000002e0| 20 6d 61 69 6c 20 74 6f | 20 63 6f 6d 70 2d 73 6f | mail to| comp-so|
|000002f0| 75 72 63 65 73 2d 75 6e | 69 78 40 75 75 6e 65 74 |urces-un|ix@uunet|
|00000300| 2e 75 75 2e 6e 65 74 20 | 69 66 20 79 6f 75 20 77 |.uu.net |if you w|
|00000310| 61 6e 74 20 74 68 61 74 | 20 74 6f 6f 6c 2e 0a 23 |ant that| tool..#|
|00000320| 20 43 6f 6e 74 65 6e 74 | 73 3a 20 20 66 6c 6f 70 | Content|s: flop|
|00000330| 70 79 2e 66 20 66 6c 6f | 70 70 79 2e 6c 20 66 6c |py.f flo|ppy.l fl|
|00000340| 6f 77 2e 65 78 65 63 20 | 66 6c 6f 77 66 6c 6f 77 |ow.exec |flowflow|
|00000350| 2e 70 73 20 70 72 6f 63 | 68 74 2e 66 6f 72 0a 23 |.ps proc|ht.for.#|
|00000360| 20 20 20 70 72 6f 74 72 | 65 2e 66 6f 72 20 72 64 | protr|e.for rd|
|00000370| 66 6c 6f 70 2e 66 6f 72 | 20 75 6e 69 78 66 6c 6f |flop.for| unixflo|
|00000380| 77 2e 66 6f 72 0a 23 20 | 57 72 61 70 70 65 64 20 |w.for.# |Wrapped |
|00000390| 62 79 20 6b 65 6e 74 40 | 73 70 61 72 6b 79 20 6f |by kent@|sparky o|
|000003a0| 6e 20 54 68 75 20 4a 75 | 6c 20 33 30 20 32 33 3a |n Thu Ju|l 30 23:|
|000003b0| 33 38 3a 31 34 20 31 39 | 39 32 0a 50 41 54 48 3d |38:14 19|92.PATH=|
|000003c0| 2f 62 69 6e 3a 2f 75 73 | 72 2f 62 69 6e 3a 2f 75 |/bin:/us|r/bin:/u|
|000003d0| 73 72 2f 75 63 62 20 3b | 20 65 78 70 6f 72 74 20 |sr/ucb ;| export |
|000003e0| 50 41 54 48 0a 65 63 68 | 6f 20 49 66 20 74 68 69 |PATH.ech|o If thi|
|000003f0| 73 20 61 72 63 68 69 76 | 65 20 69 73 20 63 6f 6d |s archiv|e is com|
|00000400| 70 6c 65 74 65 2c 20 79 | 6f 75 20 77 69 6c 6c 20 |plete, y|ou will |
|00000410| 73 65 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |see the |followin|
|00000420| 67 20 6d 65 73 73 61 67 | 65 3a 0a 65 63 68 6f 20 |g messag|e:.echo |
|00000430| 27 20 20 20 20 20 20 20 | 20 20 20 22 73 68 61 72 |' | "shar|
|00000440| 3a 20 45 6e 64 20 6f 66 | 20 61 72 63 68 69 76 65 |: End of| archive|
|00000450| 20 33 20 28 6f 66 20 35 | 29 2e 22 27 0a 69 66 20 | 3 (of 5|)."'.if |
|00000460| 74 65 73 74 20 2d 66 20 | 27 66 6c 6f 70 70 79 2e |test -f |'floppy.|
|00000470| 66 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |f' -a "$|{1}" != |
|00000480| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00000490| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|000004a0| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|000004b0| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 66 6c 6f 70 |ing file| \"'flop|
|000004c0| 70 79 2e 66 27 5c 22 0a | 65 6c 73 65 0a 20 20 65 |py.f'\".|else. e|
|000004d0| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|000004e0| 74 69 6e 67 20 5c 22 27 | 66 6c 6f 70 70 79 2e 66 |ting \"'|floppy.f|
|000004f0| 27 5c 22 20 5c 28 37 36 | 36 35 20 63 68 61 72 61 |'\" \(76|65 chara|
|00000500| 63 74 65 72 73 5c 29 0a | 20 20 73 65 64 20 22 73 |cters\).| sed "s|
|00000510| 2f 5e 58 2f 2f 22 20 3e | 27 66 6c 6f 70 70 79 2e |/^X//" >|'floppy.|
|00000520| 66 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |f' <<'EN|D_OF_FIL|
|00000530| 45 27 0a 58 20 20 20 20 | 20 20 50 52 4f 47 52 41 |E'.X | PROGRA|
|00000540| 4d 20 46 4c 4f 50 50 59 | 0a 58 43 2d 2d 2d 2d 2d |M FLOPPY|.XC-----|
|00000550| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000560| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000570| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000580| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000590| 2d 2d 2d 2d 0a 58 43 20 | 46 6c 6f 70 70 79 20 55 |----.XC |Floppy U|
|000005a0| 4e 49 58 20 69 6e 74 65 | 72 66 61 63 65 20 72 6f |NIX inte|rface ro|
|000005b0| 75 74 69 6e 65 2e 0a 58 | 43 20 53 65 74 73 20 75 |utine..X|C Sets u|
|000005c0| 70 20 76 61 72 69 6f 75 | 73 20 72 65 71 75 69 72 |p variou|s requir|
|000005d0| 65 64 20 69 6e 70 75 74 | 20 66 69 6c 65 73 20 66 |ed input| files f|
|000005e0| 6f 72 20 46 6c 6f 70 70 | 79 2e 0a 58 43 20 0a 58 |or Flopp|y..XC .X|
|000005f0| 43 20 4a 75 6c 69 61 6e | 20 42 75 6e 6e 20 31 39 |C Julian| Bunn 19|
|00000600| 39 30 0a 58 43 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |90.XC---|--------|
|00000610| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000620| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000630| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000640| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 58 |--------|------.X|
|00000650| 20 20 20 20 20 20 50 41 | 52 41 4d 45 54 45 52 20 | PA|RAMETER |
|00000660| 28 4d 4c 45 4e 3d 32 35 | 36 2c 4d 58 4c 49 4e 3d |(MLEN=25|6,MXLIN=|
|00000670| 38 30 2c 6d 61 78 61 72 | 67 3d 31 30 30 29 0a 58 |80,maxar|g=100).X|
|00000680| 20 20 20 20 20 20 63 68 | 61 72 61 63 74 65 72 2a | ch|aracter*|
|00000690| 28 6d 78 6c 69 6e 29 20 | 61 72 67 76 61 6c 0a 58 |(mxlin) |argval.X|
|000006a0| 20 20 20 20 20 20 63 68 | 61 72 61 63 74 65 72 2a | ch|aracter*|
|000006b0| 31 20 6b 65 79 2c 63 68 | 61 72 0a 58 20 20 20 20 |1 key,ch|ar.X |
|000006c0| 20 20 43 48 41 52 41 43 | 54 45 52 2a 28 4d 4c 45 | CHARAC|TER*(MLE|
|000006d0| 4e 29 20 20 43 46 49 4c | 45 2c 43 4f 4c 44 2c 43 |N) CFIL|E,COLD,C|
|000006e0| 46 4f 52 54 2c 43 54 45 | 4d 50 2c 43 42 41 44 2c |FORT,CTE|MP,CBAD,|
|000006f0| 43 54 52 45 45 0a 58 20 | 20 20 20 20 20 4c 4f 47 |CTREE.X | LOG|
|00000700| 49 43 41 4c 20 4c 4f 47 | 2c 66 65 78 69 73 74 2c |ICAL LOG|,fexist,|
|00000710| 66 6f 6c 64 2c 66 71 6f | 6c 64 2c 74 69 64 79 2c |fold,fqo|ld,tidy,|
|00000720| 74 72 65 65 0a 58 63 0a | 58 63 20 67 65 74 20 61 |tree.Xc.|Xc get a|
|00000730| 6c 6c 20 61 72 67 75 6d | 65 6e 74 73 0a 58 63 0a |ll argum|ents.Xc.|
|00000740| 58 20 20 20 20 20 20 6e | 75 6d 61 72 67 73 20 3d |X n|umargs =|
|00000750| 20 69 61 72 67 63 28 29 | 0a 58 20 20 20 20 20 20 | iargc()|.X |
|00000760| 69 66 28 6e 75 6d 61 72 | 67 73 2e 67 74 2e 6d 61 |if(numar|gs.gt.ma|
|00000770| 78 61 72 67 29 20 74 68 | 65 6e 0a 58 20 20 20 20 |xarg) th|en.X |
|00000780| 20 20 20 20 20 77 72 69 | 74 65 28 36 2c 27 28 41 | wri|te(6,'(A|
|00000790| 29 27 29 20 27 20 46 6c | 6f 70 70 79 20 2d 2d 3e |)') ' Fl|oppy -->|
|000007a0| 20 54 6f 6f 20 6d 61 6e | 79 20 61 72 67 75 6d 65 | Too man|y argume|
|000007b0| 6e 74 73 20 27 0a 58 20 | 20 20 20 20 20 20 20 20 |nts '.X | |
|000007c0| 67 6f 74 6f 20 39 30 30 | 0a 58 20 20 20 20 20 20 |goto 900|.X |
|000007d0| 65 6e 64 69 66 0a 58 63 | 0a 58 63 20 67 65 74 20 |endif.Xc|.Xc get |
|000007e0| 74 61 72 67 65 74 20 66 | 69 6c 65 6e 61 6d 65 28 |target f|ilename(|
|000007f0| 73 29 0a 58 63 0a 58 20 | 20 20 20 20 20 63 61 6c |s).Xc.X | cal|
|00000800| 6c 20 67 65 74 61 72 67 | 28 6e 75 6d 61 72 67 73 |l getarg|(numargs|
|00000810| 2c 63 66 69 6c 65 29 20 | 20 20 20 20 20 20 0a 58 |,cfile) | .X|
|00000820| 20 20 20 20 20 20 6c 66 | 69 6c 65 20 3d 20 69 6e | lf|ile = in|
|00000830| 64 65 78 28 63 66 69 6c | 65 2c 27 20 27 29 2d 31 |dex(cfil|e,' ')-1|
|00000840| 0a 58 20 20 20 20 20 20 | 77 72 69 74 65 28 36 2c |.X |write(6,|
|00000850| 27 28 41 29 27 29 20 27 | 20 46 6c 6f 70 70 79 20 |'(A)') '| Floppy |
|00000860| 2d 2d 3e 20 54 61 72 67 | 65 74 20 66 69 6c 65 20 |--> Targ|et file |
|00000870| 27 2f 2f 63 66 69 6c 65 | 28 3a 6c 66 69 6c 65 29 |'//cfile|(:lfile)|
|00000880| 0a 58 20 20 20 20 20 20 | 69 6e 71 75 69 72 65 28 |.X |inquire(|
|00000890| 66 69 6c 65 3d 63 66 69 | 6c 65 28 3a 6c 66 69 6c |file=cfi|le(:lfil|
|000008a0| 65 29 2c 65 78 69 73 74 | 3d 66 65 78 69 73 74 29 |e),exist|=fexist)|
|000008b0| 0a 58 20 20 20 20 20 20 | 69 66 28 2e 6e 6f 74 2e |.X |if(.not.|
|000008c0| 66 65 78 69 73 74 29 20 | 74 68 65 6e 0a 58 20 20 |fexist) |then.X |
|000008d0| 20 20 20 20 20 20 77 72 | 69 74 65 28 36 2c 27 28 | wr|ite(6,'(|
|000008e0| 41 29 27 29 20 27 20 46 | 6c 6f 70 70 79 20 2d 2d |A)') ' F|loppy --|
|000008f0| 3e 20 54 61 72 67 65 74 | 20 66 69 6c 65 20 6e 6f |> Target| file no|
|00000900| 74 20 66 6f 75 6e 64 20 | 21 27 0a 58 20 20 20 20 |t found |!'.X |
|00000910| 20 20 20 20 67 6f 74 6f | 20 39 30 30 0a 58 20 20 | goto| 900.X |
|00000920| 20 20 20 20 65 6e 64 69 | 66 0a 58 63 0a 58 20 20 | endi|f.Xc.X |
|00000930| 20 20 20 20 6c 6f 67 20 | 3d 20 2e 66 61 6c 73 65 | log |= .false|
|00000940| 2e 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000950| 20 20 20 20 20 20 20 20 | 20 20 20 0a 58 20 20 20 | | .X |
|00000960| 20 20 20 66 6f 6c 64 20 | 3d 20 2e 66 61 6c 73 65 | fold |= .false|
|00000970| 2e 20 20 0a 58 20 20 20 | 20 20 20 74 69 64 79 20 |. .X | tidy |
|00000980| 3d 20 2e 66 61 6c 73 65 | 2e 0a 58 20 20 20 20 20 |= .false|..X |
|00000990| 20 63 66 6f 72 74 20 3d | 20 27 20 27 0a 58 20 20 | cfort =| ' '.X |
|000009a0| 20 20 20 20 63 74 72 65 | 65 20 3d 20 27 20 27 0a | ctre|e = ' '.|
|000009b0| 58 20 20 20 20 20 20 74 | 72 65 65 20 3d 20 2e 66 |X t|ree = .f|
|000009c0| 61 6c 73 65 2e 0a 58 63 | 0a 58 20 20 20 20 20 20 |alse..Xc|.X |
|000009d0| 64 6f 20 34 30 30 20 69 | 61 72 67 3d 31 2c 6e 75 |do 400 i|arg=1,nu|
|000009e0| 6d 61 72 67 73 2d 31 0a | 58 20 20 20 20 20 20 20 |margs-1.|X |
|000009f0| 20 20 63 61 6c 6c 20 67 | 65 74 61 72 67 28 69 61 | call g|etarg(ia|
|00000a00| 72 67 2c 61 72 67 76 61 | 6c 29 0a 58 20 20 20 20 |rg,argva|l).X |
|00000a10| 20 20 20 20 20 69 66 28 | 61 72 67 76 61 6c 28 3a | if(|argval(:|
|00000a20| 32 29 2e 65 71 2e 27 2d | 6c 27 29 20 6c 6f 67 20 |2).eq.'-|l') log |
|00000a30| 3d 20 2e 74 72 75 65 2e | 0a 58 20 20 20 20 20 20 |= .true.|.X |
|00000a40| 20 20 20 69 66 28 61 72 | 67 76 61 6c 28 3a 32 29 | if(ar|gval(:2)|
|00000a50| 2e 65 71 2e 27 2d 6f 27 | 29 20 66 71 6f 6c 64 20 |.eq.'-o'|) fqold |
|00000a60| 3d 20 2e 74 72 75 65 2e | 0a 58 20 20 20 20 20 20 |= .true.|.X |
|00000a70| 20 20 20 69 66 28 61 72 | 67 76 61 6c 28 3a 32 29 | if(ar|gval(:2)|
|00000a80| 2e 65 71 2e 27 2d 6f 27 | 29 20 63 6f 6c 64 20 3d |.eq.'-o'|) cold =|
|00000a90| 20 61 72 67 76 61 6c 28 | 33 3a 29 0a 58 20 20 34 | argval(|3:).X 4|
|00000aa0| 30 30 20 63 6f 6e 74 69 | 6e 75 65 0a 58 63 0a 58 |00 conti|nue.Xc.X|
|00000ab0| 20 20 20 20 20 20 63 62 | 61 64 20 3d 20 27 73 63 | cb|ad = 'sc|
|00000ac0| 72 61 74 63 68 27 0a 58 | 20 20 20 20 20 20 6f 70 |ratch'.X| op|
|00000ad0| 65 6e 28 37 2c 73 74 61 | 74 75 73 3d 27 73 63 72 |en(7,sta|tus='scr|
|00000ae0| 61 74 63 68 27 2c 65 72 | 72 3d 39 39 39 29 0a 58 |atch',er|r=999).X|
|00000af0| 20 20 20 20 20 20 57 52 | 49 54 45 28 37 2c 27 28 | WR|ITE(7,'(|
|00000b00| 41 29 27 29 20 27 4c 49 | 53 54 2c 47 4c 4f 42 41 |A)') 'LI|ST,GLOBA|
|00000b10| 4c 2c 54 59 50 45 3b 27 | 0a 58 20 20 20 20 20 20 |L,TYPE;'|.X |
|00000b20| 57 52 49 54 45 28 37 2c | 27 28 41 29 27 29 20 27 |WRITE(7,|'(A)') '|
|00000b30| 50 52 49 4e 54 2c 49 4c | 4c 45 47 41 4c 3b 27 0a |PRINT,IL|LEGAL;'.|
|00000b40| 58 20 20 20 20 20 20 57 | 52 49 54 45 28 37 2c 27 |X W|RITE(7,'|
|00000b50| 28 41 29 27 29 20 27 4f | 50 54 49 4f 4e 53 2c 55 |(A)') 'O|PTIONS,U|
|00000b60| 53 45 52 3b 27 0a 58 20 | 20 20 20 20 20 69 66 28 |SER;'.X | if(|
|00000b70| 66 71 6f 6c 64 29 20 74 | 68 65 6e 0a 58 20 20 20 |fqold) t|hen.X |
|00000b80| 20 20 20 20 20 69 66 28 | 63 6f 6c 64 28 31 3a 31 | if(|cold(1:1|
|00000b90| 29 2e 65 71 2e 27 20 27 | 29 20 63 6f 6c 64 20 3d |).eq.' '|) cold =|
|00000ba0| 20 63 66 69 6c 65 28 3a | 6c 66 69 6c 65 29 2f 2f | cfile(:|lfile)//|
|00000bb0| 27 2e 66 6c 6f 70 6f 6c | 64 27 0a 58 20 20 20 20 |'.flopol|d'.X |
|00000bc0| 20 20 20 20 6c 6f 6c 64 | 20 3d 20 69 6e 64 65 78 | lold| = index|
|00000bd0| 28 63 6f 6c 64 2c 27 20 | 27 29 2d 31 0a 58 20 20 |(cold,' |')-1.X |
|00000be0| 20 20 20 20 20 20 69 6e | 71 75 69 72 65 28 66 69 | in|quire(fi|
|00000bf0| 6c 65 3d 63 6f 6c 64 28 | 3a 6c 6f 6c 64 29 2c 65 |le=cold(|:lold),e|
|00000c00| 78 69 73 74 3d 66 6f 6c | 64 29 0a 58 20 20 20 20 |xist=fol|d).X |
|00000c10| 20 20 20 20 69 66 28 6c | 6f 67 29 20 77 72 69 74 | if(l|og) writ|
|00000c20| 65 28 36 2c 27 28 41 29 | 27 29 20 27 20 46 6c 6f |e(6,'(A)|') ' Flo|
|00000c30| 70 70 79 20 2d 2d 3e 20 | 4f 6c 64 20 66 69 6c 65 |ppy --> |Old file|
|00000c40| 3a 20 27 2f 2f 63 6f 6c | 64 28 3a 6c 6f 6c 64 29 |: '//col|d(:lold)|
|00000c50| 0a 58 20 20 20 20 20 20 | 20 20 69 66 28 2e 6e 6f |.X | if(.no|
|00000c60| 74 2e 66 6f 6c 64 29 20 | 74 68 65 6e 0a 58 20 20 |t.fold) |then.X |
|00000c70| 20 20 20 20 20 20 20 20 | 20 77 72 69 74 65 28 36 | | write(6|
|00000c80| 2c 27 28 41 29 27 29 20 | 27 20 46 6c 6f 70 70 79 |,'(A)') |' Floppy|
|00000c90| 20 2d 2d 3e 20 4f 6c 64 | 20 66 69 6c 65 20 6e 6f | --> Old| file no|
|00000ca0| 74 20 66 6f 75 6e 64 20 | 21 27 0a 58 20 20 20 20 |t found |!'.X |
|00000cb0| 20 20 20 20 20 20 20 67 | 6f 74 6f 20 39 30 30 0a | g|oto 900.|
|00000cc0| 58 20 20 20 20 20 20 20 | 20 65 6e 64 69 66 0a 58 |X | endif.X|
|00000cd0| 20 20 20 20 20 20 20 20 | 63 62 61 64 20 3d 20 63 | |cbad = c|
|00000ce0| 6f 6c 64 0a 58 20 20 20 | 20 20 20 20 20 6f 70 65 |old.X | ope|
|00000cf0| 6e 28 31 35 2c 66 69 6c | 65 3d 63 6f 6c 64 2c 73 |n(15,fil|e=cold,s|
|00000d00| 74 61 74 75 73 3d 27 6f | 6c 64 27 2c 65 72 72 3d |tatus='o|ld',err=|
|00000d10| 39 39 39 29 0a 58 20 20 | 34 35 30 20 20 20 72 65 |999).X |450 re|
|00000d20| 61 64 28 31 35 2c 27 28 | 41 29 27 2c 65 6e 64 3d |ad(15,'(|A)',end=|
|00000d30| 34 35 31 2c 65 72 72 3d | 39 39 39 29 20 63 74 65 |451,err=|999) cte|
|00000d40| 6d 70 20 20 20 20 20 20 | 0a 58 20 20 20 20 20 20 |mp |.X |
|00000d50| 20 20 67 6f 74 6f 20 34 | 35 30 0a 58 20 20 34 35 | goto 4|50.X 45|
|00000d60| 31 20 20 20 63 6f 6e 74 | 69 6e 75 65 0a 58 20 20 |1 cont|inue.X |
|00000d70| 20 20 20 20 65 6c 73 65 | 0a 58 20 20 20 20 20 20 | else|.X |
|00000d80| 20 20 63 6f 6c 64 20 3d | 20 63 66 69 6c 65 28 3a | cold =| cfile(:|
|00000d90| 6c 66 69 6c 65 29 2f 2f | 27 2e 66 6c 6f 70 6f 6c |lfile)//|'.flopol|
|00000da0| 64 27 20 20 20 20 20 0a | 58 20 20 20 20 20 20 20 |d' .|X |
|00000db0| 20 6c 6f 6c 64 20 3d 20 | 69 6e 64 65 78 28 63 6f | lold = |index(co|
|00000dc0| 6c 64 2c 27 20 27 29 2d | 31 0a 58 20 20 20 20 20 |ld,' ')-|1.X |
|00000dd0| 20 20 20 63 62 61 64 20 | 3d 20 63 6f 6c 64 0a 58 | cbad |= cold.X|
|00000de0| 20 20 20 20 20 20 20 20 | 6f 70 65 6e 28 31 35 2c | |open(15,|
|00000df0| 66 69 6c 65 3d 63 6f 6c | 64 28 3a 6c 6f 6c 64 29 |file=col|d(:lold)|
|00000e00| 2c 73 74 61 74 75 73 3d | 27 75 6e 6b 6e 6f 77 6e |,status=|'unknown|
|00000e10| 27 2c 65 72 72 3d 39 39 | 39 29 0a 58 20 20 20 20 |',err=99|9).X |
|00000e20| 20 20 65 6e 64 69 66 0a | 58 63 0a 58 63 20 6c 6f | endif.|Xc.Xc lo|
|00000e30| 6f 70 20 6f 76 65 72 20 | 61 6c 6c 20 71 75 61 6c |op over |all qual|
|00000e40| 69 66 69 65 72 73 0a 58 | 63 0a 58 20 20 20 20 20 |ifiers.X|c.X |
|00000e50| 20 69 63 68 65 63 6b 20 | 3d 20 30 0a 58 20 20 20 | icheck |= 0.X |
|00000e60| 20 20 20 64 6f 20 35 30 | 30 20 69 61 72 67 20 3d | do 50|0 iarg =|
|00000e70| 20 31 2c 6e 75 6d 61 72 | 67 73 2d 31 0a 58 20 20 | 1,numar|gs-1.X |
|00000e80| 20 20 20 20 20 20 20 63 | 61 6c 6c 20 67 65 74 61 | c|all geta|
|00000e90| 72 67 28 69 61 72 67 2c | 61 72 67 76 61 6c 29 0a |rg(iarg,|argval).|
|00000ea0| 58 20 20 20 20 20 20 20 | 20 20 6c 61 72 67 20 3d |X | larg =|
|00000eb0| 20 69 6e 64 65 78 28 61 | 72 67 76 61 6c 2c 27 20 | index(a|rgval,' |
|00000ec0| 27 29 2d 31 20 0a 58 20 | 20 20 20 20 20 20 20 20 |')-1 .X | |
|00000ed0| 6b 65 79 20 3d 20 61 72 | 67 76 61 6c 28 32 3a 32 |key = ar|gval(2:2|
|00000ee0| 29 0a 58 20 20 20 20 20 | 20 20 20 20 69 66 28 6b |).X | if(k|
|00000ef0| 65 79 2e 65 71 2e 27 6c | 27 29 20 74 68 65 6e 0a |ey.eq.'l|') then.|
|00000f00| 58 20 20 20 20 20 20 20 | 20 20 20 20 6c 6f 67 20 |X | log |
|00000f10| 3d 20 2e 74 72 75 65 2e | 0a 58 20 20 20 20 20 20 |= .true.|.X |
|00000f20| 20 20 20 65 6c 73 65 20 | 69 66 28 6b 65 79 2e 65 | else |if(key.e|
|00000f30| 71 2e 27 6e 27 29 20 74 | 68 65 6e 0a 58 20 20 20 |q.'n') t|hen.X |
|00000f40| 20 20 20 20 20 20 20 20 | 69 66 28 61 72 67 76 61 | |if(argva|
|00000f50| 6c 28 33 3a 33 29 2e 65 | 71 2e 27 20 27 29 20 74 |l(3:3).e|q.' ') t|
|00000f60| 68 65 6e 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 |hen.X | |
|00000f70| 20 20 20 77 72 69 74 65 | 28 36 2c 27 28 41 29 27 | write|(6,'(A)'|
|00000f80| 29 20 27 20 46 6c 6f 70 | 70 79 20 2d 2d 3e 20 4d |) ' Flop|py --> M|
|00000f90| 69 73 73 69 6e 67 20 76 | 61 6c 75 65 20 66 6f 72 |issing v|alue for|
|00000fa0| 20 2d 6e 27 0a 58 20 20 | 20 20 20 20 20 20 20 20 | -n'.X | |
|00000fb0| 20 20 20 20 67 6f 74 6f | 20 39 30 30 0a 58 20 20 | goto| 900.X |
|00000fc0| 20 20 20 20 20 20 20 20 | 20 65 6e 64 69 66 20 0a | | endif .|
|00000fd0| 58 20 20 20 20 20 20 20 | 20 20 20 20 63 66 6f 72 |X | cfor|
|00000fe0| 74 20 3d 20 61 72 67 76 | 61 6c 28 33 3a 29 0a 58 |t = argv|al(3:).X|
|00000ff0| 20 20 20 20 20 20 20 20 | 20 20 20 6c 66 6f 72 74 | | lfort|
|00001000| 20 3d 20 69 6e 64 65 78 | 28 63 66 6f 72 74 2c 27 | = index|(cfort,'|
|00001010| 20 27 29 2d 31 20 0a 58 | 20 20 20 20 20 20 20 20 | ')-1 .X| |
|00001020| 20 20 20 69 66 28 6c 6f | 67 29 20 77 72 69 74 65 | if(lo|g) write|
|00001030| 28 36 2c 27 28 41 29 27 | 29 20 27 20 46 6c 6f 70 |(6,'(A)'|) ' Flop|
|00001040| 70 79 20 2d 2d 3e 20 54 | 69 64 69 65 64 20 46 6f |py --> T|idied Fo|
|00001050| 72 74 72 61 6e 3a 20 27 | 2f 2f 0a 58 20 20 20 20 |rtran: '|//.X |
|00001060| 20 26 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | & | c|
|00001070| 66 6f 72 74 28 3a 6c 66 | 6f 72 74 29 20 0a 58 20 |fort(:lf|ort) .X |
|00001080| 20 20 20 20 20 20 20 20 | 65 6c 73 65 20 69 66 28 | |else if(|
|00001090| 6b 65 79 2e 65 71 2e 27 | 6f 27 29 20 74 68 65 6e |key.eq.'|o') then|
|000010a0| 0a 58 63 0a 58 20 20 20 | 20 20 20 20 20 20 65 6c |.Xc.X | el|
|000010b0| 73 65 20 69 66 28 6b 65 | 79 2e 65 71 2e 27 66 27 |se if(ke|y.eq.'f'|
|000010c0| 29 20 74 68 65 6e 0a 58 | 20 20 20 20 20 20 20 20 |) then.X| |
|000010d0| 20 20 20 69 66 28 6c 6f | 67 29 20 77 72 69 74 65 | if(lo|g) write|
|000010e0| 28 36 2c 27 28 41 29 27 | 29 20 27 20 46 6c 6f 70 |(6,'(A)'|) ' Flop|
|000010f0| 70 79 20 2d 2d 3e 20 4c | 69 73 74 20 73 6f 75 72 |py --> L|ist sour|
|00001100| 63 65 20 6c 69 6e 65 20 | 6e 75 6d 62 65 72 73 27 |ce line |numbers'|
|00001110| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 77 72 69 |.X | wri|
|00001120| 74 65 28 31 35 2c 27 28 | 61 29 27 29 20 27 2a 46 |te(15,'(|a)') '*F|
|00001130| 55 4c 4c 27 0a 58 20 20 | 20 20 20 20 20 20 20 65 |ULL'.X | e|
|00001140| 6c 73 65 20 69 66 28 6b | 65 79 2e 65 71 2e 27 69 |lse if(k|ey.eq.'i|
|00001150| 27 29 20 74 68 65 6e 0a | 58 20 20 20 20 20 20 20 |') then.|X |
|00001160| 20 20 20 20 63 74 65 6d | 70 20 3d 20 61 72 67 76 | ctem|p = argv|
|00001170| 61 6c 28 33 3a 29 0a 58 | 20 20 20 35 30 20 20 20 |al(3:).X| 50 |
|00001180| 20 20 20 69 65 6e 64 20 | 3d 20 69 6e 64 65 78 28 | iend |= index(|
|00001190| 63 74 65 6d 70 2c 27 2c | 27 29 0a 58 20 20 20 20 |ctemp,',|').X |
|000011a0| 20 20 20 20 20 20 20 69 | 66 28 69 65 6e 64 2e 6e | i|f(iend.n|
|000011b0| 65 2e 30 29 20 74 68 65 | 6e 0a 58 20 20 20 20 20 |e.0) the|n.X |
|000011c0| 20 20 20 20 20 20 20 20 | 77 72 69 74 65 28 31 35 | |write(15|
|000011d0| 2c 27 28 41 29 27 29 20 | 63 74 65 6d 70 28 3a 69 |,'(A)') |ctemp(:i|
|000011e0| 65 6e 64 2d 31 29 0a 58 | 20 20 20 20 20 20 20 20 |end-1).X| |
|000011f0| 20 20 20 20 20 69 66 28 | 6c 6f 67 29 20 77 72 69 | if(|log) wri|
|00001200| 74 65 28 36 2c 27 28 41 | 29 27 29 20 0a 58 20 20 |te(6,'(A|)') .X |
|00001210| 20 20 20 26 20 20 20 20 | 20 20 20 20 20 27 20 46 | & | ' F|
|00001220| 6c 6f 70 70 79 20 2d 2d | 3e 20 49 67 6e 6f 72 65 |loppy --|> Ignore|
|00001230| 3a 20 27 2f 2f 63 74 65 | 6d 70 28 3a 69 65 6e 64 |: '//cte|mp(:iend|
|00001240| 2d 31 29 20 0a 58 20 20 | 20 20 20 20 20 20 20 20 |-1) .X | |
|00001250| 20 20 20 63 74 65 6d 70 | 20 3d 20 63 74 65 6d 70 | ctemp| = ctemp|
|00001260| 28 69 65 6e 64 2b 31 3a | 29 0a 58 20 20 20 20 20 |(iend+1:|).X |
|00001270| 20 20 20 20 20 20 20 20 | 67 6f 74 6f 20 35 30 0a | |goto 50.|
|00001280| 58 20 20 20 20 20 20 20 | 20 20 20 20 65 6e 64 69 |X | endi|
|00001290| 66 0a 58 20 20 20 20 20 | 20 20 20 20 20 20 69 65 |f.X | ie|
|000012a0| 6e 64 20 3d 20 69 6e 64 | 65 78 28 63 74 65 6d 70 |nd = ind|ex(ctemp|
|000012b0| 2c 27 20 27 29 0a 58 20 | 20 20 20 20 20 20 20 20 |,' ').X | |
|000012c0| 20 20 77 72 69 74 65 28 | 31 35 2c 27 28 41 29 27 | write(|15,'(A)'|
|000012d0| 29 20 63 74 65 6d 70 28 | 3a 69 65 6e 64 29 0a 58 |) ctemp(|:iend).X|
|000012e0| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 28 6c 6f | | if(lo|
|000012f0| 67 29 20 77 72 69 74 65 | 28 36 2c 27 28 41 29 27 |g) write|(6,'(A)'|
|00001300| 29 20 27 20 46 6c 6f 70 | 70 79 20 2d 2d 3e 20 49 |) ' Flop|py --> I|
|00001310| 67 6e 6f 72 65 3a 20 27 | 2f 2f 63 74 65 6d 70 28 |gnore: '|//ctemp(|
|00001320| 3a 69 65 6e 64 29 0a 58 | 20 20 20 20 20 20 20 20 |:iend).X| |
|00001330| 20 65 6c 73 65 20 69 66 | 28 6b 65 79 2e 65 71 2e | else if|(key.eq.|
|00001340| 27 63 27 29 20 74 68 65 | 6e 0a 58 20 20 20 20 20 |'c') the|n.X |
|00001350| 20 20 20 20 20 20 69 63 | 68 65 63 6b 20 3d 20 31 | ic|heck = 1|
|00001360| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 63 74 65 |.X | cte|
|00001370| 6d 70 20 3d 20 61 72 67 | 76 61 6c 28 33 3a 29 0a |mp = arg|val(3:).|
|00001380| 58 20 20 20 20 20 20 20 | 20 20 20 20 69 66 28 63 |X | if(c|
|00001390| 74 65 6d 70 2e 65 71 2e | 27 73 74 61 6e 64 61 72 |temp.eq.|'standar|
|000013a0| 64 27 29 20 74 68 65 6e | 0a 58 20 20 20 20 20 20 |d') then|.X |
|000013b0| 20 20 20 20 20 20 20 77 | 72 69 74 65 28 31 35 2c | w|rite(15,|
|000013c0| 27 28 41 29 27 29 20 27 | 2a 43 48 45 43 4b 20 52 |'(A)') '|*CHECK R|
|000013d0| 55 4c 45 20 2a 27 0a 58 | 20 20 20 20 20 20 20 20 |ULE *'.X| |
|000013e0| 20 20 20 20 20 69 66 28 | 6c 6f 67 29 20 77 72 69 | if(|log) wri|
|000013f0| 74 65 28 36 2c 27 28 41 | 29 27 29 20 27 20 46 6c |te(6,'(A|)') ' Fl|
|00001400| 6f 70 70 79 20 2d 2d 3e | 20 43 68 65 63 6b 20 53 |oppy -->| Check S|
|00001410| 74 61 6e 64 61 72 64 20 | 72 75 6c 65 73 27 0a 58 |tandard |rules'.X|
|00001420| 20 20 20 20 20 20 20 20 | 20 20 20 65 6c 73 65 20 | | else |
|00001430| 69 66 28 63 74 65 6d 70 | 2e 65 71 2e 27 20 27 29 |if(ctemp|.eq.' ')|
|00001440| 20 74 68 65 6e 0a 58 20 | 20 20 20 20 20 20 20 20 | then.X | |
|00001450| 20 20 20 20 77 72 69 74 | 65 28 31 35 2c 27 28 41 | writ|e(15,'(A|
|00001460| 29 27 29 20 27 2a 43 48 | 45 43 4b 20 52 55 4c 45 |)') '*CH|ECK RULE|
|00001470| 20 2a 27 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 | *'.X | |
|00001480| 20 20 69 66 28 6c 6f 67 | 29 20 77 72 69 74 65 28 | if(log|) write(|
|00001490| 36 2c 27 28 41 29 27 29 | 20 27 20 46 6c 6f 70 70 |6,'(A)')| ' Flopp|
|000014a0| 79 20 2d 2d 3e 20 43 68 | 65 63 6b 20 53 74 61 6e |y --> Ch|eck Stan|
|000014b0| 64 61 72 64 20 72 75 6c | 65 73 27 0a 58 20 20 20 |dard rul|es'.X |
|000014c0| 20 20 20 20 20 20 20 20 | 65 6c 73 65 20 69 66 28 | |else if(|
|000014d0| 63 74 65 6d 70 2e 65 71 | 2e 27 61 27 29 20 74 68 |ctemp.eq|.'a') th|
|000014e0| 65 6e 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |en.X | |
|000014f0| 20 20 77 72 69 74 65 28 | 31 35 2c 27 28 41 29 27 | write(|15,'(A)'|
|00001500| 29 20 27 2a 43 48 45 43 | 4b 20 52 55 4c 45 20 39 |) '*CHEC|K RULE 9|
|00001510| 39 27 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |9'.X | |
|00001520| 20 20 69 66 28 6c 6f 67 | 29 20 77 72 69 74 65 28 | if(log|) write(|
|00001530| 36 2c 27 28 41 29 27 29 | 20 27 20 46 6c 6f 70 70 |6,'(A)')| ' Flopp|
|00001540| 79 20 2d 2d 3e 20 43 68 | 65 63 6b 20 61 6c 6c 20 |y --> Ch|eck all |
|00001550| 72 75 6c 65 73 27 0a 58 | 20 20 20 20 20 20 20 20 |rules'.X| |
|00001560| 20 20 20 65 6c 73 65 20 | 69 66 28 63 74 65 6d 70 | else |if(ctemp|
|00001570| 2e 65 71 2e 27 6e 27 29 | 20 74 68 65 6e 0a 58 20 |.eq.'n')| then.X |
|00001580| 20 20 20 20 20 20 20 20 | 20 20 20 20 77 72 69 74 | | writ|
|00001590| 65 28 31 35 2c 27 28 41 | 29 27 29 20 27 2a 43 48 |e(15,'(A|)') '*CH|
|000015a0| 45 43 4b 20 52 55 4c 45 | 20 2d 39 39 27 0a 58 20 |ECK RULE| -99'.X |
|000015b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 66 28 | | if(|
|000015c0| 6c 6f 67 29 20 77 72 69 | 74 65 28 36 2c 27 28 41 |log) wri|te(6,'(A|
|000015d0| 29 27 29 20 27 20 46 6c | 6f 70 70 79 20 2d 2d 3e |)') ' Fl|oppy -->|
|000015e0| 20 4e 6f 20 72 75 6c 65 | 20 63 68 65 63 6b 73 27 | No rule| checks'|
|000015f0| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 65 6c 73 |.X | els|
|00001600| 65 20 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |e .X | |
|00001610| 20 63 74 65 6d 70 20 3d | 20 63 74 65 6d 70 28 3a | ctemp =| ctemp(:|
|00001620| 69 6e 64 65 78 28 63 74 | 65 6d 70 2c 27 20 27 29 |index(ct|emp,' ')|
|00001630| 2d 31 29 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 |-1).X | |
|00001640| 20 20 69 66 28 6c 6f 67 | 29 20 77 72 69 74 65 28 | if(log|) write(|
|00001650| 36 2c 27 28 41 29 27 29 | 20 27 20 46 6c 6f 70 70 |6,'(A)')| ' Flopp|
|00001660| 79 20 2d 2d 3e 20 43 68 | 65 63 6b 20 72 75 6c 65 |y --> Ch|eck rule|
|00001670| 73 3a 20 27 2f 2f 0a 58 | 20 20 20 20 20 26 20 20 |s: '//.X| & |
|00001680| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 63 74 65 | | cte|
|00001690| 6d 70 28 3a 69 6e 64 65 | 78 28 63 74 65 6d 70 2c |mp(:inde|x(ctemp,|
|000016a0| 27 20 27 29 2d 31 29 0a | 58 20 20 20 35 31 20 20 |' ')-1).|X 51 |
|000016b0| 20 20 20 20 20 20 69 65 | 6e 64 20 3d 20 69 6e 64 | ie|nd = ind|
|000016c0| 65 78 28 63 74 65 6d 70 | 2c 27 2c 27 29 0a 58 20 |ex(ctemp|,',').X |
|000016d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 28 69 | | if(i|
|000016e0| 65 6e 64 2e 6e 65 2e 30 | 29 20 74 68 65 6e 0a 58 |end.ne.0|) then.X|
|000016f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 77 | | w|
|00001700| 72 69 74 65 28 31 35 2c | 27 28 41 29 27 29 20 27 |rite(15,|'(A)') '|
|00001710| 2a 43 48 45 43 4b 20 52 | 55 4c 45 20 27 2f 2f 63 |*CHECK R|ULE '//c|
|00001720| 74 65 6d 70 28 3a 69 65 | 6e 64 2d 31 29 0a 58 20 |temp(:ie|nd-1).X |
|00001730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 74 | | ct|
|00001740| 65 6d 70 20 3d 20 63 74 | 65 6d 70 28 69 65 6e 64 |emp = ct|emp(iend|
|00001750| 2b 31 3a 29 0a 58 20 20 | 20 20 20 20 20 20 20 20 |+1:).X | |
|00001760| 20 20 20 20 20 67 6f 74 | 6f 20 35 31 0a 58 20 20 | got|o 51.X |
|00001770| 20 20 20 20 20 20 20 20 | 20 20 20 65 6e 64 69 66 | | endif|
|00001780| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 20 20 77 |.X | w|
|00001790| 72 69 74 65 28 31 35 2c | 27 28 41 29 27 29 20 27 |rite(15,|'(A)') '|
|000017a0| 2a 43 48 45 43 4b 20 52 | 55 4c 45 20 27 2f 2f 63 |*CHECK R|ULE '//c|
|000017b0| 74 65 6d 70 0a 58 20 20 | 20 20 20 20 20 20 20 20 |temp.X | |
|000017c0| 20 65 6e 64 69 66 20 0a | 58 20 20 20 20 20 20 20 | endif .|X |
|000017d0| 20 20 65 6c 73 65 20 69 | 66 28 6b 65 79 2e 65 71 | else i|f(key.eq|
|000017e0| 2e 27 74 27 29 20 74 68 | 65 6e 0a 58 20 20 20 20 |.'t') th|en.X |
|000017f0| 20 20 20 20 20 20 20 77 | 72 69 74 65 28 37 2c 27 | w|rite(7,'|
|00001800| 28 41 29 27 29 20 27 4f | 50 54 49 4f 4e 53 2c 54 |(A)') 'O|PTIONS,T|
|00001810| 52 45 45 3b 27 0a 58 20 | 20 20 20 20 20 20 20 20 |REE;'.X | |
|00001820| 20 20 63 74 72 65 65 20 | 3d 20 63 66 69 6c 65 28 | ctree |= cfile(|
|00001830| 3a 6c 66 69 6c 65 29 2f | 2f 27 2e 66 6c 6f 70 74 |:lfile)/|/'.flopt|
|00001840| 72 65 27 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 |re'.X | |
|00001850| 6c 74 72 65 65 20 3d 20 | 69 6e 64 65 78 28 63 74 |ltree = |index(ct|
|00001860| 72 65 65 2c 27 20 27 29 | 2d 31 0a 58 20 20 20 20 |ree,' ')|-1.X |
|00001870| 20 20 20 20 20 20 20 69 | 66 28 6c 6f 67 29 20 77 | i|f(log) w|
|00001880| 72 69 74 65 28 36 2c 27 | 28 41 29 27 29 20 0a 58 |rite(6,'|(A)') .X|
|00001890| 20 20 20 20 20 26 20 20 | 20 20 20 20 20 20 20 20 | & | |
|000018a0| 20 20 20 27 20 46 6c 6f | 70 70 79 20 2d 2d 3e 20 | ' Flo|ppy --> |
|000018b0| 50 72 6f 64 75 63 65 20 | 66 69 6c 65 20 66 6f 72 |Produce |file for|
|000018c0| 20 46 6c 6f 77 3a 20 27 | 2f 2f 63 74 72 65 65 28 | Flow: '|//ctree(|
|000018d0| 3a 6c 74 72 65 65 29 0a | 58 20 20 20 20 20 20 20 |:ltree).|X |
|000018e0| 20 20 20 20 6f 70 65 6e | 28 35 30 2c 66 69 6c 65 | open|(50,file|
|000018f0| 3d 63 74 72 65 65 28 3a | 6c 74 72 65 65 29 2c 73 |=ctree(:|ltree),s|
|00001900| 74 61 74 75 73 3d 27 6e | 65 77 27 2c 0a 58 20 20 |tatus='n|ew',.X |
|00001910| 20 20 20 26 20 20 20 20 | 20 20 20 20 20 20 66 6f | & | fo|
|00001920| 72 6d 3d 27 75 6e 66 6f | 72 6d 61 74 74 65 64 27 |rm='unfo|rmatted'|
|00001930| 2c 65 72 72 3d 39 39 39 | 29 0a 58 20 20 20 20 20 |,err=999|).X |
|00001940| 20 20 20 20 20 20 74 72 | 65 65 20 3d 20 2e 74 72 | tr|ee = .tr|
|00001950| 75 65 2e 0a 58 20 20 20 | 20 20 20 20 20 20 65 6c |ue..X | el|
|00001960| 73 65 20 69 66 28 6b 65 | 79 2e 65 71 2e 27 6a 27 |se if(ke|y.eq.'j'|
|00001970| 29 20 74 68 65 6e 0a 58 | 20 20 20 20 20 20 20 20 |) then.X| |
|00001980| 20 20 20 63 68 61 72 20 | 3d 20 61 72 67 76 61 6c | char |= argval|
|00001990| 28 33 3a 33 29 0a 58 20 | 20 20 20 20 20 20 20 20 |(3:3).X | |
|000019a0| 20 20 69 66 28 63 68 61 | 72 2e 65 71 2e 27 20 27 | if(cha|r.eq.' '|
|000019b0| 29 20 63 68 61 72 20 3d | 20 27 33 27 0a 58 20 20 |) char =| '3'.X |
|000019c0| 20 20 20 20 20 20 20 20 | 20 77 72 69 74 65 28 37 | | write(7|
|000019d0| 2c 27 28 41 29 27 29 20 | 27 4f 50 54 49 4f 4e 53 |,'(A)') |'OPTIONS|
|000019e0| 2c 49 4e 44 45 4e 54 3d | 27 2f 2f 63 68 61 72 2f |,INDENT=|'//char/|
|000019f0| 2f 27 3b 27 0a 58 20 20 | 20 20 20 20 20 20 20 20 |/';'.X | |
|00001a00| 20 69 66 28 6c 6f 67 29 | 20 77 72 69 74 65 28 36 | if(log)| write(6|
|00001a10| 2c 27 28 41 29 27 29 20 | 27 20 46 6c 6f 70 70 79 |,'(A)') |' Floppy|
|00001a20| 20 2d 2d 3e 20 49 6e 64 | 65 6e 74 20 63 6c 61 75 | --> Ind|ent clau|
|00001a30| 73 65 73 20 62 79 20 27 | 2f 2f 63 68 61 72 0a 58 |ses by '|//char.X|
|00001a40| 20 20 20 20 20 20 20 20 | 20 20 20 74 69 64 79 20 | | tidy |
|00001a50| 3d 20 2e 74 72 75 65 2e | 0a 58 20 20 20 20 20 20 |= .true.|.X |
|00001a60| 20 20 20 65 6c 73 65 20 | 69 66 28 6b 65 79 2e 65 | else |if(key.e|
|00001a70| 71 2e 27 66 27 29 20 74 | 68 65 6e 0a 58 20 20 20 |q.'f') t|hen.X |
|00001a80| 20 20 20 20 20 20 20 20 | 77 72 69 74 65 28 37 2c | |write(7,|
|00001a90| 27 28 41 29 27 29 20 27 | 53 54 41 54 45 4d 45 4e |'(A)') '|STATEMEN|
|00001aa0| 54 53 2c 53 45 50 41 52 | 41 54 45 3b 27 0a 58 20 |TS,SEPAR|ATE;'.X |
|00001ab0| 20 20 20 20 20 20 20 20 | 20 20 69 66 28 6c 6f 67 | | if(log|
|00001ac0| 29 20 77 72 69 74 65 28 | 36 2c 27 28 41 29 27 29 |) write(|6,'(A)')|
|00001ad0| 20 27 20 46 6c 6f 70 70 | 79 20 2d 2d 3e 20 47 72 | ' Flopp|y --> Gr|
|00001ae0| 6f 75 70 20 46 4f 52 4d | 41 54 73 20 61 74 20 65 |oup FORM|ATs at e|
|00001af0| 6e 64 27 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 |nd'.X | |
|00001b00| 74 69 64 79 20 3d 20 2e | 74 72 75 65 2e 0a 58 20 |tidy = .|true..X |
|00001b10| 20 20 20 20 20 20 20 20 | 65 6c 73 65 20 69 66 28 | |else if(|
|00001b20| 6b 65 79 2e 65 71 2e 27 | 67 27 29 20 74 68 65 6e |key.eq.'|g') then|
|00001b30| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 77 72 69 |.X | wri|
|00001b40| 74 65 28 37 2c 27 28 41 | 29 27 29 20 27 53 54 41 |te(7,'(A|)') 'STA|
|00001b50| 54 45 4d 45 4e 54 53 2c | 47 4f 54 4f 3b 27 0a 58 |TEMENTS,|GOTO;'.X|
|00001b60| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 28 6c 6f | | if(lo|
|00001b70| 67 29 20 77 72 69 74 65 | 28 36 2c 27 28 41 29 27 |g) write|(6,'(A)'|
|00001b80| 29 20 27 20 46 6c 6f 70 | 70 79 20 2d 2d 3e 20 52 |) ' Flop|py --> R|
|00001b90| 69 67 68 74 20 61 6c 69 | 67 6e 20 47 4f 54 4f 73 |ight ali|gn GOTOs|
|00001ba0| 27 0a 58 20 20 20 20 20 | 20 20 20 20 20 20 74 69 |'.X | ti|
|00001bb0| 64 79 20 3d 20 2e 74 72 | 75 65 2e 0a 58 20 20 20 |dy = .tr|ue..X |
|00001bc0| 20 20 20 20 20 20 65 6c | 73 65 20 69 66 28 6b 65 | el|se if(ke|
|00001bd0| 79 2e 65 71 2e 27 72 27 | 29 20 74 68 65 6e 0a 58 |y.eq.'r'|) then.X|
|00001be0| 20 20 20 20 20 20 20 20 | 20 20 20 63 74 65 6d 70 | | ctemp|
|00001bf0| 20 3d 20 61 72 67 76 61 | 6c 28 33 3a 29 0a 58 20 | = argva|l(3:).X |
|00001c00| 20 20 20 20 20 20 20 20 | 20 20 69 65 6e 64 20 3d | | iend =|
|00001c10| 20 69 6e 64 65 78 28 63 | 74 65 6d 70 2c 27 2c 27 | index(c|temp,','|
|00001c20| 29 0a 58 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |).X | if|
|00001c30| 20 28 69 65 6e 64 2e 65 | 71 2e 30 29 20 63 74 65 | (iend.e|q.0) cte|
|00001c40| 6d 70 20 3d 20 63 74 65 | 6d 70 28 3a 69 6e 64 65 |mp = cte|mp(:inde|
|00001c50| 78 28 63 74 65 6d 70 2c | 27 20 27 29 2d 31 29 2f |x(ctemp,|' ')-1)/|
|00001c60| 2f 27 2c 31 30 27 0a 58 | 20 20 20 20 20 20 20 20 |/',10'.X| |
|00001c70| 20 20 20 77 72 69 74 65 | 28 37 2c 27 28 41 29 27 | write|(7,'(A)'|
|00001c80| 29 20 27 53 54 41 54 45 | 4d 45 4e 54 53 2c 46 4f |) 'STATE|MENTS,FO|
|00001c90| 52 4d 41 54 3d 27 2f 2f | 0a 58 20 20 20 20 20 26 |RMAT='//|.X &|
|00001ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cb0| 20 20 20 20 63 74 65 6d | 70 28 3a 69 6e 64 65 78 | ctem|p(:index|
|00001cc0| 28 63 74 65 6d 70 2c 27 | 20 27 29 2d 31 29 2f 2f |(ctemp,'| ')-1)//|
|00001cd0| 27 3b 27 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 |';'.X | |
|00001ce0| 69 66 28 6c 6f 67 29 20 | 77 72 69 74 65 28 36 2c |if(log) |write(6,|
|00001cf0| 27 28 41 29 27 29 20 27 | 20 46 6c 6f 70 70 79 20 |'(A)') '| Floppy |
|00001d00| 2d 2d 3e 20 52 65 6e 75 | 6d 62 65 72 20 46 4f 52 |--> Renu|mber FOR|
|00001d10| 4d 41 54 73 3a 20 27 2f | 2f 0a 58 20 20 20 20 20 |MATs: '/|/.X |
|00001d20| 26 20 20 20 20 20 20 20 | 20 20 20 20 20 20 27 73 |& | 's|
|00001d30| 74 61 72 74 2c 73 74 65 | 70 20 27 2f 2f 63 74 65 |tart,ste|p '//cte|
|00001d40| 6d 70 28 3a 69 6e 64 65 | 78 28 63 74 65 6d 70 2c |mp(:inde|x(ctemp,|
|00001d50| 27 20 27 29 29 0a 58 20 | 20 20 20 20 20 20 20 20 |' ')).X | |
|00001d60| 20 20 74 69 64 79 20 3d | 20 2e 74 72 75 65 2e 0a | tidy =| .true..|
|00001d70| 58 20 20 20 20 20 20 20 | 20 20 65 6c 73 65 20 69 |X | else i|
|00001d80| 66 28 6b 65 79 2e 65 71 | 2e 27 73 27 29 20 74 68 |f(key.eq|.'s') th|
|00001d90| 65 6e 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 63 |en.X | c|
|00001da0| 74 65 6d 70 20 3d 20 61 | 72 67 76 61 6c 28 33 3a |temp = a|rgval(3:|
|00001db0| 29 0a 58 20 20 20 20 20 | 20 20 20 20 20 20 69 65 |).X | ie|
|00001dc0| 6e 64 20 3d 20 69 6e 64 | 65 78 28 63 74 65 6d 70 |nd = ind|ex(ctemp|
|00001dd0| 2c 27 2c 27 29 0a 58 20 | 20 20 20 20 20 20 20 20 |,',').X | |
|00001de0| 20 20 69 66 20 28 69 65 | 6e 64 2e 65 71 2e 30 29 | if (ie|nd.eq.0)|
|00001df0| 20 63 74 65 6d 70 20 3d | 20 63 74 65 6d 70 28 3a | ctemp =| ctemp(:|
|00001e00| 69 6e 64 65 78 28 63 74 | 65 6d 70 2c 27 20 27 29 |index(ct|emp,' ')|
|00001e10| 2d 31 29 2f 2f 27 2c 31 | 30 27 0a 58 20 20 20 20 |-1)//',1|0'.X |
|00001e20| 20 20 20 20 20 20 20 77 | 72 69 74 65 28 37 2c 27 | w|rite(7,'|
|00001e30| 28 41 29 27 29 20 27 53 | 54 41 54 45 4d 45 4e 54 |(A)') 'S|TATEMENT|
|00001e40| 53 2c 4e 55 4d 42 45 52 | 3d 27 2f 2f 0a 58 20 20 |S,NUMBER|='//.X |
|00001e50| 20 20 20 26 20 20 20 20 | 20 20 20 20 20 20 20 20 | & | |
|00001e60| 20 20 20 20 20 20 20 20 | 63 74 65 6d 70 28 3a 69 | |ctemp(:i|
|00001e70| 6e 64 65 78 28 63 74 65 | 6d 70 2c 27 20 27 29 2d |ndex(cte|mp,' ')-|
|00001e80| 31 29 2f 2f 27 3b 27 0a | 58 20 20 20 20 20 20 20 |1)//';'.|X |
|00001e90| 20 20 20 20 69 66 28 6c | 6f 67 29 20 77 72 69 74 | if(l|og) writ|
|00001ea0| 65 28 36 2c 27 28 41 29 | 27 29 20 27 20 46 6c 6f |e(6,'(A)|') ' Flo|
|00001eb0| 70 70 79 20 2d 2d 3e 20 | 52 65 6e 75 6d 62 65 72 |ppy --> |Renumber|
|00001ec0| 20 73 74 61 74 65 6d 65 | 6e 74 73 3a 20 27 2f 2f | stateme|nts: '//|
|00001ed0| 0a 58 20 20 20 20 20 26 | 20 20 20 20 20 20 20 20 |.X &| |
|00001ee0| 20 20 20 20 20 27 73 74 | 61 72 74 2c 73 74 65 70 | 'st|art,step|
|00001ef0| 20 27 2f 2f 63 74 65 6d | 70 28 3a 69 6e 64 65 78 | '//ctem|p(:index|
|00001f00| 28 63 74 65 6d 70 2c 27 | 20 27 29 29 0a 58 20 20 |(ctemp,'| ')).X |
|00001f10| 20 20 20 20 20 20 20 20 | 20 74 69 64 79 20 3d 20 | | tidy = |
|00001f20| 2e 74 72 75 65 2e 0a 58 | 20 20 20 20 20 20 20 20 |.true..X| |
|00001f30| 20 65 6c 73 65 20 0a 58 | 20 20 20 20 20 20 20 20 | else .X| |
|00001f40| 20 20 20 77 72 69 74 65 | 28 36 2c 27 28 41 29 27 | write|(6,'(A)'|
|00001f50| 29 20 27 20 46 6c 6f 70 | 70 79 20 2d 2d 3e 20 55 |) ' Flop|py --> U|
|00001f60| 6e 72 65 63 6f 67 6e 69 | 7a 65 64 20 71 75 61 6c |nrecogni|zed qual|
|00001f70| 69 66 69 65 72 20 27 2f | 2f 6b 65 79 0a 58 20 20 |ifier '/|/key.X |
|00001f80| 20 20 20 20 20 20 20 65 | 6e 64 69 66 0a 58 20 20 | e|ndif.X |
|00001f90| 35 30 30 20 63 6f 6e 74 | 69 6e 75 65 0a 58 63 0a |500 cont|inue.Xc.|
|00001fa0| 58 20 20 20 20 20 20 69 | 66 28 74 69 64 79 29 20 |X i|f(tidy) |
|00001fb0| 74 68 65 6e 0a 58 20 20 | 20 20 20 20 20 20 20 77 |then.X | w|
|00001fc0| 72 69 74 65 28 37 2c 27 | 28 41 29 27 29 20 27 4f |rite(7,'|(A)') 'O|
|00001fd0| 55 54 50 55 54 2c 46 55 | 4c 4c 2c 43 4f 4d 50 52 |UTPUT,FU|LL,COMPR|
|00001fe0| 45 53 53 3b 27 0a 58 20 | 20 20 20 20 20 20 20 20 |ESS;'.X | |
|00001ff0| 69 66 28 63 66 6f 72 74 | 28 31 3a 31 29 2e 65 71 |if(cfort|(1:1).eq|
|00002000| 2e 27 20 27 29 20 74 68 | 65 6e 0a 58 20 20 20 20 |.' ') th|en.X |
|00002010| 20 20 20 20 20 20 20 63 | 66 6f 72 74 20 3d 20 63 | c|fort = c|
|00002020| 66 69 6c 65 28 3a 6c 66 | 69 6c 65 29 2f 2f 27 2e |file(:lf|ile)//'.|
|00002030| 6f 75 74 27 0a 58 20 20 | 20 20 20 20 20 20 20 20 |out'.X | |
|00002040| 20 6c 66 6f 72 74 20 3d | 20 69 6e 64 65 78 28 63 | lfort =| index(c|
|00002050| 66 6f 72 74 2c 27 20 27 | 29 2d 31 0a 58 20 20 20 |fort,' '|)-1.X |
|00002060| 20 20 20 20 20 20 65 6e | 64 69 66 0a 58 20 20 20 | en|dif.X |
|00002070| 20 20 20 20 20 20 63 62 | 61 64 20 3d 20 63 66 6f | cb|ad = cfo|
|00002080| 72 74 0a 58 20 20 20 20 | 20 20 20 20 20 6f 70 65 |rt.X | ope|
|00002090| 6e 28 31 34 2c 66 69 6c | 65 3d 63 66 6f 72 74 28 |n(14,fil|e=cfort(|
|000020a0| 3a 6c 66 6f 72 74 29 2c | 73 74 61 74 75 73 3d 27 |:lfort),|status='|
|000020b0| 75 6e 6b 6e 6f 77 6e 27 | 2c 65 72 72 3d 39 39 39 |unknown'|,err=999|
|000020c0| 29 0a 58 20 20 20 20 20 | 20 65 6e 64 69 66 20 0a |).X | endif .|
|000020d0| 58 63 0a 58 63 20 64 65 | 66 61 75 6c 74 20 61 63 |Xc.Xc de|fault ac|
|000020e0| 74 69 6f 6e 20 69 73 20 | 74 6f 20 63 68 65 63 6b |tion is |to check|
|000020f0| 20 73 74 61 6e 64 61 72 | 64 20 72 75 6c 65 73 0a | standar|d rules.|
|00002100| 58 63 0a 58 20 20 20 20 | 20 20 69 66 28 69 63 68 |Xc.X | if(ich|
|00002110| 65 63 6b 2e 65 71 2e 30 | 2e 61 6e 64 2e 2e 6e 6f |eck.eq.0|.and..no|
|00002120| 74 2e 66 71 6f 6c 64 29 | 20 74 68 65 6e 0a 58 20 |t.fqold)| then.X |
|00002130| 20 20 20 20 20 20 20 20 | 77 72 69 74 65 28 31 35 | |write(15|
|00002140| 2c 27 28 41 29 27 29 20 | 27 2a 43 48 45 43 4b 20 |,'(A)') |'*CHECK |
|00002150| 52 55 4c 45 20 2a 27 0a | 58 20 20 20 20 20 20 65 |RULE *'.|X e|
|00002160| 6e 64 69 66 0a 58 20 20 | 20 20 20 20 20 20 20 0a |ndif.X | .|
|00002170| 58 20 20 20 20 20 20 77 | 72 69 74 65 28 37 2c 27 |X w|rite(7,'|
|00002180| 28 41 29 27 29 20 27 45 | 4e 44 3b 27 0a 58 20 20 |(A)') 'E|ND;'.X |
|00002190| 20 20 20 20 69 66 28 6c | 6f 67 29 20 77 72 69 74 | if(l|og) writ|
|000021a0| 65 28 36 2c 27 28 41 29 | 27 29 20 27 20 46 6c 6f |e(6,'(A)|') ' Flo|
|000021b0| 70 70 79 20 2d 2d 3e 20 | 46 69 6e 69 73 68 65 64 |ppy --> |Finished|
|000021c0| 20 70 61 72 73 69 6e 67 | 20 63 6f 6d 6d 61 6e 64 | parsing| command|
|000021d0| 27 20 0a 58 20 20 20 20 | 20 20 72 65 77 69 6e 64 |' .X | rewind|
|000021e0| 28 37 29 0a 58 20 20 20 | 20 20 20 72 65 77 69 6e |(7).X | rewin|
|000021f0| 64 28 31 35 29 0a 58 20 | 20 20 20 20 20 63 62 61 |d(15).X | cba|
|00002200| 64 20 3d 20 63 66 69 6c | 65 0a 58 20 20 20 20 20 |d = cfil|e.X |
|00002210| 20 6f 70 65 6e 28 31 31 | 2c 66 69 6c 65 3d 63 66 | open(11|,file=cf|
|00002220| 69 6c 65 28 3a 6c 66 69 | 6c 65 29 2c 73 74 61 74 |ile(:lfi|le),stat|
|00002230| 75 73 3d 27 6f 6c 64 27 | 2c 65 72 72 3d 39 39 39 |us='old'|,err=999|
|00002240| 29 0a 58 20 20 20 20 20 | 20 63 62 61 64 20 3d 20 |).X | cbad = |
|00002250| 27 73 63 72 61 74 63 68 | 27 0a 58 20 20 20 20 20 |'scratch|'.X |
|00002260| 20 6f 70 65 6e 28 39 39 | 2c 73 74 61 74 75 73 3d | open(99|,status=|
|00002270| 27 73 63 72 61 74 63 68 | 27 2c 65 72 72 3d 39 39 |'scratch|',err=99|
|00002280| 39 29 0a 58 63 0a 58 20 | 20 20 20 20 20 63 61 6c |9).Xc.X | cal|
|00002290| 6c 20 61 6c 6c 70 72 6f | 0a 58 63 0a 58 20 20 20 |l allpro|.Xc.X |
|000022a0| 20 20 20 63 6c 6f 73 65 | 28 31 31 29 0a 58 20 20 | close|(11).X |
|000022b0| 20 20 20 20 69 66 28 74 | 69 64 79 29 20 63 6c 6f | if(t|idy) clo|
|000022c0| 73 65 28 31 34 29 0a 58 | 20 20 20 20 20 20 69 66 |se(14).X| if|
|000022d0| 28 74 72 65 65 29 20 63 | 6c 6f 73 65 28 35 30 29 |(tree) c|lose(50)|
|000022e0| 0a 58 20 20 20 20 20 20 | 63 6c 6f 73 65 28 37 29 |.X |close(7)|
|000022f0| 0a 58 20 20 20 20 20 20 | 63 6c 6f 73 65 28 39 39 |.X |close(99|
|00002300| 29 0a 58 20 20 20 20 20 | 20 77 72 69 74 65 28 36 |).X | write(6|
|00002310| 2c 27 28 41 29 27 29 20 | 27 20 46 6c 6f 70 70 79 |,'(A)') |' Floppy|
|00002320| 20 2d 2d 3e 20 68 61 73 | 20 66 69 6e 69 73 68 65 | --> has| finishe|
|00002330| 64 27 0a 58 20 20 20 20 | 20 20 67 6f 74 6f 20 32 |d'.X | goto 2|
|00002340| 30 30 30 0a 58 43 0a 58 | 20 20 39 39 39 20 43 4f |000.XC.X| 999 CO|
|00002350| 4e 54 49 4e 55 45 0a 58 | 20 20 20 20 20 20 57 52 |NTINUE.X| WR|
|00002360| 49 54 45 28 36 2c 27 28 | 41 29 27 29 20 27 20 46 |ITE(6,'(|A)') ' F|
|00002370| 6c 6f 70 70 79 20 2d 2d | 3e 20 45 72 72 6f 72 20 |loppy --|> Error |
|00002380| 6f 70 65 6e 69 6e 67 20 | 27 2f 2f 0a 58 20 20 20 |opening |'//.X |
|00002390| 20 20 26 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | & | |
|000023a0| 20 20 63 62 61 64 28 3a | 69 6e 64 65 78 28 63 62 | cbad(:|index(cb|
|000023b0| 61 64 2c 27 20 27 29 29 | 20 0a 58 20 20 39 30 30 |ad,' '))| .X 900|
|000023c0| 20 77 72 69 74 65 28 36 | 2c 27 28 41 29 27 29 20 | write(6|,'(A)') |
|000023d0| 27 20 46 6c 6f 70 70 79 | 20 61 62 6f 72 74 65 64 |' Floppy| aborted|
|000023e0| 27 20 20 20 20 20 0a 58 | 20 32 30 30 30 20 43 4f |' .X| 2000 CO|
|000023f0| 4e 54 49 4e 55 45 0a 58 | 20 20 20 20 20 20 45 4e |NTINUE.X| EN|
|00002400| 44 0a 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 0a 20 20 |D.END_OF|_FILE. |
|00002410| 69 66 20 74 65 73 74 20 | 37 36 36 35 20 2d 6e 65 |if test |7665 -ne|
|00002420| 20 60 77 63 20 2d 63 20 | 3c 27 66 6c 6f 70 70 79 | `wc -c |<'floppy|
|00002430| 2e 66 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |.f'`; th|en. e|
|00002440| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 66 6c 6f |cho shar|: \"'flo|
|00002450| 70 70 79 2e 66 27 5c 22 | 20 75 6e 70 61 63 6b 65 |ppy.f'\"| unpacke|
|00002460| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|00002470| 65 21 0a 20 20 66 69 0a | 20 20 23 20 65 6e 64 20 |e!. fi.| # end |
|00002480| 6f 66 20 27 66 6c 6f 70 | 70 79 2e 66 27 0a 66 69 |of 'flop|py.f'.fi|
|00002490| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 66 6c 6f |.if test| -f 'flo|
|000024a0| 70 70 79 2e 6c 27 20 2d | 61 20 22 24 7b 31 7d 22 |ppy.l' -|a "${1}"|
|000024b0| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|000024c0| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|000024d0| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|000024e0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|000024f0| 66 6c 6f 70 70 79 2e 6c | 27 5c 22 0a 65 6c 73 65 |floppy.l|'\".else|
|00002500| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |. echo |shar: Ex|
|00002510| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 66 6c 6f 70 |tracting| \"'flop|
|00002520| 70 79 2e 6c 27 5c 22 20 | 5c 28 36 32 31 32 20 63 |py.l'\" |\(6212 c|
|00002530| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 20 20 73 65 |haracter|s\). se|
|00002540| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 66 6c 6f |d "s/^X/|/" >'flo|
|00002550| 70 70 79 2e 6c 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |ppy.l' <|<'END_OF|
|00002560| 5f 46 49 4c 45 27 0a 58 | 2e 54 48 20 66 6c 6f 70 |_FILE'.X|.TH flop|
|00002570| 70 79 20 31 20 22 33 72 | 64 20 4d 61 79 20 31 39 |py 1 "3r|d May 19|
|00002580| 39 30 22 20 20 22 43 45 | 52 4e 22 0a 58 2e 53 48 |90" "CE|RN".X.SH|
|00002590| 20 4e 41 4d 45 0a 58 66 | 6c 6f 70 70 79 20 5c 2d | NAME.Xf|loppy \-|
|000025a0| 20 46 6f 72 74 72 61 6e | 20 63 6f 64 69 6e 67 20 | Fortran| coding |
|000025b0| 63 6f 6e 76 65 6e 74 69 | 6f 6e 20 63 68 65 63 6b |conventi|on check|
|000025c0| 65 72 20 61 6e 64 20 63 | 6f 64 65 20 74 69 64 69 |er and c|ode tidi|
|000025d0| 65 72 0a 58 2e 53 48 20 | 53 59 4e 4f 50 53 49 53 |er.X.SH |SYNOPSIS|
|000025e0| 0a 58 2e 42 20 66 6c 6f | 70 70 79 20 0a 58 5b 0a |.X.B flo|ppy .X[.|
|000025f0| 58 2e 42 20 5c 2d 6c 0a | 58 5d 20 5b 0a 58 2e 42 |X.B \-l.|X] [.X.B|
|00002600| 20 5c 2d 63 20 72 75 6c | 65 73 0a 58 5d 20 5b 0a | \-c rul|es.X] [.|
|00002610| 58 2e 42 20 5c 2d 66 0a | 58 5d 20 5b 0a 58 2e 42 |X.B \-f.|X] [.X.B|
|00002620| 20 5c 2d 6f 20 6f 6c 64 | 20 66 69 6c 65 0a 58 5d | \-o old| file.X]|
|00002630| 20 5b 0a 58 2e 42 20 5c | 2d 69 20 6e 61 6d 65 73 | [.X.B \|-i names|
|00002640| 0a 58 5d 20 5b 0a 58 2e | 42 20 5c 2d 6a 20 6e 75 |.X] [.X.|B \-j nu|
|00002650| 6d 62 65 72 0a 58 5d 20 | 5b 0a 58 2e 42 20 5c 2d |mber.X] |[.X.B \-|
|00002660| 46 0a 58 5d 20 5b 0a 58 | 2e 42 20 5c 2d 47 0a 58 |F.X] [.X|.B \-G.X|
|00002670| 5d 20 5b 0a 58 2e 42 20 | 5c 2d 72 20 73 74 61 72 |] [.X.B |\-r star|
|00002680| 74 5b 2c 73 74 65 70 5d | 0a 58 5d 20 5b 0a 58 2e |t[,step]|.X] [.X.|
|00002690| 42 20 5c 2d 73 20 73 74 | 61 72 74 5b 2c 73 74 65 |B \-s st|art[,ste|
|000026a0| 70 5d 0a 58 5d 20 5b 0a | 58 2e 42 20 5c 2d 6e 20 |p].X] [.|X.B \-n |
|000026b0| 6e 65 77 20 66 6f 72 74 | 72 61 6e 0a 58 5d 20 5b |new fort|ran.X] [|
|000026c0| 0a 58 2e 42 20 5c 2d 74 | 20 66 6c 6f 77 20 66 69 |.X.B \-t| flow fi|
|000026d0| 6c 65 0a 58 5d 20 5b 20 | 66 69 6c 65 20 5d 0a 58 |le.X] [ |file ].X|
|000026e0| 2e 53 48 20 44 45 53 43 | 52 49 50 54 49 4f 4e 0a |.SH DESC|RIPTION.|
|000026f0| 58 2e 49 20 46 6c 6f 70 | 70 79 0a 58 69 73 20 61 |X.I Flop|py.Xis a|
|00002700| 20 74 6f 6f 6c 20 77 68 | 69 63 68 20 61 6c 6c 6f | tool wh|ich allo|
|00002710| 77 73 20 61 20 66 69 6c | 65 20 6f 66 20 46 6f 72 |ws a fil|e of For|
|00002720| 74 72 61 6e 20 37 37 20 | 63 6f 64 65 20 74 6f 20 |tran 77 |code to |
|00002730| 62 65 20 63 68 65 63 6b | 65 64 20 61 67 61 69 6e |be check|ed again|
|00002740| 73 74 0a 58 61 20 73 65 | 74 20 6f 66 20 63 6f 6d |st.Xa se|t of com|
|00002750| 6d 6f 6e 20 63 6f 64 69 | 6e 67 20 63 6f 6e 76 65 |mon codi|ng conve|
|00002760| 6e 74 69 6f 6e 73 2e 20 | 46 6c 6f 70 70 79 20 61 |ntions. |Floppy a|
|00002770| 6c 73 6f 20 61 6c 6c 6f | 77 73 20 74 68 65 20 73 |lso allo|ws the s|
|00002780| 6f 75 72 63 65 20 46 6f | 72 74 72 61 6e 0a 58 74 |ource Fo|rtran.Xt|
|00002790| 6f 20 62 65 20 72 65 66 | 6f 72 6d 61 74 74 65 64 |o be ref|ormatted|
|000027a0| 20 61 6e 64 20 74 69 64 | 69 65 64 20 69 6e 20 76 | and tid|ied in v|
|000027b0| 61 72 69 6f 75 73 20 77 | 61 79 73 2e 0a 58 2e 50 |arious w|ays..X.P|
|000027c0| 50 0a 58 4e 6f 74 65 20 | 74 68 61 74 2c 20 62 65 |P.XNote |that, be|
|000027d0| 66 6f 72 65 20 70 61 73 | 73 69 6e 67 20 63 6f 64 |fore pas|sing cod|
|000027e0| 65 20 74 68 72 6f 75 67 | 68 20 46 6c 6f 70 70 79 |e throug|h Floppy|
|000027f0| 2c 20 69 74 20 73 68 6f | 75 6c 64 20 68 61 76 65 |, it sho|uld have|
|00002800| 0a 58 62 65 65 6e 20 63 | 6f 6d 70 69 6c 65 64 2c |.Xbeen c|ompiled,|
|00002810| 20 70 72 65 66 65 72 61 | 62 6c 79 20 77 69 74 68 | prefera|bly with|
|00002820| 20 74 68 65 20 41 4e 53 | 49 20 63 6f 6d 70 69 6c | the ANS|I compil|
|00002830| 65 72 20 66 6c 61 67 2c | 20 74 6f 20 63 68 65 63 |er flag,| to chec|
|00002840| 6b 0a 58 66 6f 72 20 65 | 72 72 6f 72 73 2e 20 4f |k.Xfor e|rrors. O|
|00002850| 74 68 65 72 77 69 73 65 | 2c 20 74 68 65 20 72 65 |therwise|, the re|
|00002860| 73 75 6c 74 73 20 66 72 | 6f 6d 20 75 73 69 6e 67 |sults fr|om using|
|00002870| 20 46 6c 6f 70 70 79 20 | 61 72 65 0a 58 75 6e 70 | Floppy |are.Xunp|
|00002880| 72 65 64 69 63 74 61 62 | 6c 65 2e 20 4e 6f 74 65 |redictab|le. Note|
|00002890| 20 61 6c 73 6f 20 74 68 | 61 74 20 6e 6f 6e 2d 73 | also th|at non-s|
|000028a0| 74 61 6e 64 61 72 64 20 | 46 6f 72 74 72 61 6e 20 |tandard |Fortran |
|000028b0| 73 74 61 74 65 6d 65 6e | 74 73 0a 58 28 73 75 63 |statemen|ts.X(suc|
|000028c0| 68 20 61 73 20 22 69 6e | 63 6c 75 64 65 22 20 64 |h as "in|clude" d|
|000028d0| 69 72 65 63 74 69 76 65 | 73 20 6f 72 20 6c 6f 77 |irective|s or low|
|000028e0| 65 72 2d 63 61 73 65 29 | 20 61 72 65 20 74 72 65 |er-case)| are tre|
|000028f0| 61 74 65 64 20 61 73 0a | 58 2e 42 20 63 6f 6d 6d |ated as.|X.B comm|
|00002900| 65 6e 74 73 0a 58 62 79 | 20 46 6c 6f 70 70 79 2c |ents.Xby| Floppy,|
|00002910| 20 61 6e 64 20 74 68 75 | 73 20 69 67 6e 6f 72 65 | and thu|s ignore|
|00002920| 64 2e 0a 58 0a 58 2e 53 | 48 20 4f 50 54 49 4f 4e |d..X.X.S|H OPTION|
|00002930| 53 0a 58 2e 49 50 20 5c | 66 42 5c 2d 6c 5c 66 52 |S.X.IP \|fB\-l\fR|
|00002940| 20 31 32 0a 58 54 68 65 | 0a 58 2e 49 20 6c 6f 67 | 12.XThe|.X.I log|
|00002950| 67 69 6e 67 0a 58 6f 70 | 74 69 6f 6e 20 63 61 75 |ging.Xop|tion cau|
|00002960| 73 65 73 20 46 6c 6f 70 | 70 79 20 74 6f 20 70 72 |ses Flop|py to pr|
|00002970| 6f 64 75 63 65 20 61 20 | 76 65 72 62 6f 73 65 20 |oduce a |verbose |
|00002980| 64 65 73 63 72 69 70 74 | 69 6f 6e 20 6f 66 20 74 |descript|ion of t|
|00002990| 68 65 20 73 65 6c 65 63 | 74 65 64 20 6f 70 74 69 |he selec|ted opti|
|000029a0| 6f 6e 73 2e 0a 58 2e 49 | 50 20 5c 66 42 5c 2d 63 |ons..X.I|P \fB\-c|
|000029b0| 5c 20 72 75 6c 65 73 20 | 5c 66 52 20 31 32 0a 58 |\ rules |\fR 12.X|
|000029c0| 54 68 65 20 0a 58 2e 49 | 20 63 68 65 63 6b 73 0a |The .X.I| checks.|
|000029d0| 58 6f 70 74 69 6f 6e 20 | 69 6e 64 69 63 61 74 65 |Xoption |indicate|
|000029e0| 73 20 77 68 69 63 68 20 | 72 75 6c 65 73 20 46 6c |s which |rules Fl|
|000029f0| 6f 70 70 79 20 73 68 6f | 75 6c 64 20 63 68 65 63 |oppy sho|uld chec|
|00002a00| 6b 2e 20 54 68 65 20 63 | 68 65 63 6b 73 20 6d 61 |k. The c|hecks ma|
|00002a10| 79 20 62 65 20 73 70 65 | 63 69 66 69 65 64 20 61 |y be spe|cified a|
|00002a20| 73 0a 58 61 20 73 65 72 | 69 65 73 20 6f 66 20 63 |s.Xa ser|ies of c|
|00002a30| 6f 6d 6d 61 2d 73 65 70 | 61 72 61 74 65 64 20 6e |omma-sep|arated n|
|00002a40| 75 6d 62 65 72 73 20 28 | 73 65 65 20 62 65 6c 6f |umbers (|see belo|
|00002a50| 77 29 2c 20 6f 72 20 61 | 73 20 6f 6e 65 20 6f 66 |w), or a|s one of|
|00002a60| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 3a 0a | the fol|lowing:.|
|00002a70| 58 2e 52 53 20 31 32 0a | 58 2e 49 50 20 73 74 61 |X.RS 12.|X.IP sta|
|00002a80| 6e 64 61 72 64 20 31 32 | 0a 58 54 68 65 20 73 74 |ndard 12|.XThe st|
|00002a90| 61 6e 64 61 72 64 20 73 | 65 74 20 6f 66 20 72 75 |andard s|et of ru|
|00002aa0| 6c 65 73 20 77 69 6c 6c | 20 62 65 20 63 68 65 63 |les will| be chec|
|00002ab0| 6b 65 64 20 28 74 68 6f | 73 65 20 6d 61 72 6b 65 |ked (tho|se marke|
|00002ac0| 64 20 2a 20 69 6e 20 74 | 68 65 20 6c 69 73 74 20 |d * in t|he list |
|00002ad0| 62 65 6c 6f 77 29 2e 0a | 58 2e 49 50 20 61 20 31 |below)..|X.IP a 1|
|00002ae0| 32 0a 58 41 4c 4c 20 72 | 75 6c 65 73 20 69 6e 20 |2.XALL r|ules in |
|00002af0| 74 68 65 20 61 76 61 69 | 6c 61 62 6c 65 20 6c 69 |the avai|lable li|
|00002b00| 73 74 20 77 69 6c 6c 20 | 62 65 20 63 68 65 63 6b |st will |be check|
|00002b10| 65 64 2e 0a 58 2e 49 50 | 20 6e 20 31 32 0a 58 4e |ed..X.IP| n 12.XN|
|00002b20| 4f 20 72 75 6c 65 73 20 | 77 69 6c 6c 20 62 65 20 |O rules |will be |
|00002b30| 63 68 65 63 6b 65 64 2e | 20 28 55 73 65 66 75 6c |checked.| (Useful|
|00002b40| 20 77 68 65 6e 20 6a 75 | 73 74 20 74 69 64 79 69 | when ju|st tidyi|
|00002b50| 6e 67 20 63 6f 64 65 2e | 29 0a 58 2e 50 50 0a 58 |ng code.|).X.PP.X|
|00002b60| 4e 6f 74 65 20 74 68 61 | 74 2c 20 69 66 20 73 65 |Note tha|t, if se|
|00002b70| 6c 65 63 74 69 6e 67 20 | 69 6e 64 69 76 69 64 75 |lecting |individu|
|00002b80| 61 6c 20 72 75 6c 65 20 | 6e 75 6d 62 65 72 73 2c |al rule |numbers,|
|00002b90| 20 39 39 20 69 73 20 74 | 61 6b 65 6e 20 74 6f 20 | 99 is t|aken to |
|00002ba0| 6d 65 61 6e 20 41 4c 4c | 0a 58 72 75 6c 65 73 2c |mean ALL|.Xrules,|
|00002bb0| 20 61 6e 64 20 2d 39 39 | 20 74 6f 20 6d 65 61 6e | and -99| to mean|
|00002bc0| 20 4e 4f 20 72 75 6c 65 | 73 2e 20 53 70 65 63 69 | NO rule|s. Speci|
|00002bd0| 66 79 69 6e 67 20 61 20 | 6e 65 67 61 74 69 76 65 |fying a |negative|
|00002be0| 20 72 75 6c 65 20 6e 75 | 6d 62 65 72 20 65 78 63 | rule nu|mber exc|
|00002bf0| 6c 75 64 65 73 0a 58 74 | 68 61 74 20 72 75 6c 65 |ludes.Xt|hat rule|
|00002c00| 2e 20 53 6f 20 74 6f 20 | 63 68 65 63 6b 20 61 6c |. So to |check al|
|00002c10| 6c 20 72 75 6c 65 73 20 | 65 78 63 65 70 74 20 31 |l rules |except 1|
|00002c20| 2c 35 2c 37 20 61 6e 64 | 20 33 31 2c 20 79 6f 75 |,5,7 and| 31, you|
|00002c30| 20 63 61 6e 20 75 73 65 | 0a 58 2e 62 72 0a 58 2e | can use|.X.br.X.|
|00002c40| 52 53 20 31 32 0a 58 2e | 49 20 2d 63 39 39 2c 2d |RS 12.X.|I -c99,-|
|00002c50| 31 2c 2d 35 2c 2d 37 2c | 2d 33 31 0a 58 2e 52 45 |1,-5,-7,|-31.X.RE|
|00002c60| 20 31 32 0a 58 0a 58 2e | 52 45 0a 58 2e 49 50 20 | 12.X.X.|RE.X.IP |
|00002c70| 5c 66 42 5c 2d 66 5c 66 | 52 20 31 32 0a 58 54 68 |\fB\-f\f|R 12.XTh|
|00002c80| 65 0a 58 2e 49 20 66 75 | 6c 6c 0a 58 71 75 61 6c |e.X.I fu|ll.Xqual|
|00002c90| 69 66 69 65 72 20 73 70 | 65 63 69 66 69 65 73 0a |ifier sp|ecifies.|
|00002ca0| 58 74 68 61 74 20 61 6c | 6c 20 73 6f 75 72 63 65 |Xthat al|l source|
|00002cb0| 20 63 6f 64 65 20 6c 69 | 6e 65 73 20 73 68 6f 75 | code li|nes shou|
|00002cc0| 6c 64 20 62 65 20 6c 69 | 73 74 65 64 2c 20 72 61 |ld be li|sted, ra|
|00002cd0| 74 68 65 72 20 74 68 61 | 6e 0a 58 6a 75 73 74 20 |ther tha|n.Xjust |
|00002ce0| 74 68 6f 73 65 20 69 6e | 20 62 72 65 61 63 68 20 |those in| breach |
|00002cf0| 6f 66 20 61 6e 79 20 73 | 70 65 63 69 66 69 65 64 |of any s|pecified|
|00002d00| 20 72 75 6c 65 73 2e 0a | 58 0a 58 2e 49 50 20 5c | rules..|X.X.IP \|
|00002d10| 66 42 5c 2d 6f 5c 20 6f | 6c 64 20 66 69 6c 65 5c |fB\-o\ o|ld file\|
|00002d20| 66 52 20 31 32 0a 58 55 | 73 65 20 61 20 70 72 65 |fR 12.XU|se a pre|
|00002d30| 76 69 6f 75 73 6c 79 2d | 67 65 6e 65 72 61 74 65 |viously-|generate|
|00002d40| 64 20 66 69 6c 65 20 6f | 66 20 72 75 6c 65 20 6e |d file o|f rule n|
|00002d50| 75 6d 62 65 72 73 2c 20 | 69 67 6e 6f 72 65 20 6e |umbers, |ignore n|
|00002d60| 61 6d 65 73 20 65 74 63 | 2e 0a 58 54 68 65 0a 58 |ames etc|..XThe.X|
|00002d70| 2e 49 20 6f 6c 64 0a 58 | 74 61 67 20 73 68 6f 75 |.I old.X|tag shou|
|00002d80| 6c 64 20 62 65 20 73 65 | 74 20 74 6f 20 74 68 65 |ld be se|t to the|
|00002d90| 20 66 69 6c 65 20 6e 61 | 6d 65 2c 20 77 68 69 63 | file na|me, whic|
|00002da0| 68 20 69 73 20 67 65 6e | 65 72 61 74 65 64 20 62 |h is gen|erated b|
|00002db0| 79 20 0a 58 61 70 70 65 | 6e 64 69 6e 67 20 2e 6f |y .Xappe|nding .o|
|00002dc0| 6c 64 20 74 6f 20 74 68 | 65 20 70 72 65 76 69 6f |ld to th|e previo|
|00002dd0| 75 73 20 73 6f 75 72 63 | 65 20 46 6f 72 74 72 61 |us sourc|e Fortra|
|00002de0| 6e 20 66 69 6c 65 20 6e | 61 6d 65 2e 0a 58 0a 58 |n file n|ame..X.X|
|00002df0| 2e 49 50 20 5c 66 42 5c | 2d 69 5c 20 6e 61 6d 65 |.IP \fB\|-i\ name|
|00002e00| 73 5c 66 52 20 31 32 0a | 58 53 70 65 63 69 66 79 |s\fR 12.|XSpecify|
|00002e10| 20 61 20 6c 69 73 74 20 | 6f 66 20 46 6f 72 74 72 | a list |of Fortr|
|00002e20| 61 6e 20 6d 6f 64 75 6c | 65 20 61 6e 64 20 76 61 |an modul|e and va|
|00002e30| 72 69 61 62 6c 65 20 6e | 61 6d 65 73 20 74 6f 20 |riable n|ames to |
|00002e40| 62 65 20 69 67 6e 6f 72 | 65 64 0a 58 77 68 65 6e |be ignor|ed.Xwhen|
|00002e50| 20 74 68 65 20 72 75 6c | 65 73 20 61 72 65 20 63 | the rul|es are c|
|00002e60| 68 65 63 6b 65 64 2e 20 | 53 70 65 63 69 66 79 20 |hecked. |Specify |
|00002e70| 6d 6f 64 75 6c 65 20 6e | 61 6d 65 73 20 62 79 20 |module n|ames by |
|00002e80| 70 72 65 70 65 6e 64 69 | 6e 67 20 74 68 65 0a 58 |prependi|ng the.X|
|00002e90| 6e 61 6d 65 20 77 69 74 | 68 20 61 20 23 20 73 69 |name wit|h a # si|
|00002ea0| 67 6e 2e 20 54 68 65 20 | 6c 69 73 74 20 6f 66 20 |gn. The |list of |
|00002eb0| 6e 61 6d 65 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |names sh|ould be |
|00002ec0| 73 65 70 61 72 61 74 65 | 64 20 62 79 20 63 6f 6d |separate|d by com|
|00002ed0| 6d 61 73 2e 0a 58 4e 6f | 74 65 20 61 6c 73 6f 20 |mas..XNo|te also |
|00002ee0| 74 68 61 74 20 74 68 65 | 20 6e 61 6d 65 73 20 73 |that the| names s|
|00002ef0| 68 6f 75 6c 64 20 62 65 | 20 75 70 70 65 72 63 61 |hould be| upperca|
|00002f00| 73 65 2c 20 74 6f 20 63 | 6f 6e 66 6f 72 6d 20 77 |se, to c|onform w|
|00002f10| 69 74 68 20 74 68 65 0a | 58 46 37 37 20 73 74 61 |ith the.|XF77 sta|
|00002f20| 6e 64 61 72 64 2e 20 46 | 6f 72 20 65 78 61 6d 70 |ndard. F|or examp|
|00002f30| 6c 65 2c 0a 58 2e 62 72 | 0a 58 2e 49 20 2d 69 23 |le,.X.br|.X.I -i#|
|00002f40| 47 4f 4f 42 41 52 2c 46 | 4f 4f 42 41 52 0a 58 77 |GOOBAR,F|OOBAR.Xw|
|00002f50| 69 6c 6c 20 63 61 75 73 | 65 20 73 75 62 72 6f 75 |ill caus|e subrou|
|00002f60| 74 69 6e 65 20 47 4f 4f | 42 41 52 20 74 6f 20 62 |tine GOO|BAR to b|
|00002f70| 65 20 69 67 6e 6f 72 65 | 64 2c 20 61 6e 64 20 61 |e ignore|d, and a|
|00002f80| 6e 79 20 72 65 66 65 72 | 65 6e 63 65 73 20 74 6f |ny refer|ences to|
|00002f90| 20 74 68 65 0a 58 76 61 | 72 69 61 62 6c 65 20 46 | the.Xva|riable F|
|00002fa0| 4f 4f 42 41 52 2e 0a 58 | 0a 58 2e 50 50 0a 58 0a |OOBAR..X|.X.PP.X.|
|00002fb0| 58 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6f |XThe fol|lowing o|
|00002fc0| 70 74 69 6f 6e 73 20 61 | 70 70 6c 79 20 74 6f 20 |ptions a|pply to |
|00002fd0| 63 6f 64 65 20 74 69 64 | 79 69 6e 67 3a 0a 58 0a |code tid|ying:.X.|
|00002fe0| 58 2e 49 50 20 5c 66 42 | 5c 2d 6a 5c 20 5b 6e 75 |X.IP \fB|\-j\ [nu|
|00002ff0| 6d 62 65 72 5d 5c 66 52 | 20 31 32 0a 58 54 68 65 |mber]\fR| 12.XThe|
|00003000| 0a 58 2e 49 20 69 6e 64 | 65 6e 74 0a 58 6f 70 74 |.X.I ind|ent.Xopt|
|00003010| 69 6f 6e 20 63 61 75 73 | 65 73 20 61 6c 6c 20 44 |ion caus|es all D|
|00003020| 4f 20 6c 6f 6f 70 73 20 | 61 6e 64 20 49 46 2e 2e |O loops |and IF..|
|00003030| 2e 54 48 45 4e 2e 2e 2e | 45 4e 44 49 46 20 63 6c |.THEN...|ENDIF cl|
|00003040| 61 75 73 65 73 20 74 6f | 20 62 65 0a 58 69 6e 64 |auses to| be.Xind|
|00003050| 65 6e 74 65 64 20 62 79 | 20 74 68 65 20 73 70 65 |ented by| the spe|
|00003060| 63 69 66 69 65 64 20 6e | 75 6d 62 65 72 20 6f 66 |cified n|umber of|
|00003070| 20 73 70 61 63 65 73 20 | 74 6f 20 74 68 65 20 72 | spaces |to the r|
|00003080| 69 67 68 74 2e 20 54 68 | 65 20 64 65 66 61 75 6c |ight. Th|e defaul|
|00003090| 74 0a 58 76 61 6c 75 65 | 20 69 73 20 33 20 73 70 |t.Xvalue| is 3 sp|
|000030a0| 61 63 65 73 2c 20 74 68 | 65 20 6d 61 78 69 6d 75 |aces, th|e maximu|
|000030b0| 6d 20 61 6c 6c 6f 77 65 | 64 20 69 73 20 35 2e 0a |m allowe|d is 5..|
|000030c0| 58 0a 58 2e 49 50 20 5c | 66 42 5c 2d 46 5c 66 52 |X.X.IP \|fB\-F\fR|
|000030d0| 20 31 32 0a 58 53 70 65 | 63 69 66 69 65 73 20 74 | 12.XSpe|cifies t|
|000030e0| 68 61 74 20 61 6c 6c 20 | 46 4f 52 4d 41 54 20 73 |hat all |FORMAT s|
|000030f0| 74 61 74 65 6d 65 6e 74 | 73 20 62 65 20 67 72 6f |tatement|s be gro|
|00003100| 75 70 65 64 20 74 6f 67 | 65 74 68 65 72 20 61 74 |uped tog|ether at|
|00003110| 20 74 68 65 20 65 6e 64 | 0a 58 6f 66 20 65 61 63 | the end|.Xof eac|
|00003120| 68 20 6d 6f 64 75 6c 65 | 2e 0a 58 0a 58 2e 49 50 |h module|..X.X.IP|
|00003130| 20 5c 66 42 5c 2d 47 5c | 66 52 20 31 32 0a 58 53 | \fB\-G\|fR 12.XS|
|00003140| 70 65 63 69 66 69 65 73 | 20 74 68 61 74 20 61 6c |pecifies| that al|
|00003150| 6c 20 47 4f 54 4f 20 6e | 20 63 6c 61 75 73 65 73 |l GOTO n| clauses|
|00003160| 20 61 72 65 20 72 69 67 | 68 74 20 61 64 6a 75 73 | are rig|ht adjus|
|00003170| 74 65 64 20 74 6f 20 63 | 6f 6c 75 6d 6e 20 37 32 |ted to c|olumn 72|
|00003180| 2e 0a 58 0a 58 2e 49 50 | 20 5c 66 42 5c 2d 73 5c |..X.X.IP| \fB\-s\|
|00003190| 20 73 74 61 72 74 2c 5b | 73 74 65 70 5d 5c 66 52 | start,[|step]\fR|
|000031a0| 20 31 32 0a 58 53 70 65 | 63 69 66 79 20 74 68 61 | 12.XSpe|cify tha|
|000031b0| 74 20 61 6c 6c 20 6c 61 | 62 65 6c 6c 65 64 20 73 |t all la|belled s|
|000031c0| 74 61 74 65 6d 65 6e 74 | 73 20 62 65 20 72 65 2d |tatement|s be re-|
|000031d0| 6e 75 6d 62 65 72 65 64 | 2c 20 73 74 61 72 74 69 |numbered|, starti|
|000031e0| 6e 67 20 61 74 0a 58 2e | 49 20 73 74 61 72 74 0a |ng at.X.|I start.|
|000031f0| 58 61 6e 64 20 73 74 65 | 70 70 69 6e 67 20 62 79 |Xand ste|pping by|
|00003200| 0a 58 2e 49 20 73 74 65 | 70 2e 0a 58 54 68 65 20 |.X.I ste|p..XThe |
|00003210| 64 65 66 61 75 6c 74 20 | 76 61 6c 75 65 20 66 6f |default |value fo|
|00003220| 72 0a 58 2e 49 20 73 74 | 65 70 0a 58 69 73 20 31 |r.X.I st|ep.Xis 1|
|00003230| 30 2e 0a 58 0a 58 2e 49 | 50 20 5c 66 42 5c 2d 72 |0..X.X.I|P \fB\-r|
|00003240| 5c 20 73 74 61 72 74 2c | 5b 73 74 65 70 5d 5c 66 |\ start,|[step]\f|
|00003250| 52 20 31 32 0a 58 53 70 | 65 63 69 66 79 20 74 68 |R 12.XSp|ecify th|
|00003260| 61 74 20 61 6c 6c 20 46 | 4f 52 4d 41 54 20 73 74 |at all F|ORMAT st|
|00003270| 61 74 65 6d 65 6e 74 73 | 20 62 65 20 72 65 2d 6e |atements| be re-n|
|00003280| 75 6d 62 65 72 65 64 2c | 20 73 74 61 72 74 69 6e |umbered,| startin|
|00003290| 67 20 61 74 0a 58 2e 49 | 20 73 74 61 72 74 0a 58 |g at.X.I| start.X|
|000032a0| 61 6e 64 20 73 74 65 70 | 70 69 6e 67 20 62 79 0a |and step|ping by.|
|000032b0| 58 2e 49 20 73 74 65 70 | 2e 0a 58 54 68 65 20 64 |X.I step|..XThe d|
|000032c0| 65 66 61 75 6c 74 20 76 | 61 6c 75 65 20 66 6f 72 |efault v|alue for|
|000032d0| 0a 58 2e 49 20 73 74 65 | 70 0a 58 69 73 20 31 30 |.X.I ste|p.Xis 10|
|000032e0| 2e 0a 58 0a 58 2e 49 50 | 20 5c 66 42 5c 2d 6e 5c |..X.X.IP| \fB\-n\|
|000032f0| 20 6e 65 77 20 66 6f 72 | 74 72 61 6e 5c 66 52 20 | new for|tran\fR |
|00003300| 31 32 0a 58 43 61 75 73 | 65 73 20 74 68 65 20 6e |12.XCaus|es the n|
|00003310| 65 77 20 46 6f 72 74 72 | 61 6e 20 66 69 6c 65 20 |ew Fortr|an file |
|00003320| 74 6f 20 62 65 20 63 61 | 6c 6c 65 64 0a 58 2e 49 |to be ca|lled.X.I|
|00003330| 20 6e 65 77 20 66 6f 72 | 74 72 61 6e 2e 0a 58 49 | new for|tran..XI|
|00003340| 66 20 74 68 69 73 20 6f | 70 74 69 6f 6e 20 69 73 |f this o|ption is|
|00003350| 20 6e 6f 74 20 67 69 76 | 65 6e 2c 20 74 68 65 6e | not giv|en, then|
|00003360| 20 74 68 65 20 6e 65 77 | 20 46 6f 72 74 72 61 6e | the new| Fortran|
|00003370| 20 66 69 6c 65 0a 58 77 | 69 6c 6c 20 68 61 76 65 | file.Xw|ill have|
|00003380| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00003390| 20 73 6f 75 72 63 65 20 | 46 6f 72 74 72 61 6e 2c | source |Fortran,|
|000033a0| 20 61 70 70 65 6e 64 65 | 64 20 62 79 0a 58 2e 49 | appende|d by.X.I|
|000033b0| 20 2e 6f 75 74 0a 58 0a | 58 2e 49 50 20 5c 66 42 | .out.X.|X.IP \fB|
|000033c0| 5c 2d 74 5c 20 46 6c 6f | 77 20 66 69 6c 65 5c 66 |\-t\ Flo|w file\f|
|000033d0| 52 20 31 32 0a 58 54 68 | 65 0a 58 2e 49 20 46 6c |R 12.XTh|e.X.I Fl|
|000033e0| 6f 77 0a 58 6f 70 74 69 | 6f 6e 20 73 70 65 63 69 |ow.Xopti|on speci|
|000033f0| 66 69 65 73 20 74 68 61 | 74 20 61 20 62 69 6e 61 |fies tha|t a bina|
|00003400| 72 79 20 66 69 6c 65 20 | 62 65 20 77 72 69 74 74 |ry file |be writt|
|00003410| 65 6e 20 6f 75 74 20 74 | 68 61 74 0a 58 6d 61 79 |en out t|hat.Xmay|
|00003420| 20 61 66 74 65 72 77 61 | 72 64 73 20 62 65 20 70 | afterwa|rds be p|
|00003430| 72 6f 63 65 73 73 65 64 | 20 62 79 20 74 68 65 20 |rocessed| by the |
|00003440| 46 6c 6f 77 20 70 72 6f | 67 72 61 6d 2e 0a 58 0a |Flow pro|gram..X.|
|00003450| 58 2e 53 48 20 43 4f 44 | 49 4e 47 20 43 4f 4e 56 |X.SH COD|ING CONV|
|00003460| 45 4e 54 49 4f 4e 20 4c | 49 53 54 0a 58 0a 58 54 |ENTION L|IST.X.XT|
|00003470| 68 65 20 66 75 6c 6c 20 | 6c 69 73 74 20 6f 66 20 |he full |list of |
|00003480| 72 75 6c 65 73 20 69 73 | 20 61 73 20 66 6f 6c 6c |rules is| as foll|
|00003490| 6f 77 73 3a 0a 58 2e 62 | 72 0a 58 2e 28 6c 0a 58 |ows:.X.b|r.X.(l.X|
|000034a0| 2a 20 20 31 20 20 20 41 | 76 6f 69 64 20 63 6f 6d |* 1 A|void com|
|000034b0| 6d 65 6e 74 20 6c 69 6e | 65 73 20 61 66 74 65 72 |ment lin|es after|
|000034c0| 20 65 6e 64 20 6f 66 20 | 6d 6f 64 75 6c 65 0a 58 | end of |module.X|
|000034d0| 2e 62 72 0a 58 2a 20 20 | 32 20 20 20 45 6e 64 20 |.br.X* |2 End |
|000034e0| 61 6c 6c 20 70 72 6f 67 | 72 61 6d 20 6d 6f 64 75 |all prog|ram modu|
|000034f0| 6c 65 73 20 77 69 74 68 | 20 74 68 65 20 45 4e 44 |les with| the END|
|00003500| 20 73 74 61 74 65 6d 65 | 6e 74 0a 58 2e 62 72 0a | stateme|nt.X.br.|
|00003510| 58 2a 20 20 33 20 20 20 | 44 65 63 6c 61 72 65 64 |X* 3 |Declared|
|00003520| 20 43 4f 4d 4d 4f 4e 20 | 62 6c 6f 63 6b 73 20 6d | COMMON |blocks m|
|00003530| 75 73 74 20 62 65 20 75 | 73 65 64 20 69 6e 20 74 |ust be u|sed in t|
|00003540| 68 65 20 6d 6f 64 75 6c | 65 0a 58 2e 62 72 0a 58 |he modul|e.X.br.X|
|00003550| 2a 20 20 34 20 20 20 43 | 4f 4d 50 4c 45 58 20 61 |* 4 C|OMPLEX a|
|00003560| 6e 64 20 44 4f 55 42 4c | 45 50 52 45 43 49 53 49 |nd DOUBL|EPRECISI|
|00003570| 4f 4e 20 76 61 72 73 20 | 61 74 20 65 6e 64 20 6f |ON vars |at end o|
|00003580| 66 20 43 4f 4d 4d 4f 4e | 0a 58 2e 62 72 0a 58 2a |f COMMON|.X.br.X*|
|00003590| 20 20 35 20 20 20 43 4f | 4d 4d 4f 4e 20 62 6c 6f | 5 CO|MMON blo|
|000035a0| 63 6b 20 64 65 66 69 6e | 69 74 69 6f 6e 73 20 73 |ck defin|itions s|
|000035b0| 68 6f 75 6c 64 20 6e 6f | 74 20 63 68 61 6e 67 65 |hould no|t change|
|000035c0| 0a 58 2e 62 72 0a 58 2a | 20 20 36 20 20 20 56 61 |.X.br.X*| 6 Va|
|000035d0| 72 69 61 62 6c 65 20 6e | 61 6d 65 73 20 73 68 6f |riable n|ames sho|
|000035e0| 75 6c 64 20 62 65 20 36 | 20 6f 72 20 66 65 77 65 |uld be 6| or fewe|
|000035f0| 72 20 63 68 61 72 61 63 | 74 65 72 73 20 6c 6f 6e |r charac|ters lon|
|00003600| 67 0a 58 2e 62 72 0a 58 | 20 20 20 37 20 20 20 56 |g.X.br.X| 7 V|
|00003610| 61 72 69 61 62 6c 65 73 | 20 69 6e 20 43 4f 4d 4d |ariables| in COMM|
|00003620| 4f 4e 20 73 68 6f 75 6c | 64 20 62 65 20 36 20 63 |ON shoul|d be 6 c|
|00003630| 68 61 72 61 63 74 65 72 | 73 20 6c 6f 6e 67 0a 58 |haracter|s long.X|
|00003640| 2e 62 72 0a 58 20 20 20 | 38 20 20 20 56 61 72 69 |.br.X |8 Vari|
|00003650| 61 62 6c 65 73 20 6e 6f | 74 20 69 6e 20 43 4f 4d |ables no|t in COM|
|00003660| 4d 4f 4e 20 73 68 6f 75 | 6c 64 20 62 65 20 3c 36 |MON shou|ld be <6|
|00003670| 20 63 68 61 72 61 63 74 | 65 72 73 0a 58 2e 62 72 | charact|ers.X.br|
|00003680| 0a 58 2a 20 20 39 20 20 | 20 49 6e 74 65 67 65 72 |.X* 9 | Integer|
|00003690| 20 76 61 72 69 61 62 6c | 65 73 20 73 68 6f 75 6c | variabl|es shoul|
|000036a0| 64 20 62 65 67 69 6e 20 | 77 69 74 68 20 49 20 74 |d begin |with I t|
|000036b0| 6f 20 4e 0a 58 2e 62 72 | 0a 58 2a 20 20 31 30 20 |o N.X.br|.X* 10 |
|000036c0| 20 56 61 72 69 61 62 6c | 65 20 6e 61 6d 65 73 20 | Variabl|e names |
|000036d0| 73 68 6f 75 6c 64 20 6e | 6f 74 20 65 71 75 61 6c |should n|ot equal|
|000036e0| 20 46 4f 52 54 52 41 4e | 20 6b 65 79 77 6f 72 64 | FORTRAN| keyword|
|000036f0| 73 0a 58 2e 62 72 0a 58 | 2a 20 20 31 31 20 20 41 |s.X.br.X|* 11 A|
|00003700| 76 6f 69 64 20 63 6f 6d | 6d 65 6e 74 20 6c 69 6e |void com|ment lin|
|00003710| 65 73 20 62 65 66 6f 72 | 65 20 6d 6f 64 75 6c 65 |es befor|e module|
|00003720| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 0a 58 2e 62 | declara|tion.X.b|
|00003730| 72 0a 58 2a 20 20 31 32 | 20 20 4d 6f 64 75 6c 65 |r.X* 12| Module|
|00003740| 20 6e 61 6d 65 73 20 73 | 68 6f 75 6c 64 20 6e 6f | names s|hould no|
|00003750| 74 20 65 71 75 61 6c 20 | 69 6e 74 72 69 6e 73 69 |t equal |intrinsi|
|00003760| 63 20 66 75 6e 63 74 69 | 6f 6e 73 0a 58 2e 62 72 |c functi|ons.X.br|
|00003770| 0a 58 2a 20 20 31 33 20 | 20 46 69 72 73 74 20 73 |.X* 13 | First s|
|00003780| 74 61 74 65 6d 65 6e 74 | 20 69 6e 20 61 20 6d 6f |tatement| in a mo|
|00003790| 64 75 6c 65 20 73 68 6f | 75 6c 64 20 62 65 20 64 |dule sho|uld be d|
|000037a0| 65 63 6c 61 72 61 74 69 | 6f 6e 0a 58 2e 62 72 0a |eclarati|on.X.br.|
|000037b0| 58 2a 20 20 31 34 20 20 | 4d 6f 64 75 6c 65 20 73 |X* 14 |Module s|
|000037c0| 68 6f 75 6c 64 20 62 65 | 67 69 6e 20 77 69 74 68 |hould be|gin with|
|000037d0| 20 61 74 20 6c 65 61 73 | 74 20 33 20 63 6f 6d 6d | at leas|t 3 comm|
|000037e0| 65 6e 74 20 6c 69 6e 65 | 73 0a 58 2e 62 72 0a 58 |ent line|s.X.br.X|
|000037f0| 20 20 20 31 35 20 20 43 | 6f 6d 6d 65 6e 74 20 6c | 15 C|omment l|
|00003800| 69 6e 65 73 20 73 68 6f | 75 6c 64 20 62 65 67 69 |ines sho|uld begi|
|00003810| 6e 20 77 69 74 68 20 61 | 20 43 0a 58 2e 62 72 0a |n with a| C.X.br.|
|00003820| 58 2a 20 20 31 36 20 20 | 4e 6f 20 63 6f 6d 6d 65 |X* 16 |No comme|
|00003830| 6e 74 20 6c 69 6e 65 73 | 20 62 65 74 77 65 65 6e |nt lines| between|
|00003840| 20 63 6f 6e 74 69 6e 75 | 61 74 69 6f 6e 73 0a 58 | continu|ations.X|
|00003850| 2e 62 72 0a 58 2a 20 20 | 31 37 20 20 41 76 6f 69 |.br.X* |17 Avoi|
|00003860| 64 20 6e 6f 6e 2d 73 74 | 61 6e 64 61 72 64 20 76 |d non-st|andard v|
|00003870| 61 72 69 61 62 6c 65 20 | 74 79 70 65 73 20 65 67 |ariable |types eg|
|00003880| 20 49 4e 54 45 47 45 52 | 2a 32 0a 58 2e 62 72 0a | INTEGER|*2.X.br.|
|00003890| 58 2a 20 20 31 38 20 20 | 41 76 6f 69 64 20 6d 75 |X* 18 |Avoid mu|
|000038a0| 6c 74 69 70 6c 65 20 43 | 4f 4d 4d 4f 4e 20 64 65 |ltiple C|OMMON de|
|000038b0| 66 69 6e 69 74 69 6f 6e | 73 20 70 65 72 20 6c 69 |finition|s per li|
|000038c0| 6e 65 0a 58 2e 62 72 0a | 58 2a 20 20 31 39 20 20 |ne.X.br.|X* 19 |
|000038d0| 44 6f 20 6e 6f 74 20 64 | 69 6d 65 6e 73 69 6f 6e |Do not d|imension|
|000038e0| 20 43 4f 4d 4d 4f 4e 20 | 76 61 72 69 61 62 6c 65 | COMMON |variable|
|000038f0| 73 20 6f 75 74 73 69 64 | 65 20 43 4f 4d 4d 4f 4e |s outsid|e COMMON|
|00003900| 0a 58 2e 62 72 0a 58 2a | 20 20 32 30 20 20 41 76 |.X.br.X*| 20 Av|
|00003910| 6f 69 64 20 65 6d 62 65 | 64 64 65 64 20 62 6c 61 |oid embe|dded bla|
|00003920| 6e 6b 73 20 69 6e 20 76 | 61 72 69 61 62 6c 65 20 |nks in v|ariable |
|00003930| 6e 61 6d 65 73 0a 58 2e | 62 72 0a 58 2a 20 20 32 |names.X.|br.X* 2|
|00003940| 31 20 20 41 76 6f 69 64 | 20 65 6d 62 65 64 64 65 |1 Avoid| embedde|
|00003950| 64 20 62 6c 61 6e 6b 73 | 20 69 6e 20 73 79 6e 74 |d blanks| in synt|
|00003960| 61 63 74 69 63 20 65 6e | 74 69 74 69 65 73 0a 58 |actic en|tities.X|
|00003970| 2e 62 72 0a 58 2a 20 20 | 32 32 20 20 41 76 6f 69 |.br.X* |22 Avoi|
|00003980| 64 20 74 68 65 20 75 73 | 65 20 6f 66 20 50 52 49 |d the us|e of PRI|
|00003990| 4e 54 20 73 74 61 74 65 | 6d 65 6e 74 73 20 28 75 |NT state|ments (u|
|000039a0| 73 65 20 57 52 49 54 45 | 29 0a 58 2e 62 72 0a 58 |se WRITE|).X.br.X|
|000039b0| 20 20 20 32 33 20 20 44 | 6f 20 6e 6f 74 20 67 69 | 23 D|o not gi|
|000039c0| 76 65 20 74 68 65 20 45 | 4e 44 20 73 74 61 74 65 |ve the E|ND state|
|000039d0| 6d 65 6e 74 20 61 20 6c | 61 62 65 6c 0a 58 2e 62 |ment a l|abel.X.b|
|000039e0| 72 0a 58 2a 20 20 32 34 | 20 20 41 76 6f 69 64 20 |r.X* 24| Avoid |
|000039f0| 57 52 49 54 45 28 2a 20 | 63 6f 6e 73 74 72 75 63 |WRITE(* |construc|
|00003a00| 74 69 6f 6e 0a 58 2e 62 | 72 0a 58 20 20 20 32 35 |tion.X.b|r.X 25|
|00003a10| 20 20 41 76 6f 69 64 20 | 57 52 49 54 45 20 73 74 | Avoid |WRITE st|
|00003a20| 61 74 65 6d 65 6e 74 20 | 69 6e 20 61 20 46 55 4e |atement |in a FUN|
|00003a30| 43 54 49 4f 4e 0a 58 2e | 62 72 0a 58 2a 20 20 32 |CTION.X.|br.X* 2|
|00003a40| 36 20 20 41 76 6f 69 64 | 20 74 68 65 20 75 73 65 |6 Avoid| the use|
|00003a50| 20 6f 66 20 50 41 55 53 | 45 20 73 74 61 74 65 6d | of PAUS|E statem|
|00003a60| 65 6e 74 73 0a 58 2e 62 | 72 0a 58 2a 20 20 32 37 |ents.X.b|r.X* 27|
|00003a70| 20 20 53 74 61 74 65 6d | 65 6e 74 20 6c 61 62 65 | Statem|ent labe|
|00003a80| 6c 73 20 73 68 6f 75 6c | 64 20 6e 6f 74 20 62 65 |ls shoul|d not be|
|00003a90| 67 69 6e 20 69 6e 20 63 | 6f 6c 75 6d 6e 20 31 0a |gin in c|olumn 1.|
|00003aa0| 58 2e 62 72 0a 58 2a 20 | 20 32 38 20 20 41 6c 77 |X.br.X* | 28 Alw|
|00003ab0| 61 79 73 20 70 72 65 63 | 65 65 64 65 20 53 54 4f |ays prec|eede STO|
|00003ac0| 50 20 62 79 20 61 20 64 | 65 73 63 72 69 70 74 69 |P by a d|escripti|
|00003ad0| 76 65 20 57 52 49 54 45 | 0a 58 2e 62 72 0a 58 2a |ve WRITE|.X.br.X*|
|00003ae0| 20 20 32 39 20 20 41 76 | 6f 69 64 20 74 68 65 20 | 29 Av|oid the |
|00003af0| 75 73 65 20 6f 66 20 45 | 4e 54 52 59 20 69 6e 20 |use of E|NTRY in |
|00003b00| 46 55 4e 43 54 49 4f 4e | 53 0a 58 2e 62 72 0a 58 |FUNCTION|S.X.br.X|
|00003b10| 2a 20 20 33 30 20 20 41 | 76 6f 69 64 20 75 73 69 |* 30 A|void usi|
|00003b20| 6e 67 20 49 2f 4f 20 69 | 6e 20 46 55 4e 43 54 49 |ng I/O i|n FUNCTI|
|00003b30| 4f 4e 73 0a 58 2e 62 72 | 0a 58 20 20 20 33 31 20 |ONs.X.br|.X 31 |
|00003b40| 20 41 76 6f 69 64 20 74 | 68 65 20 75 73 65 20 6f | Avoid t|he use o|
|00003b50| 66 20 74 68 65 20 61 6c | 74 65 72 6e 61 74 65 20 |f the al|ternate |
|00003b60| 52 45 54 55 52 4e 20 73 | 74 61 74 65 6d 65 6e 74 |RETURN s|tatement|
|00003b70| 0a 58 2e 62 72 0a 58 2a | 20 20 33 32 20 20 43 4f |.X.br.X*| 32 CO|
|00003b80| 4d 4d 4f 4e 20 62 6c 6f | 63 6b 20 6e 61 6d 65 73 |MMON blo|ck names|
|00003b90| 20 73 68 6f 75 6c 64 20 | 6e 6f 74 20 65 71 75 61 | should |not equa|
|00003ba0| 6c 20 76 61 72 69 61 62 | 6c 65 20 6e 61 6d 65 73 |l variab|le names|
|00003bb0| 0a 58 2e 62 72 0a 58 2a | 20 20 33 33 20 20 41 76 |.X.br.X*| 33 Av|
|00003bc0| 6f 69 64 20 75 73 65 20 | 6f 66 20 6f 62 73 6f 6c |oid use |of obsol|
|00003bd0| 65 74 65 20 43 45 52 4e | 20 6c 69 62 72 61 72 79 |ete CERN| library|
|00003be0| 20 72 6f 75 74 69 6e 65 | 73 0a 58 2e 62 72 0a 58 | routine|s.X.br.X|
|00003bf0| 20 20 20 33 34 20 20 41 | 76 6f 69 64 20 46 55 4e | 34 A|void FUN|
|00003c00| 43 54 49 4f 4e 20 6e 61 | 6d 65 73 20 74 68 65 20 |CTION na|mes the |
|00003c10| 73 61 6d 65 20 61 73 20 | 69 6e 74 72 69 6e 73 69 |same as |intrinsi|
|00003c20| 63 73 0a 58 2e 62 72 0a | 58 2a 20 20 33 35 20 20 |cs.X.br.|X* 35 |
|00003c30| 4c 6f 63 61 6c 20 66 75 | 6e 63 74 69 6f 6e 73 20 |Local fu|nctions |
|00003c40| 73 68 6f 75 6c 64 20 62 | 65 20 64 65 63 6c 61 72 |should b|e declar|
|00003c50| 65 64 20 45 58 54 45 52 | 4e 41 4c 0a 58 2e 62 72 |ed EXTER|NAL.X.br|
|00003c60| 0a 58 2a 20 20 33 36 20 | 20 4d 6f 64 75 6c 65 20 |.X* 36 | Module |
|00003c70| 6e 61 6d 65 73 20 73 68 | 6f 75 6c 64 20 61 6c 6c |names sh|ould all|
|00003c80| 20 62 65 20 64 69 66 66 | 65 72 65 6e 74 0a 58 2e | be diff|erent.X.|
|00003c90| 62 72 0a 58 2a 20 20 33 | 37 20 20 41 76 6f 69 64 |br.X* 3|7 Avoid|
|00003ca0| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 20 6f 66 20 | express|ions of |
|00003cb0| 6d 69 78 65 64 20 6d 6f | 64 65 20 65 67 20 41 3d |mixed mo|de eg A=|
|00003cc0| 42 2f 49 0a 58 2e 62 72 | 0a 58 2a 20 20 33 38 20 |B/I.X.br|.X* 38 |
|00003cd0| 20 4c 65 6e 67 74 68 20 | 6f 66 20 70 61 73 73 65 | Length |of passe|
|00003ce0| 64 20 43 48 41 52 41 43 | 54 45 52 20 76 61 72 69 |d CHARAC|TER vari|
|00003cf0| 61 62 6c 65 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |ables sh|ould be |
|00003d00| 2a 0a 58 2e 62 72 0a 58 | 2a 20 20 33 39 20 20 4f |*.X.br.X|* 39 O|
|00003d10| 72 64 65 72 20 6f 66 20 | 73 74 61 74 65 6d 65 6e |rder of |statemen|
|00003d20| 74 73 20 73 68 6f 75 6c | 64 20 63 6f 6e 66 6f 72 |ts shoul|d confor|
|00003d30| 6d 20 21 0a 58 2e 62 72 | 0a 58 2a 20 20 34 30 20 |m !.X.br|.X* 40 |
|00003d40| 20 53 65 70 61 72 61 74 | 65 20 53 74 61 74 65 6d | Separat|e Statem|
|00003d50| 65 6e 74 20 46 75 6e 63 | 74 69 6f 6e 73 20 62 79 |ent Func|tions by|
|00003d60| 20 63 6f 6d 6d 65 6e 74 | 20 6c 69 6e 65 73 0a 58 | comment| lines.X|
|00003d70| 2e 62 72 0a 58 2a 20 20 | 34 31 20 20 4e 6f 20 6e |.br.X* |41 No n|
|00003d80| 61 6d 65 73 20 69 6e 20 | 53 74 61 74 65 6d 65 6e |ames in |Statemen|
|00003d90| 74 20 46 75 6e 63 74 69 | 6f 6e 20 64 65 66 69 6e |t Functi|on defin|
|00003da0| 69 74 69 6f 6e 73 20 65 | 6c 73 65 77 68 65 72 65 |itions e|lsewhere|
|00003db0| 0a 58 2e 62 72 0a 58 20 | 20 20 34 32 20 20 55 73 |.X.br.X | 42 Us|
|00003dc0| 65 20 4c 4c 54 2c 4c 47 | 54 20 65 74 63 20 74 6f |e LLT,LG|T etc to|
|00003dd0| 20 63 6f 6d 70 61 72 65 | 20 43 48 41 52 41 43 54 | compare| CHARACT|
|00003de0| 45 52 20 76 61 72 73 2e | 20 69 6e 20 49 46 73 0a |ER vars.| in IFs.|
|00003df0| 58 2e 62 72 0a 58 20 20 | 20 34 33 20 20 56 61 72 |X.br.X | 43 Var|
|00003e00| 69 61 62 6c 65 73 20 28 | 6e 6f 74 20 43 4f 4d 4d |iables (|not COMM|
|00003e10| 4f 4e 2c 20 6e 6f 74 20 | 50 41 52 41 4d 73 29 20 |ON, not |PARAMs) |
|00003e20| 3c 36 20 63 68 61 72 61 | 63 74 65 72 73 0a 58 2e |<6 chara|cters.X.|
|00003e30| 62 72 0a 58 2a 20 20 34 | 34 20 20 50 61 73 73 65 |br.X* 4|4 Passe|
|00003e40| 64 20 61 72 67 75 6d 65 | 6e 74 73 20 73 68 6f 75 |d argume|nts shou|
|00003e50| 6c 64 20 62 65 20 64 69 | 6d 65 6e 73 69 6f 6e 65 |ld be di|mensione|
|00003e60| 64 20 2a 20 69 6e 20 6d | 6f 64 75 6c 65 0a 58 2e |d * in m|odule.X.|
|00003e70| 62 72 0a 58 2e 29 6c 0a | 58 0a 58 2e 53 48 20 53 |br.X.)l.|X.X.SH S|
|00003e80| 45 45 20 41 4c 53 4f 0a | 58 2e 50 50 0a 58 66 6c |EE ALSO.|X.PP.Xfl|
|00003e90| 6f 77 28 6c 29 2c 20 66 | 37 37 28 31 29 0a 45 4e |ow(l), f|77(1).EN|
|00003ea0| 44 5f 4f 46 5f 46 49 4c | 45 0a 20 20 69 66 20 74 |D_OF_FIL|E. if t|
|00003eb0| 65 73 74 20 36 32 31 32 | 20 2d 6e 65 20 60 77 63 |est 6212| -ne `wc|
|00003ec0| 20 2d 63 20 3c 27 66 6c | 6f 70 70 79 2e 6c 27 60 | -c <'fl|oppy.l'`|
|00003ed0| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00003ee0| 73 68 61 72 3a 20 5c 22 | 27 66 6c 6f 70 70 79 2e |shar: \"|'floppy.|
|00003ef0| 6c 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |l'\" unp|acked wi|
|00003f00| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 20 |th wrong| size!. |
|00003f10| 20 66 69 0a 20 20 23 20 | 65 6e 64 20 6f 66 20 27 | fi. # |end of '|
|00003f20| 66 6c 6f 70 70 79 2e 6c | 27 0a 66 69 0a 69 66 20 |floppy.l|'.fi.if |
|00003f30| 74 65 73 74 20 2d 66 20 | 27 66 6c 6f 77 2e 65 78 |test -f |'flow.ex|
|00003f40| 65 63 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |ec' -a "|${1}" !=|
|00003f50| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00003f60| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|00003f70| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|00003f80| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 66 6c 6f |ting fil|e \"'flo|
|00003f90| 77 2e 65 78 65 63 27 5c | 22 0a 65 6c 73 65 0a 20 |w.exec'\|".else. |
|00003fa0| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 | echo sh|ar: Extr|
|00003fb0| 61 63 74 69 6e 67 20 5c | 22 27 66 6c 6f 77 2e 65 |acting \|"'flow.e|
|00003fc0| 78 65 63 27 5c 22 20 5c | 28 36 30 36 35 20 63 68 |xec'\" \|(6065 ch|
|00003fd0| 61 72 61 63 74 65 72 73 | 5c 29 0a 20 20 73 65 64 |aracters|\). sed|
|00003fe0| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 66 6c 6f 77 | "s/^X//|" >'flow|
|00003ff0| 2e 65 78 65 63 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |.exec' <|<'END_OF|
|00004000| 5f 46 49 4c 45 27 0a 58 | 2f 2a 2a 2a 2a 2a 2a 2a |_FILE'.X|/*******|
|00004010| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004020| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004030| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004040| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004050| 2f 0a 58 2f 2a 20 46 4c | 4f 57 20 65 78 65 63 20 |/.X/* FL|OW exec |
|00004060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004090| 20 20 20 20 20 20 20 20 | 20 20 2a 2f 0a 58 2f 2a | | */.X/*|
|000040a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000040b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000040c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000040d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000040e0| 20 20 20 20 20 2a 2f 0a | 58 2f 2a 20 4a 4a 42 20 | */.|X/* JJB |
|000040f0| 4a 75 6c 79 20 31 39 38 | 39 20 20 20 20 20 20 20 |July 198|9 |
|00004100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004130| 2a 2f 0a 58 2f 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |*/.X/***|********|
|00004140| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004150| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2f 0a 58 61 |********|****/.Xa|
|00004180| 64 64 72 65 73 73 20 27 | 43 4f 4d 4d 41 4e 44 27 |ddress '|COMMAND'|
|00004190| 0a 58 73 69 67 6e 61 6c | 20 6f 6e 20 6e 6f 76 61 |.Xsignal| on nova|
|000041a0| 6c 75 65 0a 58 70 61 72 | 73 65 20 73 6f 75 72 63 |lue.Xpar|se sourc|
|000041b0| 65 20 2e 20 2e 20 65 78 | 65 63 6e 61 6d 65 20 2e |e . . ex|ecname .|
|000041c0| 0a 58 20 0a 58 6f 70 74 | 73 65 74 20 3d 20 22 43 |.X .Xopt|set = "C|
|000041d0| 4f 4d 4d 4f 4e 5f 54 41 | 42 4c 45 20 53 54 52 55 |OMMON_TA|BLE STRU|
|000041e0| 43 54 55 52 45 5f 43 48 | 41 52 54 20 47 52 41 50 |CTURE_CH|ART GRAP|
|000041f0| 48 49 43 53 20 4e 4f 44 | 45 22 0a 58 73 6e 67 73 |HICS NOD|E".Xsngs|
|00004200| 65 74 20 3d 20 22 51 55 | 45 52 59 20 45 58 54 45 |et = "QU|ERY EXTE|
|00004210| 52 4e 41 4c 53 22 0a 58 | 4c 4f 47 20 3d 20 27 59 |RNALS".X|LOG = 'Y|
|00004220| 27 0a 58 65 72 72 20 3d | 20 27 20 27 0a 58 64 6f |'.Xerr =| ' '.Xdo|
|00004230| 20 69 20 3d 20 31 20 74 | 6f 20 77 6f 72 64 73 28 | i = 1 t|o words(|
|00004240| 6f 70 74 73 65 74 29 0a | 58 20 20 20 69 6e 74 65 |optset).|X inte|
|00004250| 72 70 72 65 74 20 77 6f | 72 64 28 6f 70 74 73 65 |rpret wo|rd(optse|
|00004260| 74 2c 69 29 20 22 20 3d | 20 27 20 27 22 0a 58 65 |t,i) " =| ' '".Xe|
|00004270| 6e 64 0a 58 64 6f 20 69 | 20 3d 20 31 20 74 6f 20 |nd.Xdo i| = 1 to |
|00004280| 77 6f 72 64 73 28 73 6e | 67 73 65 74 29 0a 58 20 |words(sn|gset).X |
|00004290| 20 20 69 6e 74 65 72 70 | 72 65 74 20 77 6f 72 64 | interp|ret word|
|000042a0| 28 73 6e 67 73 65 74 2c | 69 29 20 22 20 3d 20 27 |(sngset,|i) " = '|
|000042b0| 4e 4f 27 22 0a 58 65 6e | 64 0a 58 20 0a 58 69 6e |NO'".Xen|d.X .Xin|
|000042c0| 74 65 72 61 63 74 69 76 | 65 20 3d 20 22 59 45 53 |teractiv|e = "YES|
|000042d0| 22 0a 58 70 61 72 73 65 | 20 75 70 70 65 72 20 61 |".Xparse| upper a|
|000042e0| 72 67 20 69 6e 70 75 74 | 0a 58 70 61 72 73 65 20 |rg input|.Xparse |
|000042f0| 76 61 6c 75 65 20 69 6e | 70 75 74 20 77 69 74 68 |value in|put with|
|00004300| 20 66 69 6c 65 6e 61 6d | 65 20 27 28 27 20 6f 70 | filenam|e '(' op|
|00004310| 74 69 6f 6e 73 0a 58 69 | 66 20 66 69 6c 65 6e 61 |tions.Xi|f filena|
|00004320| 6d 65 20 3d 20 22 3f 22 | 20 74 68 65 6e 20 64 6f |me = "?"| then do|
|00004330| 3b 20 41 44 44 52 45 53 | 53 20 43 4d 53 20 27 48 |; ADDRES|S CMS 'H|
|00004340| 45 4c 50 20 27 65 78 65 | 63 6e 61 6d 65 3b 20 73 |ELP 'exe|cname; s|
|00004350| 69 67 6e 61 6c 20 45 58 | 49 54 3b 20 65 6e 64 0a |ignal EX|IT; end.|
|00004360| 58 65 72 72 20 3d 20 22 | 46 69 6c 6c 20 69 6e 20 |Xerr = "|Fill in |
|00004370| 74 68 65 20 62 6c 61 6e | 6b 20 66 69 65 6c 64 28 |the blan|k field(|
|00004380| 73 29 20 61 73 20 72 65 | 71 75 69 72 65 64 2e 22 |s) as re|quired."|
|00004390| 0a 58 63 75 72 73 6f 72 | 20 3d 20 22 30 30 30 31 |.Xcursor| = "0001|
|000043a0| 22 0a 58 20 0a 58 69 66 | 20 6f 70 74 69 6f 6e 73 |".X .Xif| options|
|000043b0| 20 5e 3d 20 27 20 27 20 | 74 68 65 6e 20 64 6f 0a | ^= ' ' |then do.|
|000043c0| 58 20 20 20 69 6e 74 65 | 72 61 63 74 69 76 65 20 |X inte|ractive |
|000043d0| 3d 20 22 4e 4f 22 0a 58 | 20 20 20 6e 6f 70 74 73 |= "NO".X| nopts|
|000043e0| 20 3d 20 77 6f 72 64 73 | 28 6f 70 74 69 6f 6e 73 | = words|(options|
|000043f0| 29 0a 58 20 20 20 69 6f | 70 74 20 3d 20 30 20 3b |).X io|pt = 0 ;|
|00004400| 20 65 72 72 20 3d 20 22 | 20 22 0a 58 20 20 20 64 | err = "| ".X d|
|00004410| 6f 20 66 6f 72 65 76 65 | 72 0a 58 20 20 20 20 20 |o foreve|r.X |
|00004420| 20 69 6f 70 74 20 3d 20 | 69 6f 70 74 20 2b 20 31 | iopt = |iopt + 1|
|00004430| 20 3b 20 69 66 20 69 6f | 70 74 20 3e 20 6e 6f 70 | ; if io|pt > nop|
|00004440| 74 73 20 74 68 65 6e 20 | 6c 65 61 76 65 0a 58 20 |ts then |leave.X |
|00004450| 20 20 20 20 20 69 66 20 | 66 69 6e 64 28 73 6e 67 | if |find(sng|
|00004460| 73 65 74 2c 77 6f 72 64 | 28 6f 70 74 69 6f 6e 73 |set,word|(options|
|00004470| 2c 69 6f 70 74 29 29 20 | 5e 3d 20 30 20 74 68 65 |,iopt)) |^= 0 the|
|00004480| 6e 20 64 6f 0a 58 20 20 | 20 20 20 20 20 20 20 69 |n do.X | i|
|00004490| 6e 74 65 72 70 72 65 74 | 20 77 6f 72 64 28 6f 70 |nterpret| word(op|
|000044a0| 74 69 6f 6e 73 2c 69 6f | 70 74 29 7c 7c 27 3d 22 |tions,io|pt)||'="|
|000044b0| 59 45 53 22 27 0a 58 20 | 20 20 20 20 20 20 20 20 |YES"'.X | |
|000044c0| 69 74 65 72 61 74 65 0a | 58 20 20 20 20 20 20 65 |iterate.|X e|
|000044d0| 6e 64 0a 58 20 20 20 20 | 20 20 69 66 20 69 6f 70 |nd.X | if iop|
|000044e0| 74 20 3c 20 6e 6f 70 74 | 73 20 74 68 65 6e 20 64 |t < nopt|s then d|
|000044f0| 6f 0a 58 20 20 20 20 20 | 20 20 20 20 76 61 6c 32 |o.X | val2|
|00004500| 20 3d 20 27 20 27 20 3b | 20 76 61 6c 33 20 3d 20 | = ' ' ;| val3 = |
|00004510| 27 20 27 0a 58 20 20 20 | 20 20 20 20 20 20 6b 65 |' '.X | ke|
|00004520| 79 20 3d 20 77 6f 72 64 | 28 6f 70 74 69 6f 6e 73 |y = word|(options|
|00004530| 2c 69 6f 70 74 29 20 3b | 20 76 61 6c 31 20 3d 20 |,iopt) ;| val1 = |
|00004540| 77 6f 72 64 28 6f 70 74 | 69 6f 6e 73 2c 69 6f 70 |word(opt|ions,iop|
|00004550| 74 2b 31 29 0a 58 20 20 | 20 20 20 20 20 20 20 69 |t+1).X | i|
|00004560| 66 20 66 69 6e 64 28 6f | 70 74 73 65 74 2c 6b 65 |f find(o|ptset,ke|
|00004570| 79 29 20 3d 20 30 20 74 | 68 65 6e 20 64 6f 0a 58 |y) = 0 t|hen do.X|
|00004580| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 72 72 20 | | err |
|00004590| 3d 20 22 55 6e 69 64 65 | 6e 74 69 66 69 65 64 20 |= "Unide|ntified |
|000045a0| 6f 70 74 69 6f 6e 20 6f | 6e 20 63 6f 6d 6d 61 6e |option o|n comman|
|000045b0| 64 20 6c 69 6e 65 3a 20 | 22 6b 65 79 0a 58 20 20 |d line: |"key.X |
|000045c0| 20 20 20 20 20 20 20 20 | 20 20 73 69 67 6e 61 6c | | signal|
|000045d0| 20 45 58 49 54 0a 58 20 | 20 20 20 20 20 20 20 20 | EXIT.X | |
|000045e0| 65 6e 64 0a 58 20 20 20 | 20 20 20 20 20 20 69 66 |end.X | if|
|000045f0| 20 69 6f 70 74 20 2b 20 | 31 20 3c 20 6e 6f 70 74 | iopt + |1 < nopt|
|00004600| 73 20 74 68 65 6e 20 76 | 61 6c 32 20 3d 20 77 6f |s then v|al2 = wo|
|00004610| 72 64 28 6f 70 74 69 6f | 6e 73 2c 69 6f 70 74 2b |rd(optio|ns,iopt+|
|00004620| 32 29 0a 58 20 20 20 20 | 20 20 20 20 20 69 66 20 |2).X | if |
|00004630| 69 6f 70 74 20 2b 20 32 | 20 3c 20 6e 6f 70 74 73 |iopt + 2| < nopts|
|00004640| 20 74 68 65 6e 20 76 61 | 6c 33 20 3d 20 77 6f 72 | then va|l3 = wor|
|00004650| 64 28 6f 70 74 69 6f 6e | 73 2c 69 6f 70 74 2b 33 |d(option|s,iopt+3|
|00004660| 29 0a 58 20 20 20 20 20 | 20 20 20 20 69 66 20 66 |).X | if f|
|00004670| 69 6e 64 28 6f 70 74 73 | 65 74 2c 76 61 6c 32 29 |ind(opts|et,val2)|
|00004680| 20 5e 3d 20 30 20 7c 20 | 66 69 6e 64 28 73 6e 67 | ^= 0 | |find(sng|
|00004690| 73 65 74 2c 76 61 6c 32 | 29 20 5e 3d 20 30 20 74 |set,val2|) ^= 0 t|
|000046a0| 68 65 6e 20 64 6f 0a 58 | 20 20 20 20 20 20 20 20 |hen do.X| |
|000046b0| 20 20 20 20 76 61 6c 32 | 20 3d 20 27 20 27 20 3b | val2| = ' ' ;|
|000046c0| 20 76 61 6c 33 20 3d 20 | 27 20 27 0a 58 20 20 20 | val3 = |' '.X |
|000046d0| 20 20 20 20 20 20 65 6e | 64 0a 58 20 20 20 20 20 | en|d.X |
|000046e0| 20 20 20 20 69 66 20 66 | 69 6e 64 28 6f 70 74 73 | if f|ind(opts|
|000046f0| 65 74 2c 76 61 6c 33 29 | 20 5e 3d 20 30 20 7c 20 |et,val3)| ^= 0 | |
|00004700| 66 69 6e 64 28 73 6e 67 | 73 65 74 2c 76 61 6c 33 |find(sng|set,val3|
|00004710| 29 5e 3d 30 20 74 68 65 | 6e 20 76 61 6c 33 20 3d |)^=0 the|n val3 =|
|00004720| 20 27 20 27 0a 58 20 20 | 20 20 20 20 20 20 20 69 | ' '.X | i|
|00004730| 6e 74 65 72 70 72 65 74 | 20 6b 65 79 20 22 3d 20 |nterpret| key "= |
|00004740| 27 22 76 61 6c 31 20 76 | 61 6c 32 20 76 61 6c 33 |'"val1 v|al2 val3|
|00004750| 22 27 22 0a 58 20 20 20 | 20 20 20 20 20 20 69 6f |"'".X | io|
|00004760| 70 74 20 3d 20 69 6f 70 | 74 20 2b 20 77 6f 72 64 |pt = iop|t + word|
|00004770| 73 28 76 61 6c 31 20 76 | 61 6c 32 20 76 61 6c 33 |s(val1 v|al2 val3|
|00004780| 29 0a 58 20 20 20 20 20 | 20 20 20 20 69 74 65 72 |).X | iter|
|00004790| 61 74 65 0a 58 20 20 20 | 20 20 20 65 6e 64 0a 58 |ate.X | end.X|
|000047a0| 20 20 20 20 20 20 69 66 | 20 69 6f 70 74 20 3d 20 | if| iopt = |
|000047b0| 6e 6f 70 74 73 20 74 68 | 65 6e 20 64 6f 0a 58 20 |nopts th|en do.X |
|000047c0| 20 20 20 20 20 20 20 20 | 65 72 72 20 3d 20 27 4d | |err = 'M|
|000047d0| 69 73 73 69 6e 67 20 76 | 61 6c 75 65 20 66 6f 72 |issing v|alue for|
|000047e0| 20 6f 70 74 69 6f 6e 20 | 27 77 6f 72 64 28 6f 70 | option |'word(op|
|000047f0| 74 69 6f 6e 73 2c 69 6f | 70 74 29 0a 58 20 20 20 |tions,io|pt).X |
|00004800| 20 20 20 20 20 20 73 69 | 67 6e 61 6c 20 45 58 49 | si|gnal EXI|
|00004810| 54 0a 58 20 20 20 20 20 | 20 65 6e 64 0a 58 20 20 |T.X | end.X |
|00004820| 20 65 6e 64 0a 58 65 6e | 64 0a 58 20 0a 58 2f 2a | end.Xen|d.X .X/*|
|00004830| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2f |********|*******/|
|00004840| 0a 58 2f 2a 20 47 45 4e | 45 52 41 4c 20 4d 4f 44 |.X/* GEN|ERAL MOD|
|00004850| 45 20 2a 2f 0a 58 2f 2a | 2a 2a 2a 2a 2a 2a 2a 2a |E */.X/*|********|
|00004860| 2a 2a 2a 2a 2a 2a 2a 2f | 0a 58 20 0a 58 69 66 20 |*******/|.X .Xif |
|00004870| 69 6e 74 65 72 61 63 74 | 69 76 65 20 3d 20 22 4e |interact|ive = "N|
|00004880| 4f 22 20 74 68 65 6e 20 | 73 69 67 6e 61 6c 20 43 |O" then |signal C|
|00004890| 48 45 43 4b 0a 58 69 66 | 20 5e 27 51 43 4f 4e 53 |HECK.Xif| ^'QCONS|
|000048a0| 4f 4c 45 27 28 27 47 52 | 41 50 48 49 43 27 29 20 |OLE'('GR|APHIC') |
|000048b0| 74 68 65 6e 20 64 6f 0a | 58 20 20 20 65 72 72 20 |then do.|X err |
|000048c0| 3d 20 27 4e 6f 74 20 61 | 20 66 75 6c 6c 20 73 63 |= 'Not a| full sc|
|000048d0| 72 65 65 6e 20 64 65 76 | 69 63 65 27 0a 58 20 20 |reen dev|ice'.X |
|000048e0| 20 73 69 67 6e 61 6c 20 | 45 58 49 54 0a 58 65 6e | signal |EXIT.Xen|
|000048f0| 64 0a 58 53 54 41 52 54 | 3a 0a 58 64 6f 20 66 6f |d.XSTART|:.Xdo fo|
|00004900| 72 65 76 65 72 0a 58 20 | 20 20 73 69 67 6e 61 6c |rever.X | signal|
|00004910| 20 6f 66 66 20 65 72 72 | 6f 72 0a 58 20 20 20 27 | off err|or.X '|
|00004920| 49 4f 53 33 32 37 30 27 | 20 65 78 65 63 6e 61 6d |IOS3270'| execnam|
|00004930| 65 20 27 50 41 4e 45 4c | 20 3b 50 41 4e 45 4c 31 |e 'PANEL| ;PANEL1|
|00004940| 20 28 43 4c 45 41 52 20 | 27 63 75 72 73 6f 72 0a | (CLEAR |'cursor.|
|00004950| 58 2f 2a 20 73 69 67 6e | 61 6c 20 6f 6e 20 65 72 |X/* sign|al on er|
|00004960| 72 6f 72 20 20 20 20 69 | 6f 73 33 32 37 30 20 67 |ror i|os3270 g|
|00004970| 69 76 65 73 20 63 6f 64 | 65 73 20 74 68 61 74 20 |ives cod|es that |
|00004980| 61 72 65 6e 27 74 20 65 | 72 72 6f 72 73 2e 2e 2e |aren't e|rrors...|
|00004990| 2a 2f 0a 58 20 20 20 69 | 66 20 49 4f 53 4b 20 3d |*/.X i|f IOSK =|
|000049a0| 20 27 50 46 30 33 27 20 | 74 68 65 6e 20 64 6f 3b | 'PF03' |then do;|
|000049b0| 20 65 72 72 20 3d 20 27 | 20 27 3b 20 73 69 67 6e | err = '| '; sign|
|000049c0| 61 6c 20 45 58 49 54 3b | 20 65 6e 64 0a 58 20 20 |al EXIT;| end.X |
|000049d0| 20 69 66 20 49 4f 53 4b | 20 3d 20 27 50 46 30 32 | if IOSK| = 'PF02|
|000049e0| 27 20 74 68 65 6e 20 64 | 6f 0a 58 20 20 20 20 20 |' then d|o.X |
|000049f0| 20 73 61 79 20 22 45 6e | 74 65 72 20 74 68 65 20 | say "En|ter the |
|00004a00| 43 4d 53 20 63 6f 6d 6d | 61 6e 64 20 3a 22 0a 58 |CMS comm|and :".X|
|00004a10| 20 20 20 20 20 20 70 61 | 72 73 65 20 70 75 6c 6c | pa|rse pull|
|00004a20| 20 63 6f 6d 6d 61 6e 64 | 0a 58 20 20 20 20 20 20 | command|.X |
|00004a30| 73 69 67 6e 61 6c 20 6f | 66 66 20 65 72 72 6f 72 |signal o|ff error|
|00004a40| 3b 20 41 44 44 52 45 53 | 53 20 43 4d 53 20 63 6f |; ADDRES|S CMS co|
|00004a50| 6d 6d 61 6e 64 3b 20 73 | 69 67 6e 61 6c 20 6f 6e |mmand; s|ignal on|
|00004a60| 20 65 72 72 6f 72 0a 58 | 20 20 20 20 20 20 73 61 | error.X| sa|
|00004a70| 79 20 22 43 6f 6e 74 69 | 6e 75 65 20 77 69 74 68 |y "Conti|nue with|
|00004a80| 20 22 65 78 65 63 6e 61 | 6d 65 22 20 3f 20 5b 43 | "execna|me" ? [C|
|00004a90| 52 3d 59 45 53 5d 22 0a | 58 20 20 20 20 20 20 70 |R=YES]".|X p|
|00004aa0| 61 72 73 65 20 75 70 70 | 65 72 20 70 75 6c 6c 20 |arse upp|er pull |
|00004ab0| 61 6e 73 77 65 72 0a 58 | 20 20 20 20 20 20 69 66 |answer.X| if|
|00004ac0| 20 61 62 62 72 65 76 28 | 61 6e 73 77 65 72 2c 22 | abbrev(|answer,"|
|00004ad0| 4e 22 2c 31 29 20 74 68 | 65 6e 20 73 69 67 6e 61 |N",1) th|en signa|
|00004ae0| 6c 20 45 58 49 54 0a 58 | 20 20 20 20 20 20 69 74 |l EXIT.X| it|
|00004af0| 65 72 61 74 65 0a 58 20 | 20 20 65 6e 64 0a 58 20 |erate.X | end.X |
|00004b00| 20 20 69 66 20 49 4f 53 | 4b 20 3d 20 27 50 46 30 | if IOS|K = 'PF0|
|00004b10| 31 27 20 74 68 65 6e 20 | 64 6f 0a 58 20 20 20 20 |1' then |do.X |
|00004b20| 20 20 41 44 44 52 45 53 | 53 20 43 4d 53 20 27 48 | ADDRES|S CMS 'H|
|00004b30| 45 4c 50 20 27 65 78 65 | 63 6e 61 6d 65 0a 58 20 |ELP 'exe|cname.X |
|00004b40| 20 20 65 6e 64 0a 58 20 | 20 20 6c 65 61 76 65 0a | end.X | leave.|
|00004b50| 58 65 6e 64 0a 58 20 0a | 58 43 48 45 43 4b 3a 0a |Xend.X .|XCHECK:.|
|00004b60| 58 65 72 72 20 3d 20 27 | 20 27 0a 58 64 6f 20 69 |Xerr = '| '.Xdo i|
|00004b70| 20 3d 20 31 20 74 6f 20 | 77 6f 72 64 73 28 6f 70 | = 1 to |words(op|
|00004b80| 74 73 65 74 29 0a 58 20 | 20 20 69 6e 74 65 72 70 |tset).X | interp|
|00004b90| 72 65 74 20 22 75 70 70 | 65 72 20 22 77 6f 72 64 |ret "upp|er "word|
|00004ba0| 28 6f 70 74 73 65 74 2c | 69 29 0a 58 65 6e 64 0a |(optset,|i).Xend.|
|00004bb0| 58 64 6f 20 69 20 3d 20 | 31 20 74 6f 20 77 6f 72 |Xdo i = |1 to wor|
|00004bc0| 64 73 28 73 6e 67 73 65 | 74 29 0a 58 20 20 20 69 |ds(sngse|t).X i|
|00004bd0| 6e 74 65 72 70 72 65 74 | 20 22 75 70 70 65 72 20 |nterpret| "upper |
|00004be0| 22 77 6f 72 64 28 73 6e | 67 73 65 74 2c 69 29 0a |"word(sn|gset,i).|
|00004bf0| 58 65 6e 64 0a 58 20 0a | 58 69 6e 74 72 65 65 20 |Xend.X .|Xintree |
|00004c00| 3d 20 66 69 6c 65 6e 61 | 6d 65 0a 58 69 66 20 77 |= filena|me.Xif w|
|00004c10| 6f 72 64 73 28 69 6e 74 | 72 65 65 29 20 3d 20 32 |ords(int|ree) = 2|
|00004c20| 20 74 68 65 6e 20 69 6e | 74 72 65 65 20 3d 20 69 | then in|tree = i|
|00004c30| 6e 74 72 65 65 20 22 2a | 22 0a 58 69 66 20 77 6f |ntree "*|".Xif wo|
|00004c40| 72 64 73 28 69 6e 74 72 | 65 65 29 20 3d 20 31 20 |rds(intr|ee) = 1 |
|00004c50| 74 68 65 6e 20 69 6e 74 | 72 65 65 20 3d 20 69 6e |then int|ree = in|
|00004c60| 74 72 65 65 20 22 46 4c | 4f 50 54 52 45 20 2a 22 |tree "FL|OPTRE *"|
|00004c70| 0a 58 20 0a 58 69 66 20 | 69 6e 74 72 65 65 20 5e |.X .Xif |intree ^|
|00004c80| 3d 20 22 20 22 20 74 68 | 65 6e 20 64 6f 0a 58 20 |= " " th|en do.X |
|00004c90| 20 20 69 66 20 5e 27 46 | 45 58 49 53 54 27 28 69 | if ^'F|EXIST'(i|
|00004ca0| 6e 74 72 65 65 29 20 74 | 68 65 6e 20 64 6f 0a 58 |ntree) t|hen do.X|
|00004cb0| 20 20 20 20 20 20 65 72 | 72 20 3d 20 22 42 69 6e | er|r = "Bin|
|00004cc0| 61 72 79 20 66 69 6c 65 | 20 22 69 6e 74 72 65 65 |ary file| "intree|
|00004cd0| 22 20 64 6f 65 73 20 6e | 6f 74 20 65 78 69 73 74 |" does n|ot exist|
|00004ce0| 2e 22 0a 58 20 20 20 20 | 20 20 63 75 72 73 6f 72 |.".X | cursor|
|00004cf0| 20 3d 20 22 30 30 30 31 | 22 0a 58 20 20 20 20 20 | = "0001|".X |
|00004d00| 20 69 66 20 69 6e 74 65 | 72 61 63 74 69 76 65 20 | if inte|ractive |
|00004d10| 3d 20 22 59 45 53 22 20 | 74 68 65 6e 20 73 69 67 |= "YES" |then sig|
|00004d20| 6e 61 6c 20 53 54 41 52 | 54 0a 58 20 20 20 20 20 |nal STAR|T.X |
|00004d30| 20 73 69 67 6e 61 6c 20 | 45 58 49 54 0a 58 20 20 | signal |EXIT.X |
|00004d40| 20 65 6e 64 0a 58 65 6e | 64 0a 58 20 0a 58 69 66 | end.Xen|d.X .Xif|
|00004d50| 20 77 6f 72 64 73 28 63 | 6f 6d 6d 6f 6e 5f 74 61 | words(c|ommon_ta|
|00004d60| 62 6c 65 29 20 3d 20 32 | 20 74 68 65 6e 20 63 6f |ble) = 2| then co|
|00004d70| 6d 6d 6f 6e 5f 74 61 62 | 6c 65 20 3d 20 63 6f 6d |mmon_tab|le = com|
|00004d80| 6d 6f 6e 5f 74 61 62 6c | 65 20 22 41 22 0a 58 69 |mon_tabl|e "A".Xi|
|00004d90| 66 20 77 6f 72 64 73 28 | 63 6f 6d 6d 6f 6e 5f 74 |f words(|common_t|
|00004da0| 61 62 6c 65 29 20 3d 20 | 31 20 74 68 65 6e 20 63 |able) = |1 then c|
|00004db0| 6f 6d 6d 6f 6e 5f 74 61 | 62 6c 65 20 3d 20 63 6f |ommon_ta|ble = co|
|00004dc0| 6d 6d 6f 6e 5f 74 61 62 | 6c 65 20 22 43 4f 4d 4d |mmon_tab|le "COMM|
|00004dd0| 4f 4e 53 20 41 22 0a 58 | 20 0a 58 69 66 20 77 6f |ONS A".X| .Xif wo|
|00004de0| 72 64 73 28 73 74 72 75 | 63 74 75 72 65 5f 63 68 |rds(stru|cture_ch|
|00004df0| 61 72 74 29 20 3d 20 32 | 20 74 68 65 6e 20 73 74 |art) = 2| then st|
|00004e00| 72 75 63 74 75 72 65 5f | 63 68 61 72 74 20 3d 20 |ructure_|chart = |
|00004e10| 73 74 72 75 63 74 75 72 | 65 5f 63 68 61 72 74 20 |structur|e_chart |
|00004e20| 22 41 22 0a 58 69 66 20 | 77 6f 72 64 73 28 73 74 |"A".Xif |words(st|
|00004e30| 72 75 63 74 75 72 65 5f | 63 68 61 72 74 29 20 3d |ructure_|chart) =|
|00004e40| 20 31 20 74 68 65 6e 20 | 73 74 72 75 63 74 75 72 | 1 then |structur|
|00004e50| 65 5f 63 68 61 72 74 20 | 3d 20 73 74 72 75 63 74 |e_chart |= struct|
|00004e60| 75 72 65 5f 63 68 61 72 | 74 20 22 43 48 41 52 54 |ure_char|t "CHART|
|00004e70| 20 41 22 0a 58 20 0a 58 | 69 66 20 77 6f 72 64 73 | A".X .X|if words|
|00004e80| 28 67 72 61 70 68 69 63 | 73 29 20 3d 20 32 20 74 |(graphic|s) = 2 t|
|00004e90| 68 65 6e 20 67 72 61 70 | 68 69 63 73 20 3d 20 67 |hen grap|hics = g|
|00004ea0| 72 61 70 68 69 63 73 20 | 22 41 22 0a 58 69 66 20 |raphics |"A".Xif |
|00004eb0| 77 6f 72 64 73 28 67 72 | 61 70 68 69 63 73 29 20 |words(gr|aphics) |
|00004ec0| 3d 20 31 20 74 68 65 6e | 20 64 6f 0a 58 20 20 20 |= 1 then| do.X |
|00004ed0| 67 72 61 70 68 69 63 73 | 20 3d 20 67 72 61 70 68 |graphics| = graph|
|00004ee0| 69 63 73 20 22 4c 49 53 | 54 50 53 20 41 22 0a 58 |ics "LIS|TPS A".X|
|00004ef0| 65 6e 64 0a 58 20 0a 58 | 69 66 20 6e 6f 64 65 20 |end.X .X|if node |
|00004f00| 5e 3d 20 27 20 27 20 26 | 20 67 72 61 70 68 69 63 |^= ' ' &| graphic|
|00004f10| 73 20 3d 20 27 20 27 20 | 26 20 73 74 72 75 63 74 |s = ' ' |& struct|
|00004f20| 75 72 65 5f 63 68 61 72 | 74 20 3d 20 27 20 27 20 |ure_char|t = ' ' |
|00004f30| 74 68 65 6e 20 64 6f 0a | 58 20 20 20 65 72 72 20 |then do.|X err |
|00004f40| 3d 20 22 59 6f 75 20 6d | 75 73 74 20 73 70 65 63 |= "You m|ust spec|
|00004f50| 69 66 79 20 61 20 66 69 | 6c 65 20 6e 61 6d 65 20 |ify a fi|le name |
|00004f60| 66 6f 72 20 65 69 74 68 | 65 72 20 67 72 61 70 68 |for eith|er graph|
|00004f70| 69 63 73 20 6f 72 20 74 | 65 78 74 2e 22 0a 58 20 |ics or t|ext.".X |
|00004f80| 20 20 63 75 72 73 6f 72 | 20 3d 20 22 30 30 30 34 | cursor| = "0004|
|00004f90| 22 0a 58 20 20 20 69 66 | 20 69 6e 74 65 72 61 63 |".X if| interac|
|00004fa0| 74 69 76 65 20 3d 20 22 | 59 45 53 22 20 74 68 65 |tive = "|YES" the|
|00004fb0| 6e 20 73 69 67 6e 61 6c | 20 53 54 41 52 54 0a 58 |n signal| START.X|
|00004fc0| 20 20 20 73 69 67 6e 61 | 6c 20 45 58 49 54 0a 58 | signa|l EXIT.X|
|00004fd0| 65 6e 64 0a 58 20 0a 58 | 20 0a 58 69 66 20 67 72 |end.X .X| .Xif gr|
|00004fe0| 61 70 68 69 63 73 20 3d | 20 27 20 27 20 26 20 71 |aphics =| ' ' & q|
|00004ff0| 75 65 72 79 20 3d 20 27 | 4e 4f 27 20 26 20 73 74 |uery = '|NO' & st|
|00005000| 72 75 63 74 75 72 65 5f | 63 68 61 72 74 20 3d 20 |ructure_|chart = |
|00005010| 27 20 27 2c 0a 58 20 20 | 20 26 20 63 6f 6d 6d 6f |' ',.X | & commo|
|00005020| 6e 5f 74 61 62 6c 65 20 | 3d 20 27 20 27 20 74 68 |n_table |= ' ' th|
|00005030| 65 6e 20 64 6f 0a 58 20 | 20 20 65 72 72 20 3d 20 |en do.X | err = |
|00005040| 22 54 68 65 72 65 20 69 | 73 20 6e 6f 74 68 69 6e |"There i|s nothin|
|00005050| 67 20 66 6f 72 20 46 4c | 4f 57 20 74 6f 20 64 6f |g for FL|OW to do|
|00005060| 20 21 22 0a 58 20 20 20 | 63 75 72 73 6f 72 20 3d | !".X |cursor =|
|00005070| 20 22 30 30 30 31 22 0a | 58 20 20 20 69 66 20 69 | "0001".|X if i|
|00005080| 6e 74 65 72 61 63 74 69 | 76 65 20 3d 20 22 59 45 |nteracti|ve = "YE|
|00005090| 53 22 20 74 68 65 6e 20 | 73 69 67 6e 61 6c 20 53 |S" then |signal S|
|000050a0| 54 41 52 54 0a 58 20 20 | 20 73 69 67 6e 61 6c 20 |TART.X | signal |
|000050b0| 45 58 49 54 0a 58 65 6e | 64 0a 58 20 0a 58 27 43 |EXIT.Xen|d.X .X'C|
|000050c0| 4c 52 53 43 52 4e 27 0a | 58 20 0a 58 2f 2a 20 4e |LRSCRN'.|X .X/* N|
|000050d0| 6f 77 20 61 73 73 69 67 | 6e 20 74 68 65 20 46 49 |ow assig|n the FI|
|000050e0| 4c 45 44 45 46 73 20 2a | 2f 0a 58 27 4d 41 4b 45 |LEDEFs *|/.X'MAKE|
|000050f0| 42 55 46 27 0a 58 62 75 | 66 6e 6f 20 3d 20 72 63 |BUF'.Xbu|fno = rc|
|00005100| 0a 58 27 53 45 4e 54 52 | 49 45 53 27 0a 58 65 6e |.X'SENTR|IES'.Xen|
|00005110| 74 72 69 65 73 20 3d 20 | 72 63 0a 58 27 51 46 49 |tries = |rc.X'QFI|
|00005120| 4c 45 44 45 46 20 28 20 | 53 54 41 43 4b 27 0a 58 |LEDEF ( |STACK'.X|
|00005130| 70 75 6c 6c 20 64 75 6d | 6d 79 0a 58 6e 75 6d 5f |pull dum|my.Xnum_|
|00005140| 66 64 65 66 73 20 3d 20 | 30 0a 58 64 6f 20 71 75 |fdefs = |0.Xdo qu|
|00005150| 65 75 65 64 28 29 2d 65 | 6e 74 72 69 65 73 0a 58 |eued()-e|ntries.X|
|00005160| 20 20 20 6e 75 6d 5f 66 | 64 65 66 73 20 3d 20 6e | num_f|defs = n|
|00005170| 75 6d 5f 66 64 65 66 73 | 20 2b 20 31 0a 58 20 20 |um_fdefs| + 1.X |
|00005180| 20 70 75 6c 6c 20 66 64 | 65 66 2e 6e 75 6d 5f 66 | pull fd|ef.num_f|
|00005190| 64 65 66 73 0a 58 65 6e | 64 0a 58 27 44 52 4f 50 |defs.Xen|d.X'DROP|
|000051a0| 42 55 46 20 27 62 75 66 | 6e 6f 0a 58 20 0a 58 63 |BUF 'buf|no.X .Xc|
|000051b0| 6f 6e 74 72 6f 6c 20 3d | 20 27 20 27 0a 58 73 61 |ontrol =| ' '.Xsa|
|000051c0| 79 20 22 46 4c 4f 57 3a | 20 49 6e 70 75 74 20 62 |y "FLOW:| Input b|
|000051d0| 69 6e 61 72 79 20 66 69 | 6c 65 20 22 69 6e 74 72 |inary fi|le "intr|
|000051e0| 65 65 0a 58 27 46 49 4c | 45 44 45 46 20 35 30 20 |ee.X'FIL|EDEF 50 |
|000051f0| 44 49 53 4b 20 27 69 6e | 74 72 65 65 27 20 28 4c |DISK 'in|tree' (L|
|00005200| 52 45 43 4c 20 38 30 30 | 30 20 52 45 43 46 4d 20 |RECL 800|0 RECFM |
|00005210| 56 53 27 0a 58 69 66 20 | 63 6f 6d 6d 6f 6e 5f 74 |VS'.Xif |common_t|
|00005220| 61 62 6c 65 20 5e 3d 20 | 22 20 22 20 74 68 65 6e |able ^= |" " then|
|00005230| 20 64 6f 0a 58 20 20 20 | 73 61 79 20 22 20 20 20 | do.X |say " |
|00005240| 20 20 20 43 4f 4d 4d 4f | 4e 20 62 6c 6f 63 6b 20 | COMMO|N block |
|00005250| 75 73 61 67 65 20 74 61 | 62 6c 65 20 22 63 6f 6d |usage ta|ble "com|
|00005260| 6d 6f 6e 5f 74 61 62 6c | 65 0a 58 20 20 20 27 46 |mon_tabl|e.X 'F|
|00005270| 49 4c 45 44 45 46 20 36 | 30 20 44 49 53 4b 20 27 |ILEDEF 6|0 DISK '|
|00005280| 63 6f 6d 6d 6f 6e 5f 74 | 61 62 6c 65 27 20 28 4c |common_t|able' (L|
|00005290| 52 45 43 4c 20 31 33 32 | 20 52 45 43 46 4d 20 46 |RECL 132| RECFM F|
|000052a0| 27 0a 58 20 20 20 63 6f | 6e 74 72 6f 6c 20 3d 20 |'.X co|ntrol = |
|000052b0| 63 6f 6e 74 72 6f 6c 7c | 7c 27 20 63 6f 6d 6d 6f |control|||' commo|
|000052c0| 6e 27 0a 58 65 6e 64 0a | 58 69 66 20 73 74 72 75 |n'.Xend.|Xif stru|
|000052d0| 63 74 75 72 65 5f 63 68 | 61 72 74 20 5e 3d 20 22 |cture_ch|art ^= "|
|000052e0| 20 22 20 74 68 65 6e 20 | 64 6f 0a 58 20 20 20 73 | " then |do.X s|
|000052f0| 61 79 20 22 20 20 20 20 | 20 20 54 65 78 74 20 76 |ay " | Text v|
|00005300| 65 72 73 69 6f 6e 20 6f | 66 20 63 68 61 72 74 20 |ersion o|f chart |
|00005310| 77 69 6c 6c 20 62 65 20 | 22 73 74 72 75 63 74 75 |will be |"structu|
|00005320| 72 65 5f 63 68 61 72 74 | 0a 58 20 20 20 27 46 49 |re_chart|.X 'FI|
|00005330| 4c 45 44 45 46 20 36 31 | 20 44 49 53 4b 20 27 73 |LEDEF 61| DISK 's|
|00005340| 74 72 75 63 74 75 72 65 | 5f 63 68 61 72 74 27 20 |tructure|_chart' |
|00005350| 28 4c 52 45 43 4c 20 31 | 33 32 20 52 45 43 46 4d |(LRECL 1|32 RECFM|
|00005360| 20 46 27 0a 58 20 20 20 | 63 6f 6e 74 72 6f 6c 20 | F'.X |control |
|00005370| 3d 20 63 6f 6e 74 72 6f | 6c 7c 7c 27 20 63 68 61 |= contro|l||' cha|
|00005380| 72 74 27 0a 58 65 6e 64 | 0a 58 69 66 20 67 72 61 |rt'.Xend|.Xif gra|
|00005390| 70 68 69 63 73 20 5e 3d | 20 27 20 27 20 74 68 65 |phics ^=| ' ' the|
|000053a0| 6e 20 64 6f 0a 58 20 20 | 20 73 61 79 20 22 20 20 |n do.X | say " |
|000053b0| 20 20 20 20 47 72 61 70 | 68 69 63 73 20 76 65 72 | Grap|hics ver|
|000053c0| 73 69 6f 6e 20 6f 66 20 | 63 68 61 72 74 20 77 69 |sion of |chart wi|
|000053d0| 6c 6c 20 62 65 20 22 67 | 72 61 70 68 69 63 73 0a |ll be "g|raphics.|
|000053e0| 58 20 20 20 27 46 49 4c | 45 44 45 46 20 39 36 20 |X 'FIL|EDEF 96 |
|000053f0| 44 49 53 4b 20 27 67 72 | 61 70 68 69 63 73 27 20 |DISK 'gr|aphics' |
|00005400| 28 4c 52 45 43 4c 20 38 | 30 20 52 45 43 46 4d 20 |(LRECL 8|0 RECFM |
|00005410| 46 27 0a 58 20 20 20 63 | 6f 6e 74 72 6f 6c 20 3d |F'.X c|ontrol =|
|00005420| 20 63 6f 6e 74 72 6f 6c | 7c 7c 27 20 67 72 61 70 | control|||' grap|
|00005430| 68 69 63 73 27 0a 58 65 | 6e 64 0a 58 69 66 20 65 |hics'.Xe|nd.Xif e|
|00005440| 78 74 65 72 6e 61 6c 73 | 20 5e 3d 20 27 4e 4f 27 |xternals| ^= 'NO'|
|00005450| 20 74 68 65 6e 20 64 6f | 0a 58 20 20 20 73 61 79 | then do|.X say|
|00005460| 20 22 20 20 20 20 20 20 | 45 78 74 65 72 6e 61 6c | " |External|
|00005470| 20 72 6f 75 74 69 6e 65 | 20 6e 61 6d 65 73 20 77 | routine| names w|
|00005480| 69 6c 6c 20 62 65 20 64 | 69 73 70 6c 61 79 65 64 |ill be d|isplayed|
|00005490| 22 0a 58 20 20 20 63 6f | 6e 74 72 6f 6c 20 3d 20 |".X co|ntrol = |
|000054a0| 63 6f 6e 74 72 6f 6c 7c | 7c 27 20 65 78 74 65 72 |control|||' exter|
|000054b0| 6e 61 6c 73 27 0a 58 65 | 6e 64 0a 58 69 66 20 71 |nals'.Xe|nd.Xif q|
|000054c0| 75 65 72 79 20 5e 3d 20 | 27 4e 4f 27 20 74 68 65 |uery ^= |'NO' the|
|000054d0| 6e 20 64 6f 0a 58 20 20 | 20 73 61 79 20 22 20 20 |n do.X | say " |
|000054e0| 20 20 20 20 59 6f 75 20 | 77 69 6c 6c 20 65 78 70 | You |will exp|
|000054f0| 6c 6f 72 65 20 74 68 65 | 20 74 72 65 65 20 69 6e |lore the| tree in|
|00005500| 74 65 72 61 63 74 69 76 | 65 6c 79 22 0a 58 20 20 |teractiv|ely".X |
|00005510| 20 63 6f 6e 74 72 6f 6c | 20 3d 20 63 6f 6e 74 72 | control| = contr|
|00005520| 6f 6c 7c 7c 27 20 71 75 | 65 72 79 27 0a 58 65 6e |ol||' qu|ery'.Xen|
|00005530| 64 0a 58 69 66 20 6e 6f | 64 65 20 5e 3d 20 27 20 |d.Xif no|de ^= ' |
|00005540| 27 20 74 68 65 6e 2c 0a | 58 20 20 20 73 61 79 20 |' then,.|X say |
|00005550| 22 20 20 20 20 20 20 54 | 68 65 20 74 72 65 65 20 |" T|he tree |
|00005560| 77 69 6c 6c 20 73 74 61 | 72 74 20 61 74 20 6e 6f |will sta|rt at no|
|00005570| 64 65 20 22 6e 6f 64 65 | 0a 58 65 6c 73 65 20 6e |de "node|.Xelse n|
|00005580| 6f 64 65 20 3d 20 27 24 | 24 24 24 27 0a 58 63 6f |ode = '$|$$$'.Xco|
|00005590| 6e 74 72 6f 6c 20 3d 20 | 63 6f 6e 74 72 6f 6c 7c |ntrol = |control||
|000055a0| 7c 27 20 6e 6f 64 65 20 | 27 7c 7c 6e 6f 64 65 0a ||' node |'||node.|
|000055b0| 58 69 66 20 27 46 45 58 | 49 53 54 27 28 27 46 4c |Xif 'FEX|IST'('FL|
|000055c0| 4f 57 24 54 4d 50 20 43 | 4f 4e 54 52 4f 4c 20 41 |OW$TMP C|ONTROL A|
|000055d0| 27 29 20 74 68 65 6e 20 | 27 45 52 41 53 45 20 46 |') then |'ERASE F|
|000055e0| 4c 4f 57 24 54 4d 50 20 | 43 4f 4e 54 52 4f 4c 20 |LOW$TMP |CONTROL |
|000055f0| 41 27 0a 58 27 45 58 45 | 43 49 4f 20 31 20 44 49 |A'.X'EXE|CIO 1 DI|
|00005600| 53 4b 57 20 46 4c 4f 57 | 24 54 4d 50 20 43 4f 4e |SKW FLOW|$TMP CON|
|00005610| 54 52 4f 4c 20 41 20 31 | 20 46 20 28 46 49 4e 49 |TROL A 1| F (FINI|
|00005620| 53 20 53 54 52 49 4e 47 | 20 27 63 6f 6e 74 72 6f |S STRING| 'contro|
|00005630| 6c 0a 58 27 46 49 4c 45 | 44 45 46 20 31 20 44 49 |l.X'FILE|DEF 1 DI|
|00005640| 53 4b 20 46 4c 4f 57 24 | 54 4d 50 20 43 4f 4e 54 |SK FLOW$|TMP CONT|
|00005650| 52 4f 4c 20 41 20 27 0a | 58 20 0a 58 73 61 79 20 |ROL A '.|X .Xsay |
|00005660| 27 46 4c 4f 57 20 62 65 | 67 69 6e 73 20 2e 2e 2e |'FLOW be|gins ...|
|00005670| 2e 20 27 0a 58 27 4c 4f | 41 44 20 43 4d 53 46 4c |. '.X'LO|AD CMSFL|
|00005680| 4f 57 20 28 43 4c 45 41 | 52 20 53 54 41 52 54 27 |OW (CLEA|R START'|
|00005690| 0a 58 27 45 52 41 53 45 | 20 46 4c 4f 57 24 54 4d |.X'ERASE| FLOW$TM|
|000056a0| 50 20 43 4f 4e 54 52 4f | 4c 20 41 27 0a 58 27 46 |P CONTRO|L A'.X'F|
|000056b0| 49 4c 45 44 45 46 20 31 | 20 43 4c 45 41 52 27 0a |ILEDEF 1| CLEAR'.|
|000056c0| 58 27 46 49 4c 45 44 45 | 46 20 35 30 20 43 4c 45 |X'FILEDE|F 50 CLE|
|000056d0| 41 52 27 0a 58 69 66 20 | 67 72 61 70 68 69 63 73 |AR'.Xif |graphics|
|000056e0| 20 5e 3d 20 27 20 27 20 | 74 68 65 6e 20 27 46 49 | ^= ' ' |then 'FI|
|000056f0| 4c 45 44 45 46 20 39 36 | 20 43 4c 45 41 52 27 0a |LEDEF 96| CLEAR'.|
|00005700| 58 69 66 20 63 6f 6d 6d | 6f 6e 5f 74 61 62 6c 65 |Xif comm|on_table|
|00005710| 20 5e 3d 20 27 20 27 20 | 74 68 65 6e 20 27 46 49 | ^= ' ' |then 'FI|
|00005720| 4c 45 44 45 46 20 36 30 | 20 43 4c 45 41 52 27 0a |LEDEF 60| CLEAR'.|
|00005730| 58 69 66 20 73 74 72 75 | 63 74 75 72 65 5f 63 68 |Xif stru|cture_ch|
|00005740| 61 72 74 20 5e 3d 20 27 | 20 27 20 74 68 65 6e 20 |art ^= '| ' then |
|00005750| 27 46 49 4c 45 44 45 46 | 20 36 31 20 43 4c 45 41 |'FILEDEF| 61 CLEA|
|00005760| 52 27 0a 58 20 0a 58 2f | 2a 20 52 65 69 6e 73 74 |R'.X .X/|* Reinst|
|00005770| 61 74 65 20 6f 72 69 67 | 69 6e 61 6c 20 46 49 4c |ate orig|inal FIL|
|00005780| 45 44 45 46 73 20 2a 2f | 0a 58 64 6f 20 69 20 3d |EDEFs */|.Xdo i =|
|00005790| 20 31 20 74 6f 20 6e 75 | 6d 5f 66 64 65 66 73 0a | 1 to nu|m_fdefs.|
|000057a0| 58 20 20 20 66 64 65 66 | 2e 69 0a 58 65 6e 64 0a |X fdef|.i.Xend.|
|000057b0| 58 73 61 79 20 27 46 4c | 4f 57 20 68 61 73 20 66 |Xsay 'FL|OW has f|
|000057c0| 69 6e 69 73 68 65 64 27 | 0a 58 20 0a 58 63 61 6c |inished'|.X .Xcal|
|000057d0| 6c 20 45 58 49 54 0a 58 | 20 0a 58 20 0a 58 4e 4f |l EXIT.X| .X .XNO|
|000057e0| 56 41 4c 55 45 3a 0a 58 | 73 61 79 20 27 55 6e 69 |VALUE:.X|say 'Uni|
|000057f0| 6e 69 74 69 61 6c 69 73 | 65 64 20 76 61 72 69 61 |nitialis|ed varia|
|00005800| 62 6c 65 20 65 6e 63 6f | 75 6e 74 65 72 65 64 20 |ble enco|untered |
|00005810| 6f 6e 20 6c 69 6e 65 27 | 20 73 69 67 6c 0a 58 63 |on line'| sigl.Xc|
|00005820| 61 6c 6c 20 45 58 49 54 | 0a 58 20 0a 58 45 52 52 |all EXIT|.X .XERR|
|00005830| 4f 52 3a 0a 58 73 61 79 | 20 27 45 72 72 6f 72 20 |OR:.Xsay| 'Error |
|00005840| 6f 6e 20 6c 69 6e 65 27 | 20 73 69 67 6c 0a 58 63 |on line'| sigl.Xc|
|00005850| 61 6c 6c 20 45 58 49 54 | 0a 58 20 0a 58 45 58 49 |all EXIT|.X .XEXI|
|00005860| 54 3a 0a 58 69 66 20 65 | 72 72 20 5e 3d 20 22 20 |T:.Xif e|rr ^= " |
|00005870| 22 20 74 68 65 6e 20 73 | 61 79 20 65 78 65 63 6e |" then s|ay execn|
|00005880| 61 6d 65 20 22 3a 20 22 | 20 65 72 72 0a 58 65 78 |ame ": "| err.Xex|
|00005890| 69 74 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 20 |it.END_O|F_FILE. |
|000058a0| 20 69 66 20 74 65 73 74 | 20 36 30 36 35 20 2d 6e | if test| 6065 -n|
|000058b0| 65 20 60 77 63 20 2d 63 | 20 3c 27 66 6c 6f 77 2e |e `wc -c| <'flow.|
|000058c0| 65 78 65 63 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |exec'`; |then. |
|000058d0| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 66 | echo sh|ar: \"'f|
|000058e0| 6c 6f 77 2e 65 78 65 63 | 27 5c 22 20 75 6e 70 61 |low.exec|'\" unpa|
|000058f0| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|00005900| 73 69 7a 65 21 0a 20 20 | 66 69 0a 20 20 23 20 65 |size!. |fi. # e|
|00005910| 6e 64 20 6f 66 20 27 66 | 6c 6f 77 2e 65 78 65 63 |nd of 'f|low.exec|
|00005920| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00005930| 27 66 6c 6f 77 66 6c 6f | 77 2e 70 73 27 20 2d 61 |'flowflo|w.ps' -a|
|00005940| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00005950| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00005960| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00005970| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00005980| 69 6c 65 20 5c 22 27 66 | 6c 6f 77 66 6c 6f 77 2e |ile \"'f|lowflow.|
|00005990| 70 73 27 5c 22 0a 65 6c | 73 65 0a 20 20 65 63 68 |ps'\".el|se. ech|
|000059a0| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|000059b0| 6e 67 20 5c 22 27 66 6c | 6f 77 66 6c 6f 77 2e 70 |ng \"'fl|owflow.p|
|000059c0| 73 27 5c 22 20 5c 28 39 | 31 31 37 20 63 68 61 72 |s'\" \(9|117 char|
|000059d0| 61 63 74 65 72 73 5c 29 | 0a 20 20 73 65 64 20 22 |acters\)|. sed "|
|000059e0| 73 2f 5e 58 2f 2f 22 20 | 3e 27 66 6c 6f 77 66 6c |s/^X//" |>'flowfl|
|000059f0| 6f 77 2e 70 73 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |ow.ps' <|<'END_OF|
|00005a00| 5f 46 49 4c 45 27 0a 58 | 25 21 20 50 6f 73 74 53 |_FILE'.X|%! PostS|
|00005a10| 63 72 69 70 74 20 6f 75 | 74 70 75 74 20 66 72 6f |cript ou|tput fro|
|00005a20| 6d 20 46 4c 4f 57 0a 58 | 2f 69 6e 63 68 20 7b 20 |m FLOW.X|/inch { |
|00005a30| 37 32 20 6d 75 6c 20 7d | 20 64 65 66 0a 58 20 2f |72 mul }| def.X /|
|00005a40| 78 72 65 6c 20 7b 20 20 | 20 20 33 30 2e 32 38 35 |xrel { | 30.285|
|00005a50| 37 32 20 20 20 20 20 64 | 69 76 20 69 6e 63 68 20 |72 d|iv inch |
|00005a60| 7d 20 64 65 66 0a 58 20 | 2f 79 72 65 6c 20 7b 20 |} def.X |/yrel { |
|00005a70| 20 20 20 33 30 2e 32 38 | 35 37 32 20 20 20 20 20 | 30.28|572 |
|00005a80| 64 69 76 20 69 6e 63 68 | 20 7d 20 64 65 66 0a 58 |div inch| } def.X|
|00005a90| 20 2f 48 65 6c 76 65 74 | 69 63 61 2d 42 6f 6c 64 | /Helvet|ica-Bold|
|00005aa0| 20 66 69 6e 64 66 6f 6e | 74 20 31 34 20 73 63 61 | findfon|t 14 sca|
|00005ab0| 6c 65 66 6f 6e 74 20 73 | 65 74 66 6f 6e 74 0a 58 |lefont s|etfont.X|
|00005ac0| 33 2e 32 20 69 6e 63 68 | 20 37 2e 37 20 69 6e 63 |3.2 inch| 7.7 inc|
|00005ad0| 68 20 6d 6f 76 65 74 6f | 0a 58 28 46 6c 6f 77 20 |h moveto|.X(Flow |
|00005ae0| 66 6f 72 20 6e 6f 64 65 | 20 46 4c 4f 57 29 20 73 |for node| FLOW) s|
|00005af0| 68 6f 77 0a 58 2e 31 20 | 69 6e 63 68 20 73 65 74 |how.X.1 |inch set|
|00005b00| 6c 69 6e 65 77 69 64 74 | 68 0a 58 30 2e 35 20 69 |linewidt|h.X0.5 i|
|00005b10| 6e 63 68 20 30 2e 35 20 | 69 6e 63 68 20 6d 6f 76 |nch 0.5 |inch mov|
|00005b20| 65 74 6f 0a 58 37 2e 35 | 20 69 6e 63 68 20 30 2e |eto.X7.5| inch 0.|
|00005b30| 35 20 69 6e 63 68 20 6c | 69 6e 65 74 6f 0a 58 37 |5 inch l|ineto.X7|
|00005b40| 2e 35 20 69 6e 63 68 20 | 37 2e 35 20 69 6e 63 68 |.5 inch |7.5 inch|
|00005b50| 20 6c 69 6e 65 74 6f 0a | 58 30 2e 35 20 69 6e 63 | lineto.|X0.5 inc|
|00005b60| 68 20 37 2e 35 20 69 6e | 63 68 20 6c 69 6e 65 74 |h 7.5 in|ch linet|
|00005b70| 6f 0a 58 63 6c 6f 73 65 | 70 61 74 68 0a 58 73 74 |o.Xclose|path.Xst|
|00005b80| 72 6f 6b 65 0a 58 30 2e | 35 20 69 6e 63 68 20 30 |roke.X0.|5 inch 0|
|00005b90| 2e 35 20 69 6e 63 68 20 | 74 72 61 6e 73 6c 61 74 |.5 inch |translat|
|00005ba0| 65 0a 58 2e 30 31 20 69 | 6e 63 68 20 73 65 74 6c |e.X.01 i|nch setl|
|00005bb0| 69 6e 65 77 69 64 74 68 | 0a 58 20 2f 48 65 6c 76 |inewidth|.X /Helv|
|00005bc0| 65 74 69 63 61 2d 42 6f | 6c 64 20 66 69 6e 64 66 |etica-Bo|ld findf|
|00005bd0| 6f 6e 74 20 38 20 73 63 | 61 6c 65 66 6f 6e 74 20 |ont 8 sc|alefont |
|00005be0| 73 65 74 66 6f 6e 74 0a | 58 20 20 20 32 2e 35 30 |setfont.|X 2.50|
|00005bf0| 30 30 30 30 20 20 20 20 | 20 78 72 65 6c 20 20 20 |0000 | xrel |
|00005c00| 20 32 2e 35 30 30 30 30 | 30 20 20 20 20 20 79 72 | 2.50000|0 yr|
|00005c10| 65 6c 20 6d 6f 76 65 74 | 6f 0a 58 20 20 20 32 30 |el movet|o.X 20|
|00005c20| 39 2e 35 30 30 30 20 20 | 20 20 20 78 72 65 6c 20 |9.5000 | xrel |
|00005c30| 20 20 20 32 2e 35 30 30 | 30 30 30 20 20 20 20 20 | 2.500|000 |
|00005c40| 79 72 65 6c 20 6c 69 6e | 65 74 6f 0a 58 20 20 20 |yrel lin|eto.X |
|00005c50| 32 30 39 2e 35 30 30 30 | 20 20 20 20 20 78 72 65 |209.5000| xre|
|00005c60| 6c 20 20 20 20 32 30 39 | 2e 35 30 30 30 20 20 20 |l 209|.5000 |
|00005c70| 20 20 79 72 65 6c 20 6c | 69 6e 65 74 6f 0a 58 20 | yrel l|ineto.X |
|00005c80| 20 20 32 2e 35 30 30 30 | 30 30 20 20 20 20 20 78 | 2.5000|00 x|
|00005c90| 72 65 6c 20 20 20 20 32 | 30 39 2e 35 30 30 30 20 |rel 2|09.5000 |
|00005ca0| 20 20 20 20 79 72 65 6c | 20 6c 69 6e 65 74 6f 0a | yrel| lineto.|
|00005cb0| 58 20 63 6c 6f 73 65 70 | 61 74 68 0a 58 20 73 74 |X closep|ath.X st|
|00005cc0| 72 6f 6b 65 0a 58 20 20 | 20 39 37 2e 30 30 30 30 |roke.X | 97.0000|
|00005cd0| 30 20 20 20 20 20 78 72 | 65 6c 20 20 20 20 31 38 |0 xr|el 18|
|00005ce0| 30 2e 37 31 34 33 20 20 | 20 20 20 79 72 65 6c 20 |0.7143 | yrel |
|00005cf0| 6d 6f 76 65 74 6f 0a 58 | 20 20 20 31 31 35 2e 30 |moveto.X| 115.0|
|00005d00| 30 30 30 20 20 20 20 20 | 78 72 65 6c 20 20 20 20 |000 |xrel |
|00005d10| 31 38 30 2e 37 31 34 33 | 20 20 20 20 20 79 72 65 |180.7143| yre|
|00005d20| 6c 20 6c 69 6e 65 74 6f | 0a 58 20 20 20 31 31 35 |l lineto|.X 115|
|00005d30| 2e 30 30 30 30 20 20 20 | 20 20 78 72 65 6c 20 20 |.0000 | xrel |
|00005d40| 20 20 31 38 37 2e 37 31 | 34 33 20 20 20 20 20 79 | 187.71|43 y|
|00005d50| 72 65 6c 20 6c 69 6e 65 | 74 6f 0a 58 20 20 20 39 |rel line|to.X 9|
|00005d60| 37 2e 30 30 30 30 30 20 | 20 20 20 20 78 72 65 6c |7.00000 | xrel|
|00005d70| 20 20 20 20 31 38 37 2e | 37 31 34 33 20 20 20 20 | 187.|7143 |
|00005d80| 20 79 72 65 6c 20 6c 69 | 6e 65 74 6f 0a 58 20 63 | yrel li|neto.X c|
|00005d90| 6c 6f 73 65 70 61 74 68 | 0a 58 20 73 74 72 6f 6b |losepath|.X strok|
|00005da0| 65 0a 58 20 20 20 39 37 | 2e 37 32 30 30 30 20 78 |e.X 97|.72000 x|
|00005db0| 72 65 6c 20 20 31 38 34 | 2e 32 31 34 32 38 20 79 |rel 184|.21428 y|
|00005dc0| 72 65 6c 20 6d 6f 76 65 | 74 6f 0a 58 20 28 46 4c |rel move|to.X (FL|
|00005dd0| 4f 57 29 20 73 68 6f 77 | 0a 58 20 20 20 39 37 2e |OW) show|.X 97.|
|00005de0| 30 30 30 30 30 20 20 20 | 20 20 78 72 65 6c 20 20 |00000 | xrel |
|00005df0| 20 20 31 34 39 2e 34 32 | 38 36 20 20 20 20 20 79 | 149.42|86 y|
|00005e00| 72 65 6c 20 6d 6f 76 65 | 74 6f 0a 58 20 20 20 31 |rel move|to.X 1|
|00005e10| 31 35 2e 30 30 30 30 20 | 20 20 20 20 78 72 65 6c |15.0000 | xrel|
|00005e20| 20 20 20 20 31 34 39 2e | 34 32 38 36 20 20 20 20 | 149.|4286 |
|00005e30| 20 79 72 65 6c 20 6c 69 | 6e 65 74 6f 0a 58 20 20 | yrel li|neto.X |
|00005e40| 20 31 31 35 2e 30 30 30 | 30 20 20 20 20 20 78 72 | 115.000|0 xr|
|00005e50| 65 6c 20 20 20 20 31 35 | 36 2e 34 32 38 36 20 20 |el 15|6.4286 |
|00005e60| 20 20 20 79 72 65 6c 20 | 6c 69 6e 65 74 6f 0a 58 | yrel |lineto.X|
|00005e70| 20 20 20 39 37 2e 30 30 | 30 30 30 20 20 20 20 20 | 97.00|000 |
|00005e80| 78 72 65 6c 20 20 20 20 | 31 35 36 2e 34 32 38 36 |xrel |156.4286|
|00005e90| 20 20 20 20 20 79 72 65 | 6c 20 6c 69 6e 65 74 6f | yre|l lineto|
|00005ea0| 0a 58 20 63 6c 6f 73 65 | 70 61 74 68 0a 58 20 73 |.X close|path.X s|
|00005eb0| 74 72 6f 6b 65 0a 58 20 | 20 20 39 37 2e 37 32 30 |troke.X | 97.720|
|00005ec0| 30 30 20 78 72 65 6c 20 | 20 31 35 32 2e 39 32 38 |00 xrel | 152.928|
|00005ed0| 35 37 20 79 72 65 6c 20 | 6d 6f 76 65 74 6f 0a 58 |57 yrel |moveto.X|
|00005ee0| 20 28 50 52 4f 44 45 53 | 29 20 73 68 6f 77 0a 58 | (PRODES|) show.X|
|00005ef0| 20 20 20 32 38 2e 30 30 | 30 30 30 20 20 20 20 20 | 28.00|000 |
|00005f00| 78 72 65 6c 20 20 20 20 | 31 31 38 2e 31 34 32 39 |xrel |118.1429|
|00005f10| 20 20 20 20 20 79 72 65 | 6c 20 6d 6f 76 65 74 6f | yre|l moveto|
|00005f20| 0a 58 20 20 20 34 36 2e | 30 30 30 30 30 20 20 20 |.X 46.|00000 |
|00005f30| 20 20 78 72 65 6c 20 20 | 20 20 31 31 38 2e 31 34 | xrel | 118.14|
|00005f40| 32 39 20 20 20 20 20 79 | 72 65 6c 20 6c 69 6e 65 |29 y|rel line|
|00005f50| 74 6f 0a 58 20 20 20 34 | 36 2e 30 30 30 30 30 20 |to.X 4|6.00000 |
|00005f60| 20 20 20 20 78 72 65 6c | 20 20 20 20 31 32 35 2e | xrel| 125.|
|00005f70| 31 34 32 39 20 20 20 20 | 20 79 72 65 6c 20 6c 69 |1429 | yrel li|
|00005f80| 6e 65 74 6f 0a 58 20 20 | 20 32 38 2e 30 30 30 30 |neto.X | 28.0000|
|00005f90| 30 20 20 20 20 20 78 72 | 65 6c 20 20 20 20 31 32 |0 xr|el 12|
|00005fa0| 35 2e 31 34 32 39 20 20 | 20 20 20 79 72 65 6c 20 |5.1429 | yrel |
|00005fb0| 6c 69 6e 65 74 6f 0a 58 | 20 63 6c 6f 73 65 70 61 |lineto.X| closepa|
|00005fc0| 74 68 0a 58 20 73 74 72 | 6f 6b 65 0a 58 20 20 20 |th.X str|oke.X |
|00005fd0| 32 38 2e 37 32 30 30 30 | 20 78 72 65 6c 20 20 31 |28.72000| xrel 1|
|00005fe0| 32 31 2e 36 34 32 38 35 | 20 79 72 65 6c 20 6d 6f |21.64285| yrel mo|
|00005ff0| 76 65 74 6f 0a 58 20 28 | 50 52 4f 54 52 45 29 20 |veto.X (|PROTRE) |
|00006000| 73 68 6f 77 0a 58 20 20 | 20 35 31 2e 30 30 30 30 |show.X | 51.0000|
|00006010| 30 20 20 20 20 20 78 72 | 65 6c 20 20 20 20 31 31 |0 xr|el 11|
|00006020| 38 2e 31 34 32 39 20 20 | 20 20 20 79 72 65 6c 20 |8.1429 | yrel |
|00006030| 6d 6f 76 65 74 6f 0a 58 | 20 20 20 36 39 2e 30 30 |moveto.X| 69.00|
|00006040| 30 30 30 20 20 20 20 20 | 78 72 65 6c 20 20 20 20 |000 |xrel |
|00006050| 31 31 38 2e 31 34 32 39 | 20 20 20 20 20 79 72 65 |118.1429| yre|
|00006060| 6c 20 6c 69 6e 65 74 6f | 0a 58 20 20 20 36 39 2e |l lineto|.X 69.|
|00006070| 30 30 30 30 30 20 20 20 | 20 20 78 72 65 6c 20 20 |00000 | xrel |
|00006080| 20 20 31 32 35 2e 31 34 | 32 39 20 20 20 20 20 79 | 125.14|29 y|
|00006090| 72 65 6c 20 6c 69 6e 65 | 74 6f 0a 58 20 20 20 35 |rel line|to.X 5|
|000060a0| 31 2e 30 30 30 30 30 20 | 20 20 20 20 78 72 65 6c |1.00000 | xrel|
|000060b0| 20 20 20 20 31 32 35 2e | 31 34 32 39 20 20 20 20 | 125.|1429 |
|000060c0| 20 79 72 65 6c 20 6c 69 | 6e 65 74 6f 0a 58 20 63 | yrel li|neto.X c|
|000060d0| 6c 6f 73 65 70 61 74 68 | 0a 58 20 73 74 72 6f 6b |losepath|.X strok|
|000060e0| 65 0a 58 20 20 20 35 31 | 2e 37 32 30 30 30 20 78 |e.X 51|.72000 x|
|000060f0| 72 65 6c 20 20 31 32 31 | 2e 36 34 32 38 35 20 79 |rel 121|.64285 y|
|00006100| 72 65 6c 20 6d 6f 76 65 | 74 6f 0a 58 20 28 50 52 |rel move|to.X (PR|
|00006110| 4f 43 4f 4d 29 20 73 68 | 6f 77 0a 58 20 20 20 37 |OCOM) sh|ow.X 7|
|00006120| 34 2e 30 30 30 30 30 20 | 20 20 20 20 78 72 65 6c |4.00000 | xrel|
|00006130| 20 20 20 20 31 31 38 2e | 31 34 32 39 20 20 20 20 | 118.|1429 |
|00006140| 20 79 72 65 6c 20 6d 6f | 76 65 74 6f 0a 58 20 20 | yrel mo|veto.X |
|00006150| 20 39 32 2e 30 30 30 30 | 30 20 20 20 20 20 78 72 | 92.0000|0 xr|
|00006160| 65 6c 20 20 20 20 31 31 | 38 2e 31 34 32 39 20 20 |el 11|8.1429 |
|00006170| 20 20 20 79 72 65 6c 20 | 6c 69 6e 65 74 6f 0a 58 | yrel |lineto.X|
|00006180| 20 20 20 39 32 2e 30 30 | 30 30 30 20 20 20 20 20 | 92.00|000 |
|00006190| 78 72 65 6c 20 20 20 20 | 31 32 35 2e 31 34 32 39 |xrel |125.1429|
|000061a0| 20 20 20 20 20 79 72 65 | 6c 20 6c 69 6e 65 74 6f | yre|l lineto|
|000061b0| 0a 58 20 20 20 37 34 2e | 30 30 30 30 30 20 20 20 |.X 74.|00000 |
|000061c0| 20 20 78 72 65 6c 20 20 | 20 20 31 32 35 2e 31 34 | xrel | 125.14|
|000061d0| 32 39 20 20 20 20 20 79 | 72 65 6c 20 6c 69 6e 65 |29 y|rel line|
|000061e0| 74 6f 0a 58 20 63 6c 6f | 73 65 70 61 74 68 0a 58 |to.X clo|sepath.X|
|000061f0| 20 73 74 72 6f 6b 65 0a | 58 20 20 20 37 34 2e 37 | stroke.|X 74.7|
|00006200| 32 30 30 30 20 78 72 65 | 6c 20 20 31 32 31 2e 36 |2000 xre|l 121.6|
|00006210| 34 32 38 35 20 79 72 65 | 6c 20 6d 6f 76 65 74 6f |4285 yre|l moveto|
|00006220| 0a 58 20 28 49 4e 49 41 | 52 52 29 20 73 68 6f 77 |.X (INIA|RR) show|
|00006230| 0a 58 20 20 20 39 37 2e | 30 30 30 30 30 20 20 20 |.X 97.|00000 |
|00006240| 20 20 78 72 65 6c 20 20 | 20 20 31 31 38 2e 31 34 | xrel | 118.14|
|00006250| 32 39 20 20 20 20 20 79 | 72 65 6c 20 6d 6f 76 65 |29 y|rel move|
|00006260| 74 6f 0a 58 20 20 20 31 | 31 35 2e 30 30 30 30 20 |to.X 1|15.0000 |
|00006270| 20 20 20 20 78 72 65 6c | 20 20 20 20 31 31 38 2e | xrel| 118.|
|00006280| 31 34 32 39 20 20 20 20 | 20 79 72 65 6c 20 6c 69 |1429 | yrel li|
|00006290| 6e 65 74 6f 0a 58 20 20 | 20 31 31 35 2e 30 30 30 |neto.X | 115.000|
|000062a0| 30 20 20 20 20 20 78 72 | 65 6c 20 20 20 20 31 32 |0 xr|el 12|
|000062b0| 35 2e 31 34 32 39 20 20 | 20 20 20 79 72 65 6c 20 |5.1429 | yrel |
|000062c0| 6c 69 6e 65 74 6f 0a 58 | 20 20 20 39 37 2e 30 30 |lineto.X| 97.00|
|000062d0| 30 30 30 20 20 20 20 20 | 78 72 65 6c 20 20 20 20 |000 |xrel |
|000062e0| 31 32 35 2e 31 34 32 39 | 20 20 20 20 20 79 72 65 |125.1429| yre|
|000062f0| 6c 20 6c 69 6e 65 74 6f | 0a 58 20 63 6c 6f 73 65 |l lineto|.X close|
|00006300| 70 61 74 68 0a 58 20 73 | 74 72 6f 6b 65 0a 58 20 |path.X s|troke.X |
|00006310| 20 20 39 37 2e 37 32 30 | 30 30 20 78 72 65 6c 20 | 97.720|00 xrel |
|00006320| 20 31 32 31 2e 36 34 32 | 38 35 20 79 72 65 6c 20 | 121.642|85 yrel |
|00006330| 6d 6f 76 65 74 6f 0a 58 | 20 28 45 58 54 45 52 4e |moveto.X| (EXTERN|
|00006340| 29 20 73 68 6f 77 0a 58 | 20 20 20 31 32 30 2e 30 |) show.X| 120.0|
|00006350| 30 30 30 20 20 20 20 20 | 78 72 65 6c 20 20 20 20 |000 |xrel |
|00006360| 31 31 38 2e 31 34 32 39 | 20 20 20 20 20 79 72 65 |118.1429| yre|
|00006370| 6c 20 6d 6f 76 65 74 6f | 0a 58 20 20 20 31 33 38 |l moveto|.X 138|
|00006380| 2e 30 30 30 30 20 20 20 | 20 20 78 72 65 6c 20 20 |.0000 | xrel |
|00006390| 20 20 31 31 38 2e 31 34 | 32 39 20 20 20 20 20 79 | 118.14|29 y|
|000063a0| 72 65 6c 20 6c 69 6e 65 | 74 6f 0a 58 20 20 20 31 |rel line|to.X 1|
|000063b0| 33 38 2e 30 30 30 30 20 | 20 20 20 20 78 72 65 6c |38.0000 | xrel|
|000063c0| 20 20 20 20 31 32 35 2e | 31 34 32 39 20 20 20 20 | 125.|1429 |
|000063d0| 20 79 72 65 6c 20 6c 69 | 6e 65 74 6f 0a 58 20 20 | yrel li|neto.X |
|000063e0| 20 31 32 30 2e 30 30 30 | 30 20 20 20 20 20 78 72 | 120.000|0 xr|
|000063f0| 65 6c 20 20 20 20 31 32 | 35 2e 31 34 32 39 20 20 |el 12|5.1429 |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.