/' ) ~ WE REAlly Do CARE WE REALLY DO CARE! We make each toy with tender loving care. If there is a problem with your toy please let us know. Simply describe the problem and mail that description along with your name and address to: KENNER PRODUCTS Consumer Relations Dept. 1014 Vine St. Cincinnati, OH 45202 14 (, - - -"- Appendix B: Original Instruction Booklet ,," .-- , \ - I ~ /--j .~, ) ) YOU CAN DRAW PATTERNS IMMEDIATELY! Patterns drawn with Wheels inside of Rings AIIO see pages 6 through 11 THIS IS HOW ... Put a sheet· of Spirograph Paper. or any kind of paper, on the white side of the Baseboard and place a RING on il. Fasten it down with a pin through each of the four tiny pinholes. Pin RING No. 144 9a to Paper and Baseboard, the No. 1 mark at the top. Place WHEEL No. 60 so that Hole 1 lines up with the No 1 mark on the RIIIlI. With pen in Hole 1 draw the pallern. . Reposition theWh••1 so that Hole 3 lines up with the No. 1 mark on the RIIIlI and over the pallern you have drawn. With pen In Hole 3 draw another pallern. Repeat, using Holes 5 and 7. The numbers on the Wheels, Rings and Racks indicate the number 01 gear teeth. On the Rings, the upper number is lor the number 01 teeth on the outside, the bottom number for the inside. 150 Pin RING No. 105 to the Paper and Baseboard. Use WHEEL No. 60, Hole 1 at the No. 1 mark on the Ring. With Red Pen in Hole 1 draw the pallern. Move the Wheel one tooth to the right and with Pen in Hole 1 draw the pallern. Line up Hole 5 in Wheel with the No.2 mark on Ring. With black pen in Hole 5 draw the pallern. Again move Wheel one tooth to the right and draw, pen in Hale 5. Turn Wheel over (numbers underneath) and position Hole 5 between the two pallerns you have just drawn. Draw with green pen in Hole 5. Pin RING No. '9~4 to the Paper and Baseboard. Use WHEEL No. 56, Hole 1 at the No. 1 mark 01 the Ring. With pen in Hole 1 draw the pattern. Reposition the Wheel so that Hole 2 is one tooth to the right of the original patlern. Draw pattern with Pen In Hole 2. Repeat, using Holes 3. 4, 5, 6, 7, 8 and 9. moving one tooth to the right with each hole. Place a WHEEL inside the Ring. With a pen in one of the larger holes, (for your first pattern. use one of the holes closer to the center of the wheel), move the Wheel carefully around the inside of the Ring, a/ways keeping the teeth in contact. Hold the pen upright, and do not press hard on it. Continue until your line meets where it started. Try this again using a different hole in the Wheel, then by starting at a different position in the Ring. , The inside of the box lid shows the baSic pallerns made with the Wheels insiOe the Rings. By drawing these, you will get to know the pattern each Wheel makes. (II Using your ball point pens for the first time, rub the POints on a piece of scratch paper until the ink flows smoothly. Your Spirograph pans are precision engineered. Production requires a slightly shorter tooth at hole 1 in each part which does not affect the operation. If some excess plastic is left there, simply scrape it off. The shorter tooth will also assist you in locating the starting point. Pin RING No. ~~~ to tho Paper Baseboard. Use WHEEL No. 30, Hole 1 at the No. 1 mark of the Ring. With the black pen in Hole 1 draw the pattern. Reposition the Wheel so that Hole 2 is at top. Draw pattern, black pen in Hole 2. Repeat with Hole 3. Now use WHEEL No. 45, Hole 6 at top. Draw pattern, green pen in Hole 6. Repeat with Holes 7 and 8. Next. use WHEEL No. 60, Hole 11 at top. Draw pattern, red pen in Hole 11. Repeat with Holes 12 and 13. To finish, use WHEEL No. 75, Hole 16 at top. Draw, blue pen in Hole 16. Repeat with Holes 17 and 18. m_J / ) ) • . TWO WAYS TO DRAW GIANT-SIZE PATTERNS 1. Pin down a Ring and revolve a Wh.el around the outer edge. 2. Pin down a Wheel and revolve a Ring around it. You can draw still more interesting patterns, but slightly smailer, by pinning down a Wheel and rolling another Wheel around it. IT'S REALLY QUITE SIMPLEI To draw the design shown here, lollow these steps: 1. Pin down RIck 150 with th ree pins. 2. With Ring 3. 4. 5. 6. 7. 8. -ii- between the two Racks, pin down Rack 144 parallel tn RIck 150. Place the Ring at the lell end of the two Racks, with mark I al lop. Use Wheel 24. With the pen in Hole 1 draw pattern. Always line up Hole I with mark 1 in Ihe Ring belore drawing a pallern. Lift the top 01 the Ring and move one loolh 10 Ihe right along the uppel Rack, keeping the teeth engaged on the lower Rack; draw a pattern. Repeat until you have drawn six patterns. Move the Ring two teeth to right along bOlh Racks; draw a pattern. Now move the Ring one tooth to right along the lower Rack, keeping teeth engaged in upper Rack; draw a pattern. Repeat until you have drawn six patterns. Again move the Ring two teeth to right along both Racks. Keep repealing steps 4 through 8 until you reach the end of the Racks. Try other continuous designs using different Wheels and different Holes. For other design ideas using two Racks see pages 13 and 14. TO DRAW LONG PATTERNS Pin down a RACK with pins through three pinholes. Roll a Wheal around it. Slow down when you go around the ends of the Rack so that the teeth stay in contact. Beautilul deSigns can be drawn by changing the position of the Rack. Remove the two pins on the ends. leaving the center pin. and rotate the Rack. Pin it down again and repeat your pattern. Another way is to move the RACK about a quarter inch up or down without rotating it. m HOW TO USE THE EASY GUIDES THAT FOLLOW In the guides for the patterns on the lollowing pages, the RING to use is shown first. Then, the number 01 the WHEEL is shown in a Circle. The numbers thereafter indicate the HOLE in which to insert the pen. The color of this number tells you the color of the pen to use. Have lunl Create your own pallerns, too. Change the combination and position of the Wheels, Rings and Racks, using different holes and pens. I mi J / ) .) ) Ring No. 144 9s Wheel No. @ . Hole No. and Color 01 Pen 1·3·5·7·9·11·13-15-17 19-21·23-25 150 • 105 @ • 1 (18 loops) 150 105 • @. 1 (18 loops) 1 (to finish) Alway. place Ring with mark 1 at top. Line up Ihe Hole you ara uling with mark 1 unlel' otherwi •• In.tructed. 144 96 • @ •.1-2-3-4-5 @• lID 1-2-3-4-5. lined up at mark 2 on the Ring 1-2-3-4-5, lined up at mark 3 15·16-17-18·19 15-16-17'18-19 lined up al mark 2 144 fe4I • 144 • 96 ~ 96 1-2-3-4-5-6-7-8-9, moving one tooth to the right every hole. Starting again at mark I, draw 2-3-4-5-6-7-8-9-10, again moving one tooth right every hole. • @. @. 3·3 one tooth to right; 3 one tooth left. Now line up with mark 2 on Ring and draw 3-3 one tooth to right; turn Wheel over and draw 3, lined up with mark 2. 150 ,.:;;;-, 105 • ~ • 1·2·3 @• 6-7-8 @. @• 16-17-18 11-12-13 1'2-3-4-5 9 at mark 1; 9 one tooth right; 9 two teeth right; 9 one tooth len of mark 1; 9 two teeth left. 18-1!HO·21 lined up with the mark half-way between marks 2 and 3 on the Ring. 144 • 96 @• 1.:).5-7 m ( ,.--....,. ) I 144 96 ~ • @. 1-2-3-4-5-6-7-8-9-10 moving one tooth right every hole. 150 • 105 @ 56 • ,~~ y ) 1-2-3-4-~7 150 • 105 @• 1 thru 26 moving two teeth right every hole. 144 • 96 @• 1-2'3-4-5-&-7-8-9-10-11-1213-14 1 l 150 105 • 150 105 @ . ® . 1-2-3-4-5 @• 1-2-3+5 @ • 1-2-3-4-5 '241 • 5 @ • 13-14-15 150 • '05 ~ ~ ® • 1-2-2.3-3-4-4-5-5-6-6-7-7-8-8 Draw with Hole 1 lined up at mark 1. Next. draw with Hole 2 one tooth to right. then one tooth to lell of mark 1. Now Hole 3 one tooth farther to right. then one tooth farther left. Continue moving one tooth farther right and left with each hole. 150 ~ 105 • ~ • 1-6-11'16·21 f2' I ,/~ ) ) , .. I I 1 • 144 144 • 96 150 ~ 105 • ~ • 1-3-5-7-9-11-13-15-17 @) • 1-3-3-5-5-7-7 moving one 100lh right and lerl every hole. Turn Wheel over and draw 2-2-4-4-6-6 moving one toolh right and lerl or mark 1 every hole. 150 105 • @. @. 96 5 @.11 17 @) • @029 23, starting at marks 1 and 2 @ • 35, slarting al marks 1 and 3 '~'5 @'9 80 • IS, starting at marks 1 and 2 72 • 13 and @. @. ~~4 • @. :@ 144 1-3 Line up so that Hole is directly in the center belween the blue and green pallerns. r.;;.. 1, bOlh starting at marks 1,2 and 3 3 and !1, both startIng at marks I, 2, 3 and 4 7, starting at marks 1 thru 6 @• Q-, 96'~'1~'1 @ • '-3-5-7, Move six teeth right and draw 1-3-5-7 @• 150 ~ • ~ • 1-2-3-4-5-6-7-8-9-10-11-12 105 moving one tooth right every hole. @ • @• @ • I, starting at marks I, 2 and 3 1, starting at marks I, 2, 3 and 4 144 96 • Q-. ~ • 1-10-16 ~ ~. 3-5 1, starting at marks 1 thru 6 (jj) \ ( ) /) ) 144 • @ 96 48 f t Shown Va actual size Rack 144 • @• 144 • 96 @ ~~4 @• .1 1 With Rack horizontal. start at mark 5 on Rack and draw seven times. moving one tooth righl each time. Remove the two end pins and pivot Rack so that it is vertical and repeat with red pen. Again pivot so that Rack is between the two designs and draw wilh black pen, then pivot and draw with blue @ • 1 through 17 With mark 1 01 Ring at top, line up each Hole at mark 4 and move Ring 1 toolh to right top and bottom lor each pattern; • Begin at mark 10 on Ring and draw 5 blue patterns, moving Ring 10 the right one tooth top and bottom every time. Move two teeth, repeat in green; do this three times in each color. Alter the sixth pattern, reverse, starting at mark 4 on the Ring and moving left. 1 Start at left 01 Racks with mark 1 of Ring at top. Draw 14 designs. alternating red and blue, moving Ring two teeth right on TOP Rack every time. Always line up Hole 1 in the Wheel with mark 1 on the Ring. (i] /" ,.-......' ) -........ 'j )! I f @ 150 -84-1 105 With mark 1 01 Ring at toP. begin with Hole 1 01 Wheel at mark 3. Draw 18 patterns. each lime moving Ring 1 tooth to fight along upper Rack (keep teeth engaged In lower Rack) and each time move the Wheel 2 teeth to lelt inside the Ring. 1~ 96 _ fi2'. \!..51 through 28. odd numbers in blue, even numbers in red. mov- ing Ring one tooth righ.t TOP and BOTTOM lor each pattern. Shown :Y. actual size t OUTSIDE EDGE OF RING ~~4 • @• 1; nine limes. moving one tooth right every time; do the same in red, starting at the mark between marks 2 and 3; ~::~~~k !j;':;:e:~a~~~~sa~ ~:~k6~; and in black starting at Leave Ring in place and draw INSIDE:(§) - 1 f.i2\ 150 • 105 ~ 1-1-1-1-1-1-1-1. move Ring one tooth to right TOP and BOTTOM lor each pattern. 14i @ on the green patNow remove Ring and center Wheel tern you have just drawn. Pin it to the· board. Use @• 13 around the Wheel. Pattern an back cover is drawn in a similar manner . try it yoursell. j51 I' /, ,"--"" . ) ) I I.,. Now g.t Kennt,'s New SPIROGRAPH RIFILL KIT No. - . ayailabl. at your tlworita.d •• Kit contains ,imple guld.. for 70 more beautiful Spirograph pattarn., spacial Drawino b...• board and Spirograph Paper. If your d •• I,r I, t.mporarily out of kit., will ••••••rvice ••nd It to you direct. Send IOc (ch.ck or money order, lorry nO C.O.O.' •. Ohio reaid.ntl add ." S.... Ta.). Includ. your w. i .. ' ; nam., add, ... and the atock numb.r and mail to: D.pt. SRK. Pun Iud In U.S.A. Kenner Product. Co., tt2 S"camore Str.et, Cincinnati, Ohio 4;5202 J ..... - Source Listing -.- ) ) ) TTTTTTTTTT TTTTTTTTTT TTTTTTTTTT 222222222222 2222222222?22222222222222222222222222222222222222222222222222222222222222222222222222222222 222222222222 22222222222222222 ~all State university VAXcluster VMS 4.3 222222222222222222222222222222 222222222222 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 c; CD j'J J 0 0 ,)0 C a 0 o J IJ T A C T T T AAAAA A A II A a C ) ') ,) " 0 )00 ccc;:ccec eCCe ecce CC CC ec CC CC cc ee ee ce ec n n H tv n yy Vy yy yy VY yy yy yy n n VY n yy ececccce cee:eeec 00 ']0 0 cae a ecccccce ececccee CC :c CC ': e e' • c ce :e ,C cc :e yy yy AAA A A A A TTTTT T T 0 eeeeecce (C(eCce!: AU L L A II L A L II AAAAA L A A L A A LLLLL II A LL LL LL '.L LL LL LL '.l LL II EEEEE E E AAA A A II II N N NN X A A IlAIIAA II A A A N N N N E EEE x )( e E )( EEEEE X X X GGGGGGGG GGGGGG:iG J:JC~8 JOOOOO )0 00 :;G JC ,JO ~o 00 :;G :;G )0 ~o :;6 ~O )C "~ J I) ·)0 ,G .J ~l ,U 10 .~ LL. ')0 )0 lL LL LLLLllLLLl LLLLlLLLLL )1) )0 LL '.L X X X : X X X RRRRRR~R ~~ ~R 3G ~R RR OC ';\1 r:;G ~R ')0 GG 'iG RR RR RR OC~OOC ~GGGGG OC)JCC GGGGGG II!!!! SSSSSSSS SS5SSSS5 I . " __ J.. ., 5 I ' .'- :..L LL LL LL c.L .. • , ", ; ; ;; i;;; 3SSSSS SS:;55S 5S :"L II 55 Lc. :! 55 55 .... -........ _:...i....i..."-~LlL~ ~L~LLLLLLL ~ , ", , ", ')s :! .- RR RR 55 T ... . LL RR RR ;i;; 55 !I !r .... J. ... .:. N N ;;;; ;;;; ; ; 3555:;:;5S ,, " ~SSS~55S ; ; DDOO 0 D !) 0 0 0 EEEEE E D D E D E D DODD EEee E EEEEE AAAAIIA AAAAAA RRRRRR~R RRRRRRRR RR RR RR RR RR RR RR RR RRRRRRRR :jG:iGGG ,')G:iGGG ,~ TT"'T'l'T N N "N " NN AA AA AA AA All AA AA H All AA AAAAAAAAAA AAAAAHAAA All AA AA U AA AA AA TTTTTTTTTT TTTTTTTTTT TTTTTTTTTT All AA All pppppppp pppppppp pp pp pp pp pp pp pp pp pppppppp pppppppp :>p pp pp pp pp pp HH HH HH HH HH HH HH HH HH HH HH HH HHHHHHtlHHH HHHHHHHHHH tlH tlH HH HH HH liH HH HH HH HH HH HH 11 11 1111 1111 11 11 11 11 11 11 11 11 111"1 111111 <ill _51iDUA ':(U5~·. ":T~'L'X'.T~E::::CVCLCG~ACH.L::;' ('~743,~1'0)' last revised on 20-~AY-1986 21:32, is 1 179 block seauential file )~neo oy JIC CJJT'AL~(a~cc:. rhe recor,s Ire vari.ole len1th ~tth i~pliea (CR) carriage control. The longest record is 132 ~ytes. Joe CyeLC~RAP" (12,5) cueu'a :, startec on crjnt~r _~IS:ES;L~~:: L"~ ;n In :2-"AY-')~~ ::-w~r-l;'6 "1:\7 ,y user JJTAALEXANDE, Ule (COTAALEXANDE], uncer account e Jt priority 4, :1:~7 fro~ TTTTTTTTTT TTTTTT7TTT ;~~:'2:Z:~Z:2:22:2: TTTTTTTTTT "?'--::2~'~~>:22: t II ·:Ju,~ .. en Jueu~ LP~O. ?~ ~222Z22222222222222222222222222222222222 or r~t;on 22 22222222222 - VAX/V~S Version V4.~ 222222222 22 722:22222:2 2<222222:2222222222222222222222222222222 22 22222222222 TTTTTTTTTT TTTTTTTTTT TTTTTTTTTT ( ) ) ) CTClOGRAPH 01 20-May-1986 21:31:02 20-~ay-1986 19:59:49 Source Listin'l VAX P.scal V3.2-57 P.ge [00TAAlEXA.THESIS]CYCl06RAPH.PAS;34 (1) ~ 'J -l1NE-IDC-Pl-Sl- - - - 00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 0001 :5 00014 00015 0001 ~ 00017 00018 00019 00020 00021 00022 00023 00024 oons 00026 -- 00027 JOO' 8 - 00029 - 00030 -- 00031 C C C C C C C C C C C C C C 0 0 a 0 0 0 0 0 0 0 0 0 J 0 (*** •• *****.*************************-****************************************) .} 0 C* Cyclograph .} 0 <* Progra.: .} 0 <* Todd A. Alexander .} 0 <* Author: {* *} 0 Thesis I Creative Project required to graduate *} 0 {* Purpose: from the Honors College -- this is part of.y .} 0 {* sub.ission under the enroll.ent of 1D 499. *} 0 {* 0 {* 0 a a 0 J 0 0 0 0 0 c a a C C C 0 C 0 0 C 0 .} 0 <* Date of Last ~evision: 0 {* 0 (* ~roqra. Overview: (* {* C* {* C* C* ~ay 17, 1986 *} *} This program, along with its subordinates, *) attempts to e.ulate the Spirograph(TM) dr.wing *} toy develooed ~y Kenner, Inc. Interactive as *} well as program.ing co.mands are used to draw.} desiqns at the terminal. *} *} ~odules {* {* Call~d: ~o.e .} Home2 *} *} C C C C C a a {* 0 0 0 C* J C* Clear_Screen Init_graPhics C 0 0 {* Lin~ .} .} C 0 0 C* ~ov~ *} C C J 0 ') 0 C* ~odules Used In RAL Library: *> *} .> OaG~2 » oet_window *} Set_color *} 0 (:l C* *> 0 (** •••• ****************************** •• ********* •• ***.************************) J 00033 0 0 C C 0 0 ) {* I I ) CYCLOGRAPH 01 20-"ay-1986 21:31:02 20-"ay-1986 19:59:49 Source Li sting VAX Pascal v3.2-S7 'age [00TAALEXA.THESIS]CYCLOGRAPH.PAS;34 (2) z (" -LINE-IDC-PL-SL00035 00036 00037 00038 00039 00040 00041 00042 00043 - 00044 00045 00046 00047 00048 - 00049 00050 00051 - 00052 - 00053 - 00054 -- 000~5 00056 00057 - 00053 - 00059 00060 00061 ')0062 _. 00063 00064 - 00065 JO'H6 00007 JOO6B aoe ~9 )01)70 - 0 0 0 0 0 0 0 0 0 0 0 0 1 J C C C 0 0 {.************************************************************************* •• *} IJ {* Variaol~s used for the ;~~~diate ~Ode and graphing *} 0 {****~************* ••• **.*.**** ••• *** •• *.* •• *.** ••• *** ************************) J 0 0 C a a .- a 0 J J :) 0 ) ') {Fllse;orogra. Col •• and Char; {Single chardcter comaand} L {~ulti-puroose T~eta2 Integer; Integer; Integer; Integer; Integer; )lcColor Cline :./oro Packed Array(1 •• ~0] of Char; o~ckeo ~rray(l •• 30) of Char; Packed Arr8y[1 •• 30) of Char; Lcount '1 ~u"hole a l; Cycl~s ;; I' 'leal; ) ~'SSy~ ~eal; ~ : 0 3 ~ Lerqtn , ',. J "a a a a 0 ') JOD'Q 100l .. ani Cosr 0 0 00007 )0,)88 ) a IJOO~:) 000~6 a 0 0 0 00031 - OOO~ 2 00083 - 00034 00085 - J J 0 J 0 0 0 0 00073 00071 lllllediate_,"ode ~A"'E 1 ~otdtion )1 rsu.'n ;; t c S i nr ~ ; n1 e a l; e ] l; 'leal; <eal; ,ea l i ~ ~ ;::(eal; St rt Th eta 'leal; qeali P. .. al; {Old color, used in NEXT coaaand} {I.mediate co.aand line} {Contiguous string of characters after single character coaaand } {~umoer calculat .. d to specify number of revolutions {!nter~ediate cosine value, used to rotate} (!nter~ediate cosine value, used to rotate} (Inter,edilte cosine value, used to rotate) (L~n~th of seyment from current point to origin) {Rotation in radians of ring, in steps of -teeth-} (~nter~ediate sine value, used to rotate) {Far inter.ittent ~raphing - where wheel left off} {:nter~eoilte sine value, used to rotate} {Inter~ediate sine value, used to rotate} {For intermittent .raphing - where wheel begins} {Angle fro. x axis to center of wheel} .) a 0 Co.mands SetOfCharacte~s; 3eta 'ium 0 0 0 J 0 0 0 () o Single; Single; Single; Single; Sinqle; Sinqle; ~ 3in~le; ,1 J ~ode} loop inde~ variabLe} {Number of letters in words in Cline} {~ulti-puroose loop index variable} {~u~ber of ~ole on wheel} {L~op inoex for real Theta} 0 a a } :) J .- JO'}7:: 00077 PU~POSE/EXPLANATION 0 ,J - 00076 TYPE "A~IA~L~ 0 0 .J 0 0 Chari Array(1 •• 80J of Char; Array(1 •• 80J of Chari Array(l •• 10J of Chari ArrayC1 •• 19J Of words; ArrayC1 •• 200] of Lines; ArrayC1 •• 200,1 •• 4J of words; 0 J { I) = Set of Packed Packed Packed Packed Packed Packed Var 0 0 0 a )0 J71 ')0074 OO,J75 Type SetOfCharacters St ri ng Li nes Words Word_List Li sts DDLists 0 :j0272 - 0 Prograa Cyclograph(Input,Output,Procfile); 0 0 0 0 0 0 a a a 0 a ( ~acius ,at;o {Set of valid one letter co.aands} {Angle 01 revolution of wheel relative to theta} {Value of nu_ber found within Cline} {Aajusted radius of wheel} {Rinq 1iviced by wheel radius} (Radius of ring) {Oa1ius of wheel} {Len1th to hole in wh~~l} of wheel in ring} ) ) 20-~.y-1986 CYCLOGRAPH 01 Source Listing 20-~.y-1986 21:31:02 19:59:49 VAX p.scal V3.2-S7 p.~e [00TAALEXA.THESIS]CTCLOGRAPH.PASi34 (2) o o o o 0 h 0 0 0 (- ( -LINE-IDC-PL-SL.- 00090 - 00091 - 00092 00093 1 X''1 Single Single Single {Hole nu.ber} {Distance fro. center of hole to pen contact} (x and y vectors, II to •• is, plotted fro. origin> (- ( ) ) ) CYCLOGRAPH 01 20-"ay-1986 21:31:02 20-"ay-t986 19:59:49 Source Listing VAX Pascal V3.2-57 Page [OOTAALEXA.THESIS1CYCLOGRAPH.PAS;34 (3) - 00095 00096 - -- - - - - 00098 00099 00100 00101 00102 00103 0010)4 00105 00106 00107 00108 00109 00110 00111 00117 00113 00114 00115 (]0116 00117 0011 3 001 1 9 00120 00121 C01 22 )OP3 a0124 00125 00126 )0177 J0123 0012 Q 0013() )01 -1 'J0132 ,]01.13 00134 )01 '5 00130 00137 00133 C C C C 0 a a a 0 0 0 a 0 a 0 0 0 0 0 0 0 0 a 0 a a a a a a 0) <) a 0 a 0 0 a {*** ••• *************************** •• *.**************** ••• *********************} {* Variable, used for the intepreter { TYPE Counter_stack Pc_stack Procline Array[l •• 20] of Integer Arr3yC1 •• 20J of Integer Array[1 •• 50] of Integer c:rror_free Found 900lean; aoolean; {flag for errors in prograa> {Flag for searches through lists> tlordList ODUsts; (Z ji~ensional array holding coa.and procedures seperated into words> A2 12 {~ulti-ouroose {~ulti-curoose lo~o index variable} {Nuaoer of cOM.and lines in Proctile> {Nuaoer of letters in coaaand words} (Progra. line counter - current line nuaber being executed> {T?tal nu.per of defined procedure in procfiLe} {Level of nesting of procedures or DO Loops} {Nu.per of qUN stateMents encountered in Procfile> {NuMoer ~f START statellents found in a procedure} {Curr~nt nUMber of words found in coa.and} 'J ~ointer I) quns St art s 40rocount <) o::,.ror'lum 0 0 K 1J 0 0 0 0 :J > VARlA8LE NAME J 0 0 J a a a 0 *> (**********t.*.******************.******************** ***~***************.****> Integer; Integer; Integer; Integer; Integer; Integer; Integer; Integer; Integer; Integer; Integer; Integer; Inteljer; J 00' Linecount Letcount ;>C ;>rccs PURPOS~/EXPLANATION {Stacks nuaber of repetions> {Stacks line nuab*rs for DO and RUN coa.ands} {List of line nu.bers for corresponding procedures in Proclist> loop index variable> {~ulti-curoose loop index variable} {~uaber ?f DC stateMents found in crocedure} {~ulloer of errors found in ?roctile} '; 0 J J 'J 0 0 0 CO~lIline Lines; {Line of text frOM Procfile} 0 0 COIlIlLi st Li sts; {Entir~ 0 ; J 0 )i;its Set of char; {V~lij set of characters found in integers} Set of char; {Vdlio set of char3cters found in real nuaoer,} :J :J J a 1 J J J 'J :'1"' ~ jits c"f ; l ~ ~roclist :J ~unliH J Val1List "aUli st VaUList 0 J 0 Q a ~eal~; list of lines froa Procfile} En; {T,>xt Ii l "arc_list; .ord_list; {List of ~rocedure na.es} {List of orocedures c3lled} {Valid wor~s tor coLUMn 1> (Valid words for colulln Z> (VaLid ~oros for colu.n 3> ~ '.hi ch holds orogra~ 'J Q 0 ( ( -LINE-IDC-PL-SL- - 00097 4 ~orj_List; .or1_List; liard_List; orocedure,} ) CTClOGRAPH 20~May-1986 01 Sourc~ listing 20-~ay-1986 21:31:02 19:59:49 VAX Pascal V3.2-57 Page COOTAAlEXA.THESIS]CYCLOGRAPH.PAS;34 (4) -lINE-IDC-Pl-Sl00140 00141 00142 00143 00144 00145 00146 -- 00147 - 00148 001411 30150 00151 - 00152 00153 001 S 4 00155 COO {*************************************************************.***************) COO {* external Procedures for RAl ReGIS Graphics and Cobol External Procedures *} C 0 J {*****************************************************************************} o 0 1 ·0 Proceaure ~o.e; C 1 0 {Clears screen and places pro.pt} o 0 Extern; o a C C 00156 00157 0015 a C _. 00159 - 00160 ')0161 C 101 ~2 - C - ')0167 _. ')01 o~ J01~9 C 0 o a a 1 a a 0 1 1 a a o J J Procedure Clear_screen; {Clears screen of ~rdPhics lnd text, to olack} Fortran; Init_;raphics; {Sets deflult colors, positions for ,raphics} Fortran; ~rocecure 0 a a ~ Procecure Line(X:;ingle;Y:Single); {'ra.s li~e fro~ current grachic ~osition to x,y} 0 Fortran; 1 1 Q J Proceoure ~ove(X:Sinqle;Y:Single); 0 {~oves ;r.~nic cursor to x,,} 1 1 a J Fortran; 1 1 J 0 ProceOure >et_.i~jow(Xleft,Ybot,Xri.ht,Ytop:Sin.le); 0 {Sets. ~nc y ~ounas} J Fortran; a ) ')0172 ?rocecure ·.t(Z~t~escr ~essa~e: 0acke1 {?lJces ~~xt )n ,creen} 1 1 ') '10173 )0174 00175 00170 001,,0 1 Q Proceaure Ho.e2; {Clears screen ana places second oro.pt} J Extern; 0 D J J017G )1)171 00176 00177 00178 a o 00163 _. 00164 0016 5 J0166 1 1 J 1 C 1 1 a a ~rray(a •• o:integer] Of Char); Fortran; J 0 Q J 0 0 Proc~cure 3et_colQr(~STDESC~ ~u~oer: (Charqes cllor of olotting) Fortran; Strinq:Pac~ed Integer); arr3yCa •• b:inteqer] Of Char; s ) ) CYCLOGRAPH 20-"ay-1986 21:31:02 20-May-1986 19:59:49 Source Listing 01 VAX Pascal y3.2-57 Page COOTAALEXA.THESISJtYCLOGRAPH.PAS:34 (5) -LINE-IDC-PL-SL00132 - -- - -- -- - -- 0011B 00134 00185 00186 00187 00188 00189 00190 00191 00192 001'11 00194 00195 00196 00117 00198 0019 9 00200 00201 00202 00203 002J4 002':15 00206 002Cl7 00208 002!)9 00210 00211 ')0212 00213 00214 00215 00216 00217 00213 00219 00220 00221 00222 00223 002,,4 00225 1)0226 00227 00228 00229 00230 00231 002' 2 -10233 00234 00235 Q J 2"!!> c 0 C C 0 0 0 1 1 1 1 c a C c 0 1 1 1 1 0 0 1 1 , 1 0 { ••••• ********** •••••• **************.*** •••• **** •• ******** ••• **********.******} .} 0 {* Internally Defined Functions 0 {**** •• ************* ••• *********** •• ******* •• ******* •• ****************** •• ****} 0 a Function Po~er(x:reali n:integer) :reati {Returns x rai sed to 'the n} 3egin 1 1 If n=u then Po~er:=1 else Power:=x • Power(x,n-1) 0 Endi :J 0 a J 1 1 I) End; ) a a a 0 0 0 1 1 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 1 Function value_~eal(x:~oras) :real; (qeturns value of real nu.ber whicn Var M, Nu.: Integ er; '1uJl2 : real; Point_found, founj_again: boolean; '3 e'.li n : : 0; NUll2 Ooint_~ouna < (II 11) 1 1 ~hil. 1 1 1 2 1 1 1 1 1 := false; ana not (ooint founa) Do ceqin If xC",J = '.' then Point_fauna := true else if .(~) <> ' 'then ~UII:= ~U~.la + ~hHe 1 a in character for_at) " := 1; 1 1 1 1 1 ,) ~as 'tu. := J; := :'!t.'; j; ." :-= ...I..J, 1 c Function Value(X:char) :integer; {Returns value of a nu_ber character} 3eqin Value := Ord(X) - Ord('Cl')i VALUE(X[~])i II ~n 2 -.. 'oint_foun~ ana ~ot(Foun'_J~ain) Jo ~eqin :f .[~) = ' . ' then founo_aqain := true; If (.CmJ <> ' ') and <.(m) <> ' . ' ) then ~um2 := ~u~Z/10 + VALUE(X[~)/10; 2 2 ? II := ,-1; EnJ; Value_~eal := nUll + nU1l2; : nd; J 0 0 Function Value_Inte~er(.:~ords) :integer; 0 {rleturns vdlue of dn integer which was in character forMat} J Var 1 a 1 1 1 1 1 1 1 1 Inteqer; /II, NUll Beqin ~u. := ,~; " :: 1; .hile (,. < 11) )0 3~qin If ~ .[~} := <>' ~.1; t~en ~um:= ~ulI.10 • Value(x(II); 6 r'l ) ) ) CTClOGRAPH 01 20-"ay-1986 21:31:02 20-"ay-1986 19:59:49 Source listing -lINE-IDC-Pl-Sl00237 00238 00239 00240 00241 00242 00243 00244 00245 - 00246 - 00247 0021t8 - 00249 00250 00251 - 00252 00253 - 00254 00255 00256 1 1 C 1 C C , ~1 ?11 1 1 1 1 o a o o 1 o C :10273 - 00274 - ~027 5 - 00276 - J0277 - 00273 10279 00230 00231 J0282 - 00283 - 00234 - 002'35 - JOB 6 - 10237 )023'3 )02,Q )02 ~o 1 1 o a a a 1 a 1 o 1 1 1 o o o 1 2 2 1 o J 1 C ~ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 End; Function Colu.n2_Not_~ull(X:UDlists; k:integer) :boolean; {Returns true if so~etning appears in colu.n Z} 1 3eqin 1 Colu.n2_Not_Null := false; 1 If (x(k,2J<>'1 ') tnen Colu.n2_not_null := true; o End; o o o 1 o 1 o 1 1 1 00257 00258 -- ')0259 00260 00261 - 00262 - 00263 - :)0264 00265 00266 - ')0261 - 00268 - 102SQ :;C21Q J1271 JO 27 2 o o o o 1 o 1 o 1 1 End; Value_Integer := nu.; 1 1 Function Colu.n3_Sot_Null(X:DOLists; k:inte.er) :booleani {Returns true if so.ething appears in colu.n 3} ~e~in Colu~n5_~ot_~ull If (x(k,3)<>'1 =n d; Function := false; 'J tnen := true; Col~.n3_not_null k:inteqer) :boolean; appears in colu.n 4} Colu.n4_~ot_Null(X:DOLists; {~eturns true if so~ething 6egin Colu.n4_~ot_~ull := false; ') then Colu.n4_not_null := true; If (x(k,4J<>'1 Eno; Function ~~l;j_Inte,er(x:wor~s) :ooolean; {Returns ~rue if string is in valid inte;er for.at} 'Iar a : int~q~r; vdl;d_~ool:oool~an; ge;; n Valid_!nt~1er :: true; vali1_Jool := true; 2 1 1 J o o .~ ::. 1; .hile( (\Hlio Jool) ~no (a<~1) 3n1 (XL1J<>' If ~ot (.[3J i., ,>1 ;lts) then Jeqin ~alia_"nteqer := false; ~alid_Jool := fal,e; ::n~ ~:=d+l; ~nc; Function Ual;d_real(x:wor1s) :~oolean; {Petur.,s tru~ if string is in valid real forNat} 'Ia r 1 1- ge~in 1 1 1 1 ) 10 Else <1 J o 'J a,oointcount integer; vali1_Jool:Joolean; 'IaliJ_real := tru~; vdl;o_~ool d : = 1; := true; ~oi~tcou~t := .hile< (vili-l_Jool) eo ~, "'I ina (a<l1) lntl (.i:lj<>' ') ) :10 VAX Pascal Vl.2-57 [00T~~lEXA.THESlSJCYClOGRAPH.PAS;34 Page (5) 7 ) (- CTClOGRAPH 01 20-May-1986 21:l1:02 20-May-1986 19:59:49 Source U sting VAX Pascal V3.2-57 Page [00TAAlEXA.THESIS]CTClOGRAPH.PAS;l4 (5) -lINE-IDC-Pl-Sl00292 - 00293 .- 00294 00295 00296 00297 00298 00299 - OOlOO - 00301 - 00302 0030l 00304 - 'l030 5 - 00306 c 1 1 1 3 a C C 0 0 Q 1 C 1 1 1 1 1 - 00309 00310 00311 00312 -. 00313 1 1 1 1 .. 00314 1 ·)031 5 00316 - 00317 00318 - 0031 Q 0 0 0 c 00~21 - 1)0322 - 00323 00324 )0325 0 1 1 1 1 1 1 1 10326 00327 OC32~ 1 1 1 I)03N 00330 1 1 00331 0 0 0 00332 00333 00334 00335 00336 00337 00338 00331 00340 - 2 1 0 00307 -- 00308 00320 1 1 1 00341 00342 )0343 c 1 1 1 1 1 1 1 1 t 1 1 00344 00345 1 00346 1 If x[a) = "." then pointcount :=Ipointiount + 1; If (not (x[a] in RealDigits» or (Pointcount > ') then Begin valid_real := false; Valid_bool := false: 2 3 3 2 1 0 ~nO Else a := a + 'ti End; End; 0 a a { •• ***********************.*******************.*.****.*************.********.*> {. Internally Detined i>rocedures .} 0 {******** •• ***** •• *****.*******.*.**-****** ••• ******************************.*} 0 ?roceoure Find_tlasure_cycl~s; (Calcul~tes numoer ot cycl~ necessary to cOIiPlete a design}· 0 deqin 1 Ratio := aID; 1 1 Cycles :=Ji • : = ~; 1 While (Cycles = 0) 00 1 Begin Z If abs(trunc(m * Ratio) - e. * ~atio» < 0.0001 then Cycles := .; 2 M := 11 + I; 2 End; 1 0 ~nd; 0 J 0 Q Procecure Fino __ ord; (lccat~> tne first contiqucus strin. of characters followin9 co •• and} a 1 1egin .or~ := , I; 1 LC'Jun~ := 1; 1 L ::: :; 1 1 2 2 2 2 1 0 ~hil., (CLineCL) <> •• ) )0 :;~~;n .or~(~cou"tJ := Cline[LJi Lcount : = Lcount .·1; L := L + 1; eno; end; I) 0 ) Proceour~ ;in~_numoer; :) {Assi,ns 1 1 ae,;i n 1 Nu'l ~U."1 the lIalue at !he numoer foune within a· cea.ana} ~;no_"'o,.;j; := ~; 2 2 If ware <> • • then 2 Lcaunt := ;j; Iohile (II > J) Do :eq;n -: 3 3 4 ~egin .. : = 11; If 4orIJC"j ,e'.;; 1"1 \um := <> • • then Value(~or~:~]) • ?a~er{'J,lcountl + ~u.; 8 ) ) CYCLOGRAPH 01 Source Listing 20-"ay-198621:31:02 20-May-1986 19:59:49 ) VAX Pascal V3.2-S7 Pige [00TAALEXA.THESIS)CYCLOGRAPH.PAS;34 (5) 9 ( '( -LINE-IDC-PL-SL- - - .. - 00347 00348 00349 00350 00351 00352 00353 00354 00355 00356 00357 00358 00359 00360 00361 00362 00363 00364 00365 00366 00367 0031)3 00369 00370 00371 00372 00H3 00374 00375 :)0376 " 4 " 3 1 2 1 ,,0 '0 0 1~ t 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ~u ill • 0 / a; Find_dosur~_cycles; Cycles := Cycles' ,; Strt := 0; 3t~ : = Cycles; : no 2 1 1 2 2 2 2 dse l' 1 1 1, 2 2 2 1 1 1 1 2 2 2 2 ,1 1 1 2 2 2 1 1 2 00 ;".1'" Tntt3 := ThetJ< • 5; ;.: Theta. <3.1415/130); 3eta ;= Theta*(a-~)/O - 3.1415/2; x := (a-~+j)*Cos(Theta) + b*Cos(Theta*~a-b)/b) + e*Sin(Beta); 1 := (a-~+j)*S;n(Theta) - b*Sin(Theta*(a-b)/b) + e*Cos(Beta)i Length := $Qr(x*x + 1*y); en1 :.: (x/length); sin1 := (y/lenqth); ,inr ;= sin(rotation); Cosr := cos(rotat;on); COSSUIII := Cosr*cos1 Sinr*s;n1; sinsum := S;nr*cos1 + Cosr*,;n1; x := - len::;th * sinsulII * 2.9 + 3~O; y := lenqth * cossu~ * 2.9 + 300; If Theta2 <> then Line(x,y); Tn~t3 2 2 1 1 1 2 2 1 1 2 1 1 1 J ~:on ~e~in Fi~j_looP_cycles; :ycles := Cycles. 2i :to := Cycles + Strt; : no; <or T~etaZ := Trunc(36 • Strt) to Trunc(36 * Sto) 1 1 1 = 2 • = 1 00378 00379 Cl0380 00381 00382 00383 00384 00385 00386 00387 00388 00389 00390 00391 00392 00393 00394 00395 00396 00397 : 2 1 1 Cy c l e 5 Endi ') Proceduro ,o_1raph; 0 (Grapns .neel .ithin a rin~, accordin, to cycles, a, and b} 1 Beqin 1 Racius:= 0.?5. oi 1 NUlinole := Trunc(b/l - 7 + 0.5); 1 If ~ullhole < 5 then nu.hole := 5i 1 e := Clacius/Nullhole) • h; 1 j:= 3; 1 :f I~lIeo;ate_~ode then F;nd_nuillber; 2 If ~u~ J then 3e~;n 2 2 1 00399 004.)0 ')04,]1 0 Procecure Find_loop_cycles; 0 <Calculates nu.per of cycles according to loop nueber given by user} 1 Begin o 0 o a C End; -End; 0 end; 0 00377 003.3 3 1 1 o C lcount := lcount + 1; End; • :,. .-1; = 'ov~(x,y) ~n ~; ;trt := Ho; d; ') CYCL06RAPH 01 20-"ay-1986 21:31:02 20-"ay-1986 19:59:49 Source Li sting VAX Pascal Vl.2-57 Page [00TAALEXA.THESIS]CYCl06RAPH.PASi34 (5) - -LIHE-IbC-PL-SL00402 00403 00404 00405 00406 00407 00408 00409 00410 00411 00412 00413 00414 00415 00416 00417 00418 00419 00420 00421 00422 00423 00424 00425 004;'6 00427 0042'3 00429 'J043 G 00431 J0432 ')0431 ')0434 )0435 ,)0436 0 C 1 1 1 1 1 1 1 1 1 0 o 0 1 1 1 1 2 2 2 2 Procedure Get_cline; <Reads in a cOliliand line - i.llediate 1I0de) :legin Halle; Reaaln(Cline); If ~ot (Cline(ll in COli. and s) then ~e.in; HOlle; liriteln(' C 1 2 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 <) :nd; o 0 1 1 1 1 Proceaure ~et_cl;ne2; {Reads in a cOII.and line in orograll "ode} qegin Ho.e'; Rl'adlnCCline); Clear_scre"n; ~ound := false; ( : = 1; ' ) 00 .h i l e (k<=Proes) and not (found) and (Cline(1] <> else It := k + 1; If cl ine = proe list (kJ t ~ en found := true If (Cline(1: <> '.' ) ana not f·~und thl'n :;eg;n Valid ~rocedures follo .. :'); .r;teln('~ot d valid ;Jrocecure naMe • ) ; • riteln( I ~or l:" 1 to ;Jroes jo Jrit~ln('rQclist[lJ); .. 1 1 1 1 1 2 2 2 . 1 =n c; !:"tm~ji J J 1 J 0 jlroc~cure 1 1 3egin 0 1 1 1 1 0 0 1 1 ~0453 1 00454 n455 1 0 00450 <] it £"_"OC~ :n ~ ; 00438 00439 00440 00441 00442 00443 00444 00445 00446 00447 00448 00440 00450 00451 00452 1 1 1 0 ; 0 1 0 1 COII.and'); Halle; IIritelnC"); ::no; IlilOed; ate_ .. ode : = true; ·)0 .. 37 C . ) ~rite('Invalid 1 1 . 2 1 0 0 {~otate := f:ils~; 'ove_teeth; jes; 'in in increments of "Te@t ~"} Fin~_~ulloe!"; ~ctation := Motation + Enoi 0 Proceaure :oecifY_"heel; 1 aegin Find_nulloe!"; 1 1 b : = ~ u.; End; 0 0 0 Proeecure ;:>ecify_r;ng; ge 1 ; n 1 , 1 J ~ Fino_nu'TIber; d cna; := ,..,um; ~UII • (2-3.1415/.]); 10 ( ) ) CYClOGRAPH 01 Source Listing -LINE-IDC-PL-SL- ..' - 00457 00458 00459 00460 00461 00462 00463 00464 00465 00466 00467 00468 00469 00470 00471 00472 00473 00474 00475 00476 00477 00478 00479 004,30 004J1 00482 00483 00484 00485 004a6 00437 00488 00439 004QO 004;'1 004Y2 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 1 J 0 )05,) 9 aOS10 JQ 511 1 004~3 004"~ 00499 00500 00501 00502 00503 005')4 00505 00500 )05:)7 JOSJ3 Procedure Specify_holei Segin 1 Find_nu.ber; 1 h := "Iu.i o End; 1 o o Procedure ;oecify_color; geqin Find_word; Set_colorC.ora,l); 1 o End; 1 1 o o 1 1 1 o o o o o Proceaure ~eset_"heel; ae.in Strt := }; Rotation := J; €nd; 1 1 1 1 1 1 1 1 1 Proceoure 'xecute_co •• and; gegin I f ClineCl] = 'C' then Clear_screen • G' then ':;o_l r1 o h Else if :lin",C1] FlH if :line(1] '10' then S:)eci ty_,,~eel Else i f Cl i ne(1] ''1' then "ove ~('eth , H' tnen ;"ecity_hole Else i f Cline(l) Els(' if Cline(l: ':i' then Spec i fy_ring , p' then :;pecify_colo r Else if Cline(1] Else i f Ctine(l] 'Z' then Qe se t .heel Encl; J J 1 ~roc.cur. o o C J 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 004H 004"5 00496 00497 o 'ill_Jali1_Llsts; ?eqin ')i~its :: ~e~l~i1;ts •• '?·1; := ('G' .. "'·,'.'1; ('~· 'IallListC1J := 'O'lAL'; ':;UAO'i Va 11 Li stC2] 'TPIANGLE'; 'Ial1Li stC3] Val1List(4) 'PES~T'; Val1ListCS) := '':Nf)'; Vdl1ListC~) := 'STOP' ; 'Ial1List[7J := 'GRAPH'; Val1ListCS] := 'Q ING'; 'Ial1List(?] := 'HOl::'; Val1List(lC] := 'WHEEL'; Val1ListCl13 : .:; 'STA~T' ; Val1List~12] := 'Jal1ListCP) 'Ill1List:14: \/alHi';t:lo1 'Ial1List[l',) := '~CVE'; : = • +' ; ~,;l1 := !..;'t:l 71 := : :: '!l':~'; ·-, ' 'lit" ' ; ; • I • ; 20-"ay-1986 21:31:02 20-"ay-1986 19:59:49 VAX pascal Y].2-57· Page [OOTAALEXA.THESIS1CYCLOGRAPH.PAS;34 (5) 1J ) ) .,' ..':(' 20-~ay-'986 CYCLOGRAPH 01 20-~ay-'986 Source Listing 21:31:02 19:59:49 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 - 00535 OOS)6 00537 00538 00539 00540 00541 00542 00543 00544 ')0545 00546 C0547 00548 a0549 00550 00551 00552 00553 00554 OC555 00556 00557 ()0558 00559 00560 il0561 00562 1 1 1 1 1 0 0 l VallL;st(18J := 'RUN'; Yat1ListC19] := 'DO'; Yat2list(1] := 'BLUE'; Yal2ListC2J := 'REO'; Yal2l;st(3) := 'GREcN'; Yal3L;st(1) := 'LOOPS'; Vdl3l;st(2J := 'LEFT'; Yal3l;st(3J := 'RIGHT'; Yal3l;st(4J := 'HOLE'; Yal3list(5J := 'WHEEL'; Val3list(~) := 'PING'; End; a Procecurl' ~eaa_ fl lei 3eqin Peset(?rocFi le); 1 k := ,; 1 .hill' not eof(ProcFile> ana (k < 2·J1) 1 3e,;n 2 ~eadln(Procflle,Co~.line); 2 If c~.mline <> ' , then 2 geg;n 3 C~a.list(k) ~= Commline; 3 :: K + 1; 3 1 1 0 0 0 1 C C C C 1 J End; 0 0 Procl'cure ,U;lC_Mord_Listsi J 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 ~nrj; 3 1 1 'j {Se~er)t~s com~ana orocecures into .or~s and olaces the~ in ]cC~rC;n1 ~~e ~umoer of t~e .or~. First words are {3t~r.c i~ tn, 'irst list. The secone oor1 of each line ;s {stJr~ in ~ne ~econ~ list, ~tc. 0 J J Var a,o Q 0 {lists inte'~er; 0 1 1 Belin linecount := k - 1; 1 1 1 1 1 {Fill oor~ lists .it~ ~he 5y~ool I } For K := 1 to linecount JO for l := 1 to 4 do ~or1list[~,lJ := 'I '; 1 For K 3e1in 2 2 1 to linecount :: Co~~line 1 < "or~count 1 2 2 1 1 )0564 j.J 505 1 1 ~o cna; 1 :lOS,3 )0566 1 1 1 1 1 1 12 ( - -LINE-IDC-pL-SL- 00512 00513 00514 - 00515 00516 00517 00518 - 00519 00520 00521 00522 - 00523 00524 00525 00526 00527 00528 00529 00530 00531 OD532 00533 - 00534 VAX Pascal y3.2-57 Page [OOTAALEXA.THESISJCYCL06RAPH.PASi34 (5) : 10 := ComNlist(kJ; :: 1; = 1; " :: 1; Letc.)unt := :; : 1 :J:lIftt.int>':aJ ":/,,;l') ~.cr~count •• then < j) ,nj ~orcc~unt := Ca < ,1) )0 ~orjtount - 1; } } } } ". ) ) CYCLOGRAPH 01 20-~ay-1986 21:31:02 20-May-1986 19:59:49 Source Lhting VAX Pascal V3.2-57 Page [00TAALEXA.THESIS]CYCLOGRAPH.PAS;34 (5) 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 C 005~1 00592 00H3 00594 00595 00596 005'17 0059.3 :) o C 1 1 1 1 1 1 3 3 2 :n'.l; End; Ena; 3igndL; (Error prolillt) Proc~Qure 3~gin .riteln('»»> *** •• ************ •• *******.************.******** ««<')i 1 1 1 ~uns:= 5tdrts:=:; )0 S : = :; = 1 1 1 1 1 1 ~r,.,:rr"l:J'T! 00605 00606 00607 00608 Q060 Q 00610 a0611 1 + 1; Procecure iyntlx_check; {Chec<s wora lists for illegal COlillanjS or contructs} 1 3eqin 00600 ~ :rror~um o o ;:>,. 0 cs -JOoS := ~rrornu~ :n-:2: 1 00604 and (a < 81) and (b < 11) do = J'J599 'JObel J060 2 I) := Ca •• linera]; a := a+1; b := 0+1; Letcaunt := .letcaunt + 1; Enoi While (Callilline(al I I) and (3 < 30) do a := a+1; (start of nllt vrd> If (Letcount :> J) and (~ardcount > (J) then For l := letcount+l to 10 do WordList(k,~ordcount,l] := I I; (Pad> Wor~cQunt := JordeQunt + 1; o : = 1; Letcount := 0; 3 3 3 3 1 1 1 J 'J I WordList(k,~ardeount,b] 3 3 o o o o 1 o 1 o 1 1 1 RE'gin WhiLe (Co •• line(a] <> Begin 3 3' 4 4 4 4 4 1 : Fer • :-= :~ 1 t~ Linecount 10 eqin .rit~ln(C~m~list(k]); (Verify ;tdrts/5t~ps and ~o/~nds} If ~ordlistCk,lJ = '5TA~T' then 3 3e :;l.n Fauna := iaLse; l :-= 1; "nile (not foun'l) 1 1 1 If ~or~list(k,2} ELse l := l + 1; If founa then 5egin :ii,nal; and <l <= pr'lcs) dO = ProclistClJ then Found := true 1 1 1 1 1 3 4 4 'JOel 5 00616 1 .. ~riteln(woralis[(K,c],I~as 1 4 "'riteln(1 '); 00617 1 3 'J061 :; )·Jol 0 1 1 1 00612 %61 ~ 00014 J06~O I')C~ 21 3 ( ( -LIHE-IOC-PL-SL00567 -- 00568 00569 00570 00571 00572 00573 00574 00575 00576 00577 00578 00579 00580 00581 00592 00583 00504 00585 00536 00587 00538 - 00539 00590 13 already been defined as a STARTed procedure. I); :n j ; :t .. or~ti'itli(,:J "'riteln('ST~.T ?rocs := ~rocs ;lroclist[;)r')csJ ~"I~'" com.an~ + 1; := 'usc Je followea Oy ... ur:1listCic,2~; d valid orocedure naMe. ' ); ) CTeLOGRAPH 01 20-May-1986 21:31:02 20-May-1986 19:59:49 Source Listing VAX Pascal V3.2-57 Page [00TAALEXA.THESISJCYCLOGRAPH.PAS;34 (5) -LINE-IDC-PL-SL- -- - 00622 00623 00624 00625 0067.6 00627 00628 00629 006~0 00031 00632 00633 00634 00635 J0636 00637 J06H 00639 00640 00641 00642 00643 00644 00645 00640 00647 00643 :10649 00650 00651 00652 1)0653 00654 ~~655 JiJI>56 J0657 00655 00659 00660 00661 00662 00603 0061)4 00605 :l0666 )0667 00668 00609 00670 00671 a0672 :0673 JO~7 4 J}o? S )J~?; 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 3 t 4 1 1 1 Procline(procs] := k+1i If Dos <> 0 then Dos :~ 0; Starts := Starts + 1; If Starts > 1 then 3egin S ;,na l i writelnC'Missinq STep st3te~ent tor procedure ',Procltst[procs-1]); 3 3 4 4 4 ~ritelnC"); 4 4 3 2 2 2 3 3 .. Starts := 1; . !:na; End; It .0rdlistCk,lJ = 'STOP' then 3eqin If ~os > J then ~ 3ignal; 4 .riteln('~issing 4 'Jri telnC' '); 3 End; 3 If 1 1 1 1 1 1 1 1 a < DOS END stateMent in procedure ',Proclist(procs]); then 3er;in 4 4 4 Si nali .r t~ln('~issinq DO statement in procedure ',Proclist(procs]); oIr telnC' '); 1 1 1 1 e i; n 4 ~n::l; Starts := Starts - 1; If St~rts < 0 then 3 3 .. .. 3er;in ; ina l i .r teln('~issin; 4 ~~l"(' ".I,.. ;T~.T statement.'); '); .- n c; 3 Jt~rt3:= :~ .:!; ]; then )os := 1; 2 ;t 'orclist[k,1J '~0' 2 2 It ./or:listLk,1J ':~D' then Dos := 005 - 1; .ordlist(k,l] '~UN' then )OS + f 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 If ;~~in := ~u~~ ~uns + 1; 'unlist(Runs] := 3 ~or~list(k,2J; (no; 2 l : = 1; 2 2 .hil~ , Foun:l := false; (l<2C) and not found jo 3e<;in If valllistClJ = .~r~l;stC<,lJ l := l n ::; If 'Ot ... 1; ~ ": -e ~ ; r f~una tnen the~ Fauna := true; 14 I ) CTeLOGRAPH Sourc", Listing 01 20-~ay-1986 ~1:31:02 20-~ay-1986 19:59:49 YAK Pascal Y3.Z-57 Page [00TAALEXA.THESISJCYCLOGRAPH.PAS;34 (5) 15 [- -LINE-IDC-PL-SL- - 00677 00b78 00679 00680 00681 00602 00083 :)0004 00685 00696 006H ,)0638 00b39 00690 00691 00692 00693 00694 00695 00696 J0697 JO!l98 00699 J0700 007~1 'JOn ~ 00703 007:14 007'J 5 JOn6 J07)7 J~7::; 3 a07e ~ :~ 7' ) J0711 00712 00713 00714 00715 00710 a07l7 DC 713 00719 a072G 00721 0072 2 007c3 ')0724 00725 'J072 6 )0727 :07:J J0721 )JP) ~G731 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 3 3 3 2 3 3 3 3 5i gnaU Writ",ln('Above line begins with unknown co •• and ',Wordlist[k,1J,'.'); WrHeln(' '); End Else Begin If C~ordl st[k,lJ 'OVAL') or (woralistCk,lJ = 'QUAO') or 'TRrA~GLE') or (Wordlist[k,1) : 'RESET') or C"ordl st [k,l J C'Jordl st[k.ll 'END') or Cl/oralistCk,lJ = 'STOP') ,then 3e~;n 4 4 Colu~n2_Not_NullCWordl;st,k) If 5 ~rit~ln(~ordlistCk,l],' requires no operands. Unexpected characters found.'); oiritelnC' '); .. 3 3 3 3 4 then 3eq;n 5i.nal; 5 ~nd; ::n di If 'QING') or (~ordlistCk,lJ 'WHEEL') then (~or~list(k,lJ C~or'1li st(k,1] 'HOLE") or ~e'lin If ~otCColu~n~_not_null(~ordlist,k) ) then :e1in ~i gnaU 4 5 .riteln(~or1ljstCk,lJ, 'r~Quir~s 5 5 5 ~o an inte;er value. value found.'); .ritelnC' '); :nc ~lse 4 ~ot(Valid_rntegerC~orclist(k,2)) If then ;etin ;i qnal; • r i tel n ('Jo r 1l i s t [k , 1 J, 'r~Guires ,n ",rit~Ln(' .); ::" ~ ols~ . - E:' ~; If inte~er. Tne value scecified is not in inteqer for •• '); Colu~n3_not_nullC.or1list,~) then n 3i<;nal; ~riteln('Unexcected 5 5 ., ~n 4 =n,j; If 4 4 4 5 5 5 5 char~cters found ~fter integer value.'); .. ritelnC' '); -;; ~or~list(k,1] = 'PE~' then ~~gin :, (~or1list[k,2] c> '05D' lna (woralist[k,?) <> 'SLUE' ) and C.orclist[k,2J <> 'GREEN' ) and (Wordlist[k,Z] (> 'NEXT') then 3es;n Si ,nal; Jriteln('Prooer oen Choices are BLUE, ~ED, GREEN, or NEXT.'); .. rHelnC' '); :: n ~ 'lse :f ,e;1n --; :~lu~n:_not_~ullC.or~list,.) ~ j t; then ) ) CYCLOGRAPH 01 - - VAX Pascal V3.2-57 Page [ODTAALEXA.THESIS]CYCLOGRAPH.PAS;34 (5) 20-May-198621:31:02 20-May-1986 19:59:49 Source Listing -LINE-IDC-PL-SL00732 00733 00734 00735 00736 00737 00738 00739 00740 00741 00742 00743 00744 00745 00746 00747 00743 00749 00750 00751 00752 00753 00754 (lO755 00756 J0757 00753 00759 00760 'JJ7~1 30762 00763 00764 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 J~7~5 5 5 4 3 3 3 4 4 5 5 5 5 4 3 :5 3 4 4 5 5 6 6 'requires dn integer. The value specified is not in IOriteln(' '); snc: Slse If ~ordlist(k,3J <> 'LOOPS' then Je 5i :?nal; 6 .r;t~ln(' =n ~ .? :)0769 \)0771) 00771 00772 00773 ')0774 00775 00776 Cl0777 00778 00779 00750 1 1 1 5 4 3 3 1 1 3 4 4 1 1 1 1 1 ~~ 1 1 5 ~ ~fter LOOPS.'); 'I; :'n di If Jordlist[.,lJ : '~OVE' then ~e..fin Colu~n2_not_null(~ordlist,k) If 5 then End; 5 6 6 1 :olumn4_not_null(~or~list,k) .r teln('Unexoecteo ch3rdcters found e-;in 6 6 6 If ; n .r teln" ~n c; 5 1 1 1 1 LJOPS exoected after inteqer valu@.'); '); ,i n .l; ~ 1 for •• '); j ~lse 5 integ~r g; n ~rit~ln('<eywor1 /) then Si'lnal; ~ ., pen color.'); ~ritdln(~ordlist(k,lJ, 6 1 ~fter 3e9; n Q 1 J07H 10735 J0706 If .oralist(k,lJ = 'GRAPH' then 'legin If ColuMnZ_not_null(~ordlist,k) then Beg;n :f ~ot(Valid_Inteqer(Wordlist[k,2J» 0 1 characters found (~orjlist[k,l] = 'START') or (WordlistCk,1] = 'RUN') then Se'];n If ColuMn3_not_null(Wordl;st,k) then ae'lin Si"nal; ~riteln('Unexpected characters found after procedure na.e.'); "riteln (' '); ::nd; End; 5 'J07~8 00]>,2 J073 3 If 6 6 6 6 ·)0756 00767 007~1 Writel"('Une~pected Writeln(' '); End; End; then ~ot(Valid_Inteqer(~ordlist(k,~)) then :le<;in ~i 3ndl; writeln(~ordl;st[k,lJ, 'reQuir~s an integer. ortteln(' '); The v~lue specified is not In Int@9@r for •• ·); :"1 ~ -lSI If . . e -: in (~orcli't(~,:: <> "I~HT') (~or1list(~,': <> 'L~FT') .no then 16 I ) 20-~ay-1986 CYCLOGRAPH 01 Source Listing 20-~ay-T986 21:31:02 19:59:49 VAX Pascal V3.2-57 page [00TAALEXA.THESISlCYCLOGRAPH.PASi34 (5) 17 (~ -lINE-IDC-PL-SL00787 00788 00789 00790 00791 00792 00793 - 007114 00795 00796 00797 00798 00799 00800 'J08J1 00302 00303 00804 00305 00806 00807 J030S 00609 00810 OC811 00812 00813 00814 00815 a0316 00817 00813 0031 Q 1 1 1 1 1 1 1 1 1 1 5 1 1 4 3 3 3 3 3 3 4 4 5 1 1 1 1 1 f 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 .) 2 3? 'J 1 00321 1 1 1 1 1 1 1 1 1 ~0322 00S23 00324 00325 00326 00327 003: ~ 0032, 00330 00331 00832 00833 00834 00835 00336 00837 00833 J0339 00340 ~:)341 SignaL; WritelnC'Xeyword LEFT or RIGHT expected after integer value.'); lirHeln(" I ) ; End Else If Colu.n4_not_nullCJOrdlist,k) then geqin Signal; writelnC"Unexpected characters found after direction.'); WrHelnC" I ) ; Eno; :nd; End; 6 6 6 6 5 6 6 6 6 If (Jor~list(k,l) (4ofJlist[k,1) (Jorclist[k,1l CJor~l;st(k,1) ' . ' ) Or 1_') or I.') ~r "/') then 3egin If ~ot(Val;~_QealC~ordlist(k,2)) then 3e1in Signal; 5 5 5 Jrit~lnCWordl;st(k,l), , re~uir~s a real .ritelnC" '); 5 5 nu~~er. The value specified is not in real fora.'); ~~O If <.ordl;stCk,:J <> 'HOLE') and C~orclist[k,3) <> 'WHE!L') and (.or~list(~,3J <> 'QI~G') then r! ec; n ~l5e " 4 4 5 5 5 5 5 5 Sionali .rit .. lnC.;ordli stU,,1],' 'Oay oe used to alter the values of", , ~OL:, ~~E:L, or <ING only.'); .ritelnC· .); ,-".j 4 ~lse I' :::.e"1 1n 5 C~lumn4_not_~ullC~oralist,k) tnen 5i "Jnal; 5 .ritel~('~ne.oected 5 .ritelnC' 4 ~n cnar3cters found after end of co•• and.'); '); j; :n::l; 3 £no; ::1"0; 1 1 1 1 1 1 1 1 If )OS > ~ tnen ~eqln 2 2 2 1 1 :ii .ndl; .ri~eln('~issing state~ent in procedure ',Procl;st(procs]); n~; If ~os 1 e ,;; 1 :i i 2 ~NO .ritelnC· '); < : then 1 na l; .r t"l~('~;ssin? .. r tf:'ln(' .); DC state~ent in orocedure 1,~roclist(procsJ); 20-~aY-1986 CYClOGRAPH 01 21:31:02 20-May-1986 19:59:49 Source listing VAX Pascal V3.2-57 Page [OOTAALEXA.THESIS]CYClOGRAPH.PAS;34 (5) • -lINE-IDC-Pl-Sl- - 00842 00843 00844 00845 00846 00847 00848 00840 00850 00851 00852 00853 00654 00855 00856 00'157 00858 00359 00860 003bl 00362 00863 00864 00365 10:366 00367 :lO S6 8 00369 00870 ')0871 JGS72 JOS73 J03H JO ~ 75 OCS7 '\ 1 1 1 1 1 1 C 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 a 0 1 1 1 1 1 1 1 1 1 1 1 Z 2 2 a 0 1 1 2 2 2 2 ;2 2 2 1 J 0 J 1 1 1 1 Procedure Verify_runs; {Check t~ see i t all procedures called are defined in the proclist} ileqin Fer l := 1 to Runs do aeqi,., . Fauna := false; k : = ,; ~hile (not fauna) and (k <= prQcs) do If ~unlist(l) ~ ?roclist(k] then Found := true £lse k := k + 1; If not found tnen writeln(Runlist(l],'not defined as a STARTed pro~edure.'); ~nd; End; Proc~cur~ ae~;n .rit~ln('~o errors found.'); ;rror free := true; 2 1 :n~ ~ls~ ~n j 00573 00379 00330 00B81 00332 00883 008'14 'JOBS OC886 1 1 1 1 1 1 1 1 0 J 1 1 1 1 1 1 1 OC8~7 a 008S3 003'39 00690 J0391 1)0392 1 1 1 1 1 1 , 1 :J a J a 1 1 ~rror_re~ort; ae,in Error +r~e := f3lse; or;teln(' '); If errJrnum= : tnen 2 2 2 0 J STOP state.ent for procedure ',Proclist[procs); Ena; 0 0 0 U ,9 Writeln('~issing .. riteln(' '); Eno; 2 1 OO~77 JD 3 J0294 )CS'!S ):j~? 6 End; If Starts> 0 then Begin Signal; 1 .r;teLn(errornuM :3,' errors found.'); c; ~rJc-?-:ur~ 3 e'li ;"':aQ_ fi le_Jnd_syntaK_checK; ~ Fi ll_valid_listsi ~ead_file; luiLd_ wOrj_lists; 5yntax_cneck; \/erify_,uns; Error_reoort; ~ nd; Procecure Clear_stacKs; 3~ 3 in Fer oointer := 1 to 20 do ~e~ir\ PC_:tacK[~olnter) 2 2 := :; ::u~t~r_:ta'k[~oi~ter: 1 1 :J -:r·1 ; ;) -: ; rI ~n"J ; t er ::: := J; 18 r ) 20-~aY-1986 CYCLOGRAPH 20-May-~986 Source L ht ;n9 01 21:31:02 19:59:49 VAX Pascal V3.2-57 Page [00TAALEXA.THESIS]CYCLOGRAPH.PAS;34 (5) -LINE-IDC-PL-SLOO1l97 00898 00899 00900 c OO~01 0091)2 00903 00904 1)0905 1)0906 00907 00908 J09,J9 00910 00911 OCQ12 )()913 00914 00915 00916 a0917 00113 :)0919 .J0920 'J0971 J092 2 00923 30n4 0 1 1 0 0 Procedure Push_PC_and_count; {Place return line nUMDer and ti.es to repeat on stack} 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 C 1 1 1 0 J 1 1 1 1 1 1 1 1 1 1 :Jon 5 1 1 00927 JG9::, )OQ3:J )OQ 51 J0932 JQ9n 30934 0;)935 309-':6 00937 )0938 0093Q :)09/00 :)0941 30942 a0943 00944 00945 00946 30947 ,)094, :0941 JJ950 "J9<1 ~o;nter := ~ofnter • 1i PC_Stac~[oointer] :='PC + 1; If ~orjlist[PC,2] = 'RUN' then Counter_3tack[pointer] :- 0 ~lse C~unter_StackCpointerJ := Value_Integer(.ordl;st(PC,2]) If Pointer ) 20 then Wr;teln('Fatal Error: Endi 1 , 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 - 1; Maxi.UM nesting level exceeded.'); 0 0 Procecure Poo_PC_and_counti J {Re.ove ;te~s frOM stack} 3eg;n 1 Pointer := Pointer - 1: 1 J =n1i a 0 1 1 1 1 2 ?rocecur~ :.ecute_~rograM_coM.and; 3eq;n If worilist[PC,lJ = 'RESfT' then If C~orjltst[?C,1] - '~RAPH') ~eset_wheeli and (Wordlist[?C,31 'LOOPS') then !leq;" Nu~ 2 1 00926 OOQ~~ 0 Be~;n Value_;nteger(.ordl;st[?~,2:)i := ~o_;raoh; 2 1 2 2 2 1 1 1 En~ Else If (worclist[PC,lJ Seqi" NUM := )i Go_;racn; then En oi If ~or,list[?[,lJ = 'p~~' th~n ;e:i, 2 2 2 .Jr1 ~~ := .or~ .orct;stC?C,2~; = '~~XT' tnen ~~in ~f cljColor = '~LU"' tnen _ord := 'GREEN' .f OljColor 'G~E"N' then word := '~ED' Else If 0laColor = '1EO' then ~orct := '3LUE' 3 3 -; 2 :ls~ ~~d; 2 OllColor := 2 ;~:_,ol~r(.or~,l)i 1 1 1 'G~APH') ~ord; ~na; If .orjlis~~?C,l] '~I~G' then a := Value_IntegerCworalist(PC,2]); 1 If wor,list(pC,lJ '.HEEl' then 0 := Value_Integer(WordlistCPC,2J): 1 If .or~list~PC,l) 'Helo' then h := Value_Integer(Wordl;st[PC,2]); 1 1 1 :f (~or:li.t:ct,l: '~QV~') ~"J (Jor~list[PC,l) = 'lEfT') ~ot.:i)n := ~ctation + Vdlue_:nte~er(~ordlist[PC,2]) 1 ~lse 1 1 = :f {_or:l;st:?C,1) .~: 1~'Jn ;~ 'C~3ti~n = - then * (2*3.1415/a) ·~OV:·) then ~alue_:n!e~er(~orallst(?C,2J) * (2*3.1415/a); 19 ) ) ) CiYClOGRAPH 01 20-~ay-1986 21:31:02 20-Kay-1986 19:59:49 Source II sHng VAX Pascal Vl.2-57 Page COOTAAlEXA.THESIS]CYClOGRAPH.PASil4 (5) -lINE-IOC-Pl-Sl- 00952 00953 00954 00955 00956 00957 00953 00959 00960 00901 00962 00963 00964 00965 00966 00967 00968 :)0969 0097:) 00971 00972 00973 C09]4 ~0975 1~976 00977 ~0973 30979 J0980 J09~1 , ,, 1 1 1 1 1 1 1 1 1 1 Z 2 2 2 2 1 1 1 1 2 1 1 Z 1 2 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 J1Q~7 ')0936 ')0 0 59 1 1 0 G OO~90 a ;) 1)0911 )09Q 2 Q09n 1 1 1 1 1 - Value_~eal(.ordlist(PC,2J) (~or~list(PC,l] = '*') then ae-; in If (.orolist(PC,3J = 'HOLf') then h := h Else If (lIordlist(PCdJ = 'WHEEL') then 0 [f := ~ * := J * * Value_Real(WordllstCPC,Z]) Valu~_~e~l(~ordlist(PC,2) 'QI~G') tnen (~ordlist(~C,3] d = Vdlue_Re3l(~ordlist[PC,2); "nd; If ('.ordist(?C,l) = ',') then ani., :f (.vrclist[FC,3J = 'HOLo') tnen ~ := h I Value_RealCWordlist[PC,2]) =ls~:f ('.orcList[PC,3) = "~HE=l') then ~ :l$~ :f := J , ~3lue_'eal(Jorjlist[?C,2]) (Aor~list~?C,)~ , := 3 I = '~I~G') t~en VaLue_:;e~l<Jaroli~t[?_C,2J); ':no; o :'no; Procedure c.ecute_Jr09ra~; ~e9;n 1 1 2 )0996 3 3 3 3 2 3 PC := 'rocline(kJ; _niLe 10t( (pcinter C) 1nc (Jordlist(?C,l] Je.;n :f .orjlist(PC,l] = 'DO' then Jl C') 4 'STOP') ) dO ·~e~in {?ldce return line and reoeat nu.oer on stack} Qush_~C_ano_:ount; End Else if .0rolist(?C,1] = e;;n :f 11 JJ 3 'f~D' :cunt~r_:t3ck:~cint@r] then > .: then ".' ~:;; r )1:) 5 4 :1 Jb ~ c If 2 2 2 JOQ~6 ~ Eno; 1 1 1 := If (_ordlist(PC,3J = 'RI~~') tnen a := 3 - VaLue_ReaL(Wordlist(PC,2]); 2 J09:j 5 JOQ97 009 0 8 10999 110GO 1)1 C,) 1 ']1 ~J2 0 ~Lie EliR 1 = '-') then Begin If (Wordlist(?C,3] = 'HOLE') then h := h - Value_RealCWordllst(PC,Z]) Else If (\/or~list[PC,31 = 'WH~:l') then 2 2 2 1 1 )0914 If (Worjlist(PC,1] 2 30982 30933 JC904 00995 = "t") then geg;n If CWordlist[PC,3J = 'HOLE') then h := h + Value_Real(Wordlist[PC,Z]) Else If (wordlistCPC,3J = 'WHEel') then b := !)' + Va Lue_Real (Wordlht [PC,Z]) Else If (~orolist(pC,3) = 'RI~G') then a := a + Value_RealCwordlist[PC,Z])i End; If (Wordllst[pC,l] 2 {~~cre~ent ~u~~er to r~oeat ]no 10 back} -ou~t~r :t)c~C~1i~ter~ := :ounter_~tackC~oint~r] - 1; 20 r ) ) CYCLOGRAPH 20-May-198621:31:02 20-May-1986 19:59:49 Source Listing 01 VAX Pascal V3.2-57 Page [OOTAALEXA.THESISlCYCLOGRAPH.PAS;34 (5) 21 (~ -LINE-IDC-PL-SL- .. 01007 01008 01009 01010 01011 01012 01013 oJ1014 01015 01016 01017 01018 01019 01020 01021 01022 01023 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 01024 01025 01026 01027 ')10;>8 01029 01031 01032 ~1033 01034 01035 -)1039 j , 040 ')1 )41 01042 01045 01040 Jl 047 01048 :11049 01050 )t C C o 1 1 1 1 1 1 1 1 J J ,, : 1 1 I) 0 ~.j J1'J~l 3 3 2 1 , :J 0 ~nd; Execute_Proqram_com.and; PC:"PC+1; Eno; Uh; le} End; Procecure )o_'r~qr3Ms; d eg in Loaa_fHe_3nc_syntax_,heck; , If error_free then ? 3eGi n Clear_stdcks; o o o :) o 1 C) 1 o 1 a 11052 01053 31054 81 as 5 J1056 .J, C:5 9 3 3 1 1 a Jl057 Jl : 5 , 2 3 2 2 := ,; "hi le (not found) and (k <= procs) do If (.ordlist(?C,ZJ = Proclist[k]) then Found := true Else k := k + 1; ~t := PC - ,; ?ush_PC_3nd_Count; 'c := Procline[k] - 1; ::nd ::lse if wordlist(PC,l] = 'STOP' then 3e'lin 'C ;= PC_Stack[pointer]; ?oc_?C_ano_Count; 3 3 1 1 ill051 k 3 3 3 2 1 1 1 1 1 1 1 1 1 1 )1031 ')1 03 ~ )1043 11044 3 3 3 3 3 1 1 ')1036 = "2 o o o o 1 a 01030 PC := PC_StaCk(po;nter] - 1; End Else If Counter_Stack(pointer] 0 then Pop_PC_and_Count; End Else if Wordlist(PC,l] 'RUN' then 5eq;n Found :" false; 4 4 3 3 :3et_:li"e:'i ·.hile (ClineClJ ("> ' ' ' ' ) JO ~ e :i n :f ~:)un,~ th~n ::xecut .. _prOl r ,rn; J~t_cline2; ~ n,:; ';:nci E nlji 'legin {/'lain} ($et J~ ;r In; 3~ni ~_;r i~ni cs lna gr'cnics .;ndo.} c.si Cl=-3r_scr~en; S~t_~ina~w(J.:,~.J,10JC.J,625.J); <Oefaults} OljcJlor := • Ij? E:: '4. ; Rot3tion := ':Ji Str: := :; a • = 'Je; b •= - , ; h •= , ~ =r'"<Jr _ ~r~~ :-= t r u ?; J' ) ) ) CYcLOGRAPH 01 Source Listing 20-"ay-198621:31:0 2 20-Kay-1986 19:59:49 -LINE-IDC-PL-SL- -- 01062 01063 01064 01065 01066 <)1067 01063 01069 01070 01071 01072 01073 - 0 0 0 0 0 0 0 0 0 0 0 0 Co •• ands := C'*','O','M','C','W','H','R','X','£','G','P','Z']; 1 While (Cline[l] <> 'E') Do 'Segin; While Not (Cline[11 in Co •• ands) Do Get_cline; If (Cline[1J = '.') and (error_free) then Do_Pro~r3.s else If (ClineC11 then ~riteln('Progra. contains errors.'); If (cline[11 <> '.') then ~xetute_tom.and; 1 2 2 2 2 2 = '.') 2 2 HOlle; If ClineC11 <> 'E' then Cline := " ; 2 1 o End; ::nd. " VAX Plscal V3.2-57 Page [OOTAALEXA.THESIS]CYCLOGRAPH.PAS;34 (5) 22 ( ) ) CYClOGRAPH 01 20-~ay-1986 Cross Reference listing 20-~ay-1986 VAX Pascal V3.2-57 Page [OOTAAlEXA.THESIS]CYClOGRAPH.PASi34 (5) 21:31:02 19:59:49 'BS [PSECT(SlOCAl)] S~NGLE < IN PROGRAII CTelOGRAPH } 386 87 307 307 35d 385 959 :: 454 942 = 949 959 951 986 ,z 977:: 977 977 986 986 BOUND INTEGER < IN PROCEDURE TXT} 172 BOUND INTEGER { IN P~OCEDURE SET_COLOR} 176 V~~ INTEGE~ { IN FUNCTION VALID_INTEGER} 205 270 = 271 271 272 277 VAR INTEGE~ { IN FUNCTION VALID_REAL} 233 ZS3 = 290 290 292 293 INTEGER { IN PROC=DURE aUIlD __ ORD_LISTS } VAR 549 5~2 = 565 566 568 568 575 575 575 = 575 575 VAR I~ToGER IN ~ROG"~~ CyelOGRAPH } 118 FU~C {lUILTIN}: I~T~r.:~ B VAR A A 4 A 4 42 387 968 386 959 1057 387 968 277 277 297 297 297 570 571 " 571 571 385 944 '" 984 386 386 957 994 957 1058 " 572 512 SlIO 241 248 255 262 266 64 65 66 128 427 428 1039 1063 s 442 968 31~ 9 [PSECTCSlOeAL)] SINGLE { IN PROGRAM CYClOGRAPH } ~3 307 35~ 364 365 385 44>! :: 3B6 337 387 387 J87 166 _66 966 975 975 975 80UND INTZGER { IN PROCEDURE TXT} 3 "OUNO 957 984 386 172 , IN 'ROCcDUR" SET_COLOR } I~TFG'R 170 VA? I~TEG=~ 54~ IN ?qOCEDURE 3UIlO_WORD_LISTS } 563 '" 565 57C 572 { :N PROG~A~ CTelOGRAPH } a2 VAQ INT=~ER 3ETA VAR 111 (PSSCTC.lOCAll] TYOE 300LEAN ~U!L )_'~O R 0 _L: 0 T S CHAR m~o[ 3~5 2,0 54 C 34 C'S~(!(:COOE), = { IN 3e6 105 U~·OUN?] 541 lti2 * 39 172 PROGRA~ (TClOGRAPH ) 337 le6 {IN PQC~~.~ 203 CYCLO;RAPH } TYP~ 129 CL:AR_;CREEN PROC eLEA~_STACKS poec E VAR eOLUMN2_NOT_'ULl FU~C COLU~N3_NOT_'UlL FU~C ~OLJ~N'_.CT_'I~LL F~jC CO ..... ANO ~.~ 31 lB 40 112 41 56 UN30U~O] {I~ P~OSRAM CyelOGRAPH } 152 424 479 1050 CPSECTC5CODE), UN~OU~D] {IN ~~OG~A~ CYClOG~~PH } [EXTE~NAl, ~38 eLI~ SI~GlE n 1 ~37 (?SECTC!LOCALl) ~RRAY OF CHAR { I~ PROGRA~ CYClOGRAPH } S5 325 327 327 407 ~ 408 479 .. 3J 481 482 483 484 lC~5 l'J66 1063 1069 1071 1071 = (PSECTCiCODE), U~~OUND] : aOOLEAN { IN PROGRAM CYCLOGRAPH 241 244 '" 245 637 698 749 (PSECTC;CODE), UN~OUNO] : aOOLEAN { IN P~OGRAM CTClOGRAPH 2" ~51 '" 252 712 72Q 739 :~~~CTCiCGDEl, UN-OUN)] : 3COL~A~ { IN PROGRAM CYCLJGRAPH :55 25'< '" 25764 Hl ~21 C~., ( r, '~0~~.M :YCLOGoAPH } 'J~ ( r VAR A 23 423 R 485 } 775 } 486 429 ) ) ) CYClOGRAPH 01 Cross Reference listin9 COI'II'IANDS VAR COI'II'lLINE VAR COI'IMLIST VAR cos FUNC CO Sl V,AR COSR VAR COSSUI'I VAR COUNTER_STACK VA'" CYCLES WAQ CYCLOGRAPH PROG DOLI STS TYP~ DIGITS VA~ I>OS VA~ DO_i>ROGRAI'IS ?qQC E VI~ ~OF rU~C :,RO~'jU,~ 'JAR (PSECT(SlOCAl)] S~TOFCHARACTERS { IN PROGRAI'I CYClOGRAPH > 81 40S 1062 = 1065 [PSECT(SlOCAL)] lINES { IN PROGRAI'I CYClOGRAPH } 124 531 R 532 534 534 560 = 565 575 (PS~CT($lOCAl)l LISTS ( IN PROGRAI'I CYClOGRAPH > 126 534 560 560 603 {qUIlTIN > : SlNr,lE .. '86 386 387 392 392 [PSECT(SLOCAl)J SI~~L~ { IN PROGRA'" CYClOGRAPH > 71 339 = 393 394 [PS~CT(~LCC~LlJ SINGLE { IN PROGRA~ CYClOGR'PH } 69 392 = 393 393 394 ~PS~CT(;lOCAl)] SINGLE { IN ?ROGRA~ CYClOGRAPH > 70 393 = 396 [PS"CT(!LOCAU] ~PRAY OF INTEGER {IN PROGRA~ CYCLOGR4PH) 101 '\93 = 903 = 904 = 1003 1006 1000 (?SECT( Il~CAL): 5I~Gl~ { IN P~OGR.~ CYClOGR~PH } n8 303 31) 31' 358 372 = 372 373 = 373 373 379 379 [PSECT( HaDE) J 35 ARRAY { IN PP.OGRA~ CYClC.RAPH } 44 1'::3 241 243 255 (?SECT(llOC~Ll: S~T OF CHAR ( IN ?ROGRA~ CYClOGRAPH > 123 ~72 493 [PSECT(iL0CAL)] INT~GE~ ( IN P~OG~AM CYCLOGRAPH ) 112 598 = 6<:3 623 = 636 642 658 66J ')60 331 837 '[PS~CT(ZCCDE), U~~OUNO] {IN PQOGRAM CYCLOS~APH } 1032 1)~7 CPSECT(llOCALl) 3INGl~ ( IN ?qOGRA~ CYClOGRAP~ ) ~9 367 = 386 387 (oUILT:~ : 300L=AN ~ ~,~ ERROR_;;EPO~T '~OC EXECUH_CC:ol~A~O p qiJ C EXECUT:_PROGVM ~.o EXECUT~_?ROGRA~_CJ~~A'O PROC FALS ~ CC~ST I~ OQOSRA~ S'; J = 369 1006 1009 3T! 374 374 65~ 658 660 258 425 867 258 425 273 435 1013 d74 jaS <IlL_VALID_LI3TS ~.OC FI~O_CLJS~Ro_CYCL:3 ,)~:)c ~P~~CT(iCO~E), . ~ ~1 j~~ P:1C 570 ;>ROGiiAM CYClOG?APH ) 1~5 ,.,7 = '72 1035 101>1 = 1066 (PSECT( !Co~;:l, uro.10U~~) { r'l P'lCGRAM CyelOGRAPH } Hi ~~'P:'_LJ:P_:'f;:L ~2 570 i'~ [PSECT($C:OEl, u~~OU~D] ( IN P~OGRAM CYClOGRAPH ) 477 1J69 (PSECT( :C:)OO, U'BOU:-'O] ( IN PROGRAM CYClOGRAPH ) ,?<)1 1 :41 (PSECT(tCCDEl, uNJOU~D] {I~ PROG~AI'I CYClOGRAPH } 914 1~27 'FALS2 0' ~03 244 2C3 244 251 '74 274 213 294 294 295 435 607 607 669 669 356 1J13 [?SECT(SCO~=), U~~OU~DJ {IN P~O~Q_I'I CYClOG~APH } C 568 CYCLOGRAPH ) ~O} ).3 J J~'QU~)] i~ ?POG,A~ CYCLOGR_PH } {!~ PQO~~A~ CYCLO~PAPH { :71 CP5~:T( :CJ1~), J~lCu~:1 251 295 856 24 ( r = * 529 CPS::CT( :L;OU] :~TEG"q 1" ;9') '" :92 [,PSECH :LOOLl )l')OLEAN { ~;U~C~_F~E: VAX Pascal V3.2-57 Pig. [00TAAlEXA.THESIS]CYClOGRAPH.PAS;34 (5) 20-I'Iay-1986 21:31:02 20-May-1986 19:59:49 867 ) ) eyelOGRAPH 01 20-~ay-1986 eros 5 Reference listin1 21:31:02 19:59:49 20-~ay-1986 VAX Pascal V3.2-57 Page [00TAALEXA.THeSIS]CTClOGRAPH.PAS;34 (5) 25 -I I PROe FIND_WORD PROe FOUND VAR - 377 355 - FIND_NUI'IBER FOUND_AGAIN VAR GET_CLINE P ROC ~ET_ClINE2 PROC GO_GRAPH PROe H VAR HOME PROC ttOI'!~2 PRoe IMMEDIATE "'ODE VAR INIT _GRAPHICS P qO C INPUT V~R INTEGER TYPE [PSECTCSeODE), UNBOUND) { IN PROGRAM eyelOGRAPH } 334 369 441 459 447 453 [PSECTCSCODE), UNqOUND] { IN PROGRAM CTelOGRAPH } 465 31'1 337 (PSECTCSlOCAll] BOOLEAN ( IN PROGRAM CTCLOGRAPH } 427 106 429 607 428 425 = 670 8H 858 859 6n = 675 1 041 BCOl~~N { IN FUNCTION VALUE_REAL} 21<; 203 213 = (?3ECTCSCODE), UN3CU~D] ( IN PROGRAM CYClOGRAPH ) 403 1065 (PSECTC.CODE), UN~OUN~J { IN PROGRAM CYClOGRAPH } 417 1042 1038 (?SECTe HODEl, U~30U,~O] ( IN PROGq"H CYClOGRAPH ) IdJ 361 n1 920 [?S;:CH ;LCCAU) ;:~GlE { IN PROGRA~ CYClOGRAPH } ';140 .. '<0 460 955 367 955 = 973 982 982 in 97: = 997 = [EXTERNAL, UN~OUND] { IN PROGRAI'! CYClOGRAPH } 144 406 410 413 1070 (EXT~RNAL, UN~OU~D] ( IN PROGRA~ eYClOGR~PH } 14d 422 [P5ECT( SLOCAU] ~OOLEAN { IN PROGRAM CyelOGRAPH } 54 369 416 435 .. { [EXT=~~All UN30U~~] I~ ?ROSRA~ CYCLCGRAPH ) 156 1049 [EXT~~NAlC?ASSFV_I~PUTl] TEXT { IN PROGRAM CyelOGRAPH } 35 4C7 423 * q * 11 2 111 1: 1 VAR !( J A"~ : 41 CPSoC"( 122 •4 0 'LOCAUJ ( 3~S ~LC:;'l») 42~ 535 578 535 ,,01 6C3 ~34 ~53 ~6"! ~34 635 085 712 747 734 " 7~G -; 1 : j13 ~oo ~6J FUNeTIa~ ~93 INT5GE~ PAR1'I I~T"GER 24.j i( ~.~ PI'! rNT:::jE~ '- ~ 1 ( tN '45 { IN FUNCTION 252 IN FU~CTIO~ ) : ~ 609 861 955 1059 669 .. 1016 '" 610 .. 1013 '" 612 1015 964 .. 964 964 102 118 201 103 119 226 110 120 229 528 558 621 683 696 723 764 802 529 560 622 683 698 729 773 803 859 1017 s 101 117 192 42~ 72C 74Q ?as 814 1014 CyelOGRAPH } 423 428 555 552 610 615 672 665 695 690 722 722 751 754 791 800 817 821 1016 1015 tOlU~N2_NOT_~Ull > COLUMN3_NOT_~UlL } COlU~N4_~OT_~ULL ) 428 556 618 678 695 723 758 301 857 .. 1017 1017 329 011 611 8S!! 534 570 622 6'34 701 737 775 805 860 '" 1020 .!;::; C?:::CT( ,L-:CALl: :l ?ROo~AI'! 552 1\05 66: 6d7 S~< 73. ?ROG~A~ I 337 { IN 427 r\jT::'i::~ 7G3 62 61 116 115 186 177 549 283 CYCLOGRAPH ) 265 I~ 3 J6 ~!3 It 'JAR c55 ;:~~L" '1 2 .. 1 L 60 114 176 114 -- PAR"! 59 113 172 C;>S"CH 7-< 737 777 K , ~ '"I _.:. ~ .. :"TE(]=~ ,. 77 = 32 57 IN pqOG?A~ 327 ~O" " CyelOGRAPH } 329 329 609 ~1C 433 433 611 555 66e ) ) CTeLOGRAPH 01 -- LCOUNi LENGTH VAR LETC OUNT VA~ LINE PROC LII'IECOUNT VAR LINE S TYPE LISTS TYP~ LOAO_FILE_ANO_SYNT~X_CHECK j'qoc 'I VA~ .. - VH " ~ESSAG:; VAR VA~ ~AQi'1 Page VAX Pascal V3.2-57 [00TAALEXA.THESIS)CYCLOGRAPH.PAS;34 (5) 20-~ay-1986 21:31:02 20-May-1986 19:59:49 Cross Reference listing 610 854 .. 612 , 613 613 613 (PSECT( SLOCAU] INTEGER { IN PROGRAM CYCLOGRAPH } 59 328 .. 323 = 328 328 321 347 [PSECT(SLOCAL}] SINGLE { IN PROGRAM CYCLOGRAPH } 389 396 72 390 395 3'18 '" (PSECT(1LOCAl)] INTEGER ( IN PROGRAM CYCLOGRAPH ) 1H 513 573 576 573 564 '" [EXTER~AL, UN90UND] ( IN PROGRAM CYCLOGRAPH ) lou 397 (?SECT(SlOCAl)] INTEGER { IN PROGRAM CYCLOGRAPH } 115 552 = 555 558 601 ARRAY JF CHAR ( IN PROGRA~ CYCLOGRAPH ) 43 40 124 ~RRAY OF LINES { IN P~OGRA~ CYClOGRAPH } 43 125 [PSECT(!COOE), UNBOUNO] { IN PROGRA~ CYClOGRAPH } l7~ 1']34 (PS=CH ILOCAU] I\jT:G"R { IN PROGRA'I CYCLOGRAPH } ; 1 ., 00 309 = 3H 31? 312 349 .. 342 344 346 349 349 I~TE'JER ( I~ FU~CTION VALUE_REAL ) 201 20~ 212 207 = 211 212 218 219 '19 220 221 221 INTEGER { IN fU~CTICN V4LUE_INTEGER } 22:t 233 235 236 232 = 235 CO~FJ~~~~T 'R~'Y Jr C~AR { IN PROC~DURE TXT } .. 859 341 861 = 346 341 341 396 511 581 .. 313 = 313 313 340 '" 213 221 213 213 215 .. 236 236 442 448 44a 454 432 433 645 589 646 11 :J 756 795 603 ~40 , 7," 'lOVE PROC C5XT:;~N~LI UNa0U~~] 164 ( IN PROGRA~ "IOV:_TEETH PROC ~ ?A'M (PS€CT(;CODE), UN~OUN~] { IN 433 482 I:H"GE" { IN FUNCTION POWER } ~UM '1;.q ~?scCT( 1: ~ ;1. 1~? PRO~RAM = ~6') 4cJ p~OGRA"I 34() CYCLOGRAPH } 355 37e 920 ~U" V;.q />lU",2 VAR IN 'UNCTION V~Luc_~~~L } ~:: 5 = 21' = 2E INTEGER { IN FU~CTION VALUE_INTEGER} 229 231 -= 235 = 235 SI~GL: { I~ FUNCTION VALUE_~EAL } ,.UMER PA~i'1 r'H~GEq ,.UMHCL:: VA'! [PSEC T( !LJCAU J ~U" VA;; I~H ~ CYCLOGRAPH } 189 ,L;OU) H'JGL'O { IN 533 = 340 :'S4 '0 Gc CYCLOGRAPH ) 393 925 { ?~1 'J1. { rN = ~ 06 220 22'1 '" °ROC~OUR5 SET_COLOR} 212 223 223 235 238 238 220 223 177 ~, OLDCOLOR '14 R FUNC OUTi>UT VA, ~34 ( IN ?ROG~AH CYCLOGRAPH } 360 367 360 OF CHAR < 1'1 PROGRAM CYCLOGRAPH } 935 936 938 1054 I'H::G::~ = CP$iOCT( ,LOCAL)] 4R ~4 ORO ~65 ~AY = = { 3UIUrN } : INFG::R n5 195 195 [EXTERNAL(PASifV_JUTi>UT)] TeXT { IN i>ROGRAM CYCLOGRAPH } 411 431 35 412 414 ~1 ; ,16 I>P 620 629 639 ~79 69:, ~53 075 691 7:1 7'-~, ?b 727 726 742 733 7,2 767 761 783 790 7'32 7a3 nd 143 73Q 754 7'14 652 715 761 508 26 ( ) ) CYClOGRAPH 01 Cross ~eference 20-May-1986 21:31:02 20-May-1986 19:59:49 Listin1 VAX Pascal v3.2-57 Page [00TAALEXA.THESIS]CYClOGRAPH.PAS;34 (5) 8,., PC VAR PC_STACK VAR POINT COUNT VAR POINTER VAR POI'IT_FOUND 810 819 824 825 834 361 868 871 874 905 847 (PSECT(1l0CAL») I~TEGER { IN PROGRAM CYClOGRAPH } 117 902 902 903 904 916 929 931 942 942 944 944 9 .. 9 950 951 953 955 955 962 964 964 965 966 967 974 975 976 977 980 982 956 ~93 994 996 1001 1007" 101d" 1020 1(;22 1024 1028 1028 (PSECT('LOCAL)] ~RRAV OF INTEGER { IN PROGRAM CYCLOGRAPH 102 in" 902" 10C7 1007 1024 INTEGER { IN fUNCTlaN VALID_REAL } 233 Z~9 = 292 292 292 293 (?SECT(llOCAl)] I~TEGER { IN PROGRAM CYCLOGRAPH > 119 390 = 892 893 895 901" 904 ~DS 911 911 911 994 10G9 VA~ 300LEA~ 835 1068 840 841 920 948 958 846 918 946 956 968 982 1011 1028 } 1024 918 946 957 971 983 1016 984 1018 948 959 973 985 1018 901 lC03 901 1006 902 1006 903 1007 039 645 834 840 620 620 1015 621 622 858 73 74 75 76 <;149 949 949 973 923 1824 ( IN ) 211 216 (IN PROGRAM CYClOGRAPH FUNCTIJ~ VAlUE_~EAl 203 203 = 209 lS3 '>22" 993 POP_PC_AND_COUNT PROC POWER FUNC PROCFILE VAD PQOCLI>jE VA, (PSECT(,CODE), u~30UND) > 983 1009 1025 [PSZCT(1CODE), UNSOUND] : SINGLE { IN PROGRAM CYCLOGRAPH } 136 189 = 189 189 346 CPSECT('lOCAl)] ToXT ( IN PROGRA~ CYClCGR_PH ) 131 3S 527 529 531 [oSECT(;LOCALJJ ~'~AY Of INTEGER { IN P~OGRA" CYCLOGRAPH } PIlOClIST VA~ [PSECT($lOC~LJJ .CQO_L!ST { IN ~23 133 993 1020 P~OGRAM CTCLOG~APH 610 433 i59 [PSECT(SLOCAl») 113 ~27 621 1020 = ) 628 ?U$H_;>C_ANO_CSU~T ~C~C 1016 ,~T"ER { IN ?ROr.RAM CYCLOGRAPH } 433 599 609 620 6' 3 ;", 64, 81.. 84J 846 (oSECT(!C~DEJ, Y~~OU~D) {IN PQGGRAM CVCLOGRAPH } .t,OIU5 /P [~s;:crc 31.0 PROC S VA. -90 n9 VA~ 101, :L:;CAUc HI ;>~OG'~!'1 CTCLO"RAPM } CPSECT(ILCCALJ) :I~'LE { IN "J6 307 = 312 ~qOGRA~ CVCLOG~APM ,5 ~ATIO = HADLN pQOC {~UILTI~} 'lEAD_FILE ~,OC CPSE * :I'~GL= 3~" ~ 407 (~CODE), { 367 423 J~30U~D] } 312 531 {I~ ?~CGqA" CTCLOGRAPH > ~31 HAL TYPO: ~EALDIGITS V~? RESET PROC RESET_oIHEl PODC ,CTH!Q); II 'U~LrST V r. ~.~ D -,I~\i * 63 77 73 0' 79 70 186 71 186 72 198 (PSECT(tLOCAL)] SET Of CHAR ( IN PQOGRA~ CYCLOG~ApH ) 129 293 494 = { lUILTI~ } * 527 [PSECT(ICOD5), UNa~uND] (IN PROGRAM CTCLOGRAPH > 409 436 916 C~3=CT(SLJCAl)1 5:~~LE { IN ;>qO~~A~ CYCLOGR_PH } 73 3~1 392 4~2 442 442 ',51 ~ iS1 '1S1 lJ55 = c~s :(T( ~L:CALl) oJ'~_~IST r~ 'QC.QA~ CTClO"~.P~ ) 202 472 27 (- ) ) CYCLOGRAPH 01 Cross Reference Listing RUNS VAR SETOFCHARACTERS TYPE SET_COLOR PROC SET_WINDCW PROC 51 liN AL P ROC 20-~ay-t986 SIN FUNC S IN1 V~~ SI~GLE TV ~< SINR VAR SINSUM 'OR SPECIFY_COLOR PROC SPECIFY _HOLE ?RCC SPECIFY_RING pQ::JC 20-~ay-1986 SQR F U ~j( UNdOUNOJ :. .. 5 id1 { !UILTI'I } : SI~GLE STARTS '/:. :; [P50CH STRT 'IH SYNTAX_CHECK " ~ OC TEXT TYPE THETA 'OR 700 787 707 793 88 89 90 91 PROG~AM 630 648 648 648 385 386 386 387 252 237 252 237 41~ CYCLOGRA?H } 3a:l :~T~GER 'LaOU~ ,17 = ~55 = 1 21 ?~Q'" { IN [~SECT(iCODE), Bd STRING 689 779 ( IN PROGRA" CYCLOGRAPH } U~80UND] PQJC TYPE 677 766 _34 SPECIFY_"HEEL STP 854 ~33 [PSECT(1CODE), .. 51 STRING VAX Pascal V3.2-57 Page [00TAALEXA.THESISlCYCLOGRAPH.PAS;34 (5) 065 .", 859 134 861 . (pSECT< SLOCAUl INTEGER ( IN PROGRA" CYCLOGRAPH } 664 ,. 120 664 665 664 596 '" SET OF CHAR ( IN PROGRAM CYCLOG~APH } 38 81 (EXTERNAL, UN'lOUNDJ ( IN PROGRAM CYCLOGRAPH } 176 466 939 (EXTERNAL, UN30U~D] ( IN PROGRAM CYCLOGRAPH } 163 1051 [PSF.CT(SC~DE), UN~OUNO] ( IN PROG~AM CYCLOGRAPH } 536 1>14 627 633 644 651 714 760 725 731 741 753 307 ~11> 823 839 845 833 { 3UrLTI~ } : SINGLE 391 Ja6 387 387 391 * [f>SECTC iL;;CAU] SI~GLE { IN PROGRA~ CYCLOGRAPH } 394 77 393 190 ;: _FLOAT I~jG 84 87 33 85 86 n* 11>0 160 164 164 168 (PSECT(tLOC~Ll] SI~GL£ { IN PROGRAM CYCLOGRAPH } 76 391 = 393 394 394 CPS r: CT (SLOC All] SINGLe { IN PROGRA" CYCLOGRAPH } 74 394 = 395 [PSECT(!CODE), UN~OUND] { IN PROGRA" CYCLOGRAPH } 4~,\ '-.05 [?SoCTCSCODo), ~N30UNDJ { IN PROG~A" CYCLOG~~?H } ~57 '>};';J 21:31:02 19:59:49 { IN ~24 PROGRA~ '>24 CYCLOGRAPH } 624 625 343 54Ci'S=CTC 5LaCALl] SINGLE { IN ?ROGRA~ CYCLOGRAPH } 7S 374 = 379 = 3d1 400 400 ~"RAY OF CHAR ( IN PPOGRA~ CYCLOGRAPH ) 39 THET A2 VA;; TOUE C:'iST AQaAY Of CHAR { IN PROC~DURE SET_COLOR} 176 (PSECT( SLOCAU c SINGLE { IN PROGRA~ CYCLOGRAPH } 379 73 373 = 331 471 400 " ,PSECT( HODE), !J,~90UND] { IN PROGRAM CYCLOGRAPH } 5~3 383 CONFQR"'~~T 131 * [PSECTC ROCALl) SI~GLE { IN PROGRA~ CYCLOGRAPH } 79 384 384 385 384 383 " 337 (?SECT< £L:JCALl J l'HEGER { IN PRO;~." CYCL06RAPH } ~B""!' ~2 3 S1 :: 8' 397 'T~U= = ~ 5'~ 1056 l' ,11 211 2P 213 245 245 ~ 2e ~ 2~9 269 23~ 2~0 : 3 259 28 r- ) CYClOGRAPH 01 ) ) 20-~ay-1986 21:31:02 20-May-1986 19:59:49 Cross Reference listing 416 428 428 872 1016 1016 BUILTIN} : INTEGER VAX Pascal v3.2-57 Paoe [00TAAlEXA.THESIS]CYCLOGRAPH.PAS;34 (5) 610 1061 610 1061 672 365 381 381 TRUNC FUNC < TXT PROC VAll LIST VAR [EXTERNAL, UNaOUND] {IN PROGRAM CYClOGRAPH } 172 [PScCT(llOCAl)J WORD_lIST { IN PROGRAM CYCLOGRAPH } 135 495 496 497 498 499 5C4" 505 = 506 507 508 509 * 312 365 = 672 VAl2LIST VAR VAULI ST VA~ VALID_~OCl VAR VALID_'lOOl V A~ VAll D_INTEGER Fu''/( VALlD_HAL F U~C VAlU E FUNC VAlUE_ I'ITEGfR fU~C [PSECT(SlOCAl)J WORD_lIST < IN PROGRAM 136 514 = 515 516 [PS"CT(~lOCAl)J .lORD_LIST { IN PROGRAM n7 517= 51d 519= ~OOlEAN ( IN fUNCTION VAlID_INTEGE~ > 2o~ 269 = 271 274 : "OOl~AN ( I~ <UNCTION ~AlI~_R~Al } 264 237 = 290 295 = [PS~CT(;CODE), UN80U~D] : aOOlEAN ( IN 262 ,toB = 273 705 [?SECT(5eOOE), U~30UNO] : aOOlEAN ( IN 280 2~6 = 294 805 [PSECTC'CODE), UN30UND] : INTEGER ( IN 192 1Y5 = 212 220 (PS~CT(SCODE), U~90U~~] : INTEGER < IN = 221) 040 VALUE_REAL ;u~c VERI FY _RUNS D.:JI":'" ~ORO v;,=? ~J~DCOu~T V:"i< .O~f)LIST IIOR)S "'. vAil TV!': "Oill_LIST TY?" </QIT : ,OOC 233" QG4 949 904 = CTCLOGRAPH = 672 859 859 872 500 510 '" 501 511 '" 502 '" 512 '" 503 = 513 • 942 944 944 968 973 975 931 '" 932 934 576 578 579 618 67!! 621 683 696 723 764 621 > > CYClOGRAPH 520" 521= PROGRA" CyelOGRAPH 751 777 PROGRA" CYClOG~APH 522 > > > PIIOG RAM CYCLOGRAPH 235 346 346 PROGRAM CYCLOGRAPH } 942 920 920 951 c?;~CT(;COO,), UN~OUN~J : SINGLE ( IN DROGRAM CYClOGRAPH } 1110 223 = 955 957 959 964 966 '~77 ~82 984 986 [?SECT(.COOE), U~~OUND] {IN PROG~AM CYClOGRAPH } aS1 ~H [?S:CT($LOCAL)] ~Q,RAY OF CHAR < I~ PROGRAM CYClOGR_PH } ~, 322 = 327 339 344 346 466 P 935 = ~30 = 030 9B 939 P C?SECT( !LOCAUl !'iEGE, { IN !,qOGPA~ (YClOGRAPH ) 122 ,;;1 = 565 505 505 566 570 519 519 [?'j:CT<ILJCAU] )1LISTS ( IN ?RO~RA" CYClOG RAPH > 1G~ 556 57J 573 605 61 G 615 034 ~5~ 66:) 602 665 665 672 664 034 635 635 687 690 695 701 705 703 712 722 722 no 737 737 739 747 749 751 754 775 777 7SC 7e4 791 785 SCO 305 3CB 312 814 817 1113 821 913 918 92C 911 9"23 9"29 931 ?44~.46 946 948 943 949 95C 055 956 957 958 959 962 964 967 9~8 971 974 973 973 975 ~g2 932 983 986 994 984 985 1016 1022 APRAY )F CHAq { I~ ?~OGRA~ CTeleGRAPH } ~1 ~2 44 19~ 226 202 230 ~RRAY JF ~OROS { IN p'OGRA~ CYCLJG~APH } ~2 133 134 137 135 136 { 'iUIU!'1 } ~46 695 723 758 801 903 94? 951 964 976 996 802 904 942 953 965 977 1001 683 698 729 773 803 916 944 955 966 980 1011 = 29 ) ) CYCLOGRAPH 01 Cross Reference L;st;ng WRITELN PROC 20-~ay-1986 * 412 * 411 628 690 732 180 763 819 868 )( VH CPS HT( X P~~'" :iINGL" VAX Pascal V3.2-57 Page [00TAALEXA.THESISJCYCLOGRAPH.PAS;34 (5) Q2 414 431 432 433 629 639 640 645 691 701 103 108 754 733 742 743 732 794 788 789"324 825 834 840 835 311 814 905 1068 SLOCAL> J SINGLE ( IN PROGRAM CYCLOGRAPH } 336 ,. 388 388 389 395 ( IN P~OC:~URE LINE} 160 P~R'" 21:31:02 19:59:49 ~ove ) POW=~ } SINGLE ( IN PROC:)URE 589 646 110 756 795 841 603 652 715 761 808 846 397 398 219 219 220 CYCLOGRAPH ) 390 396 391 398 = 164 X PA~I'! { IN SI~GL;; FU~CTION 139 B6 X ? X PARM ~ ~,~ I~ CHAR { } } 212 21 a IN FUNCTION VALUE_INTEGER ) 235 235 ( IN FUNCTION COLUMN2_NOT_~ULL ) 245 { IN FUNCTION COLU"'N3_NOT_~ULL } 198 FU~CTION V~LUE_REAL 211 X PAR'" X PA<\~ WORDS ( 226 DOLI STS ?AAM )OLISTS PA~M ~DLlST:; O~,"1 255 .O~D3 { IN 241 2~3 X VALUE P5 { IN ~O~OS 189 189 FUNCTI~~ 192 X 212 252 IN ~UNCTION FU~CT:J~ } VALID_INTEGER} 27, 271 202 CCLUMN4_NOT_~ULL 2SQ PA,M 1(LEFT "OROS { IN FUNCTION Z9C 230 PA'l"1 SI~GLE (PI'iHT ;):.~~ )I'~:~L:: VALID_~EAL 292 } 293 { ~~ P~CC~)URE SET_~I~DOW } { ~~ .·OC~JUR= 5ET_~r~DOW } 1 ~6 1tl~ VA~ L?SECi( tUCAL}, :1~';LE 331 = .2 ( IN PROGqA~ 388 Y PAR1'1 SI~;jL" ( IN PPOC~)URE Lr~~ } Y PA~)1 SINGLE { IN ~ROCE'URE ~OV£ } 33c BO 1'>4 YBOT .lRM SI~GLf ( IN ?OCEOURE SET_.INOOW } 168 HOP oAR"1 30 ( { aUILTIN } 619 619 121 x: 20-~ay-1986 SINGL£ { IN PROCEDURE SET_WINDOW} 1~3 615 653 116 762 810 847 616 678 726 767 817 861 • ) ) ) CYCL06RAPH 01 Cross Reference Listing ZO-"ay-1986 21:31:02 20-"ay-1986 19:59:49 +-----------------------------------------------------------------------+ KEY TO REFERENCE FLAGS: I * predeclared IIIodifi ed A address of F forward declar~d :>rocedure or function L label defining reference P passed as a :>arailleter, possibly IIIodified or called R READ ooeration done W used in a wITH stateillent I I I I I I I I I +-----------------------------------------------------------------------+ VAX Pascal V3.Z-57 Page [OOTAALEXA.THESIS]CYCLOGRAPH.PAS;34 (5) 31 ) ) CYCLOGRAPH 01 Pascal COlloilation Statistics 20-May-t986 21:31:02 20-May-1986 19:59:49 VAX Pascal v3.2-57 Page [00TAALEXA.THESIS]CYCLOGAAPH.PASi34 (5) PSECT SU"I'IARY Bytes Naill! SCODE SLOCAL COM~AND Attributes 15907 25918 NOVEC,NOWRT, NOVEC, WRT, RD, EXE, SHR, RD,NOEXE,NOSHR, LCL, lCl, REl, REl, CON, CON, PIC,ALIGN(2) PIC,ALIGN(Z) QUALIFIERS PASCAL/NOOPTIMIZE/LIS/CROSS CYClOGRAPH ICHECK=(BOUNOS,NOCASE_;EL2CTORS,NOOVtRFLOW,~OPOINTERS,NOSU3RANGE) IOEBUG=(NOSY~BOLS,T~ACE6ACK) ISHCW=(O[CTIONARY,I~CLUOE,~OINLINE,HEAOER,SOURC=,STATISTIeS) I~OOPTI~IZ~ I~OENVIRONMENT ILrST=aSUSUSE~_2:( TAAL[XA.7HES.;)CYCLOGR~PH.LIS;1 2 ICROSS_REFERE~CE-' ODTA'LEX •• THESIS)CYCLOG~APH.O~J;1 ROR_Lr~IT=1: INOG_FLOATING INOMACHINE_CCOE INOOLD_VERSICN INOSTANDARD IWARNINGS IC~JECT=dSUfUSE~ COMPILER INTERNAL TIMING Phase Initialization Source Analys;s Source Listing Tree Construction Floll Analysi s Value Propagation Profit Analysi s Conte.t Analysis ~ame Faults 176 52~ )J '·1 ~ ~ Coal' Selection COM?!LATI~N :10:02.4 , }J:JI..d ·)J:CO.U iJQ:CO.Q OO:OO.J OJ:OO.) 121 :::.: !3. ~ )0:02.7 00:)5.2 11 '-::Q:~3.7 J~:Jo.5 7.3 ,1 : 11 • Ie ,-, , 2J:1 ~.J )T.TIST:C~ CPU The: i:l3Psed The: ?lqe Faults: Comoilation J~:'7.S ')1:11. __ 2155 Co~ol~te OO:10.~ ~J:J?4 00:80.J OO:JO.o OC:-]2.:> 795 1] Tr)TAl CO:G3.~ Elaosed Ti~e OJ:02.1 00:10.0 00:00.J ~~ckinq >inal C?U The CO:OO.3 ('333 Lines/~inute) 32 f ) ) EEEEE TTTTTTTTTT TTTTTTTTTT TTTTTTTTTT 2222222222222 2222222222222 2222222222222 ')1)0 0 0 OC IJ :' .J CO 0 C 0 a eece c C ecce ;ualifiers: I<E~D y y y y y y y y Y y 0 OJ 'J '1 00 0 0 0 .~ COO ecce C L L L L LLLLL ecce IF:~~=~~FAULT 0 0 0 0 000 A A A A AAAAA ., A A A A A A A A AAAU A A A A A '. "G GGG G G R q GGG R ~ RRRR ~ L L L L L L LLLLL ~ R R A A A A A A AAHA A A EEEEE E E EEEE E E HE EE "ppp ~AA RRq~ R R FFFF F F F FFFF F F F FfFFF F F FFFF F F F 0 0 0 0 0 AA/II AAA ILE~GTH=60 000 000 GG (iG 0 0 0 0 0 0 a .0 ,0 0 0 A A 000 L C DDDD D 0 D 0 0 D 0 0 0 D DODO TTTTT T T T T T T L e e e IFL.G 000 Ij JOO N N NN N N N N N NN N N N N E E EE£EE 0 e e e N N E E EEEE P P P ? ?PPP P P A P A X X X X X X X X X X X X X H H H I I I III AltA A A A A A A AUAA A A H H H HHHHH H H H H H H ILrgRARY=SYS1LI8RARY:SY5~EVCTL.TLS L L L L L L lLlll 111 1 1 A A EEEEE E E EEEE E E EEEEE N N DODO 0 N N 0 NN N 0 D N N N 0 0 NN N N N N N L L L L L L LLLLL TTTTTTTTTT TTTTTTTTTT TTTTTTTTTT 22ZZ22222ZZ222 22222222222222 22222222222222 0 0 D 0 0000 EEEEE E E EEEE E E EEEEE ssss III 1 ;i ,, S S I I I SSS ; 5 1 S 1 III. I~ARGIN=(BOTTOM.o) 1 11 1 1 1 111 SSSS ITRAILER IWIDTH=fl2 /WRAP File _S1S0UA2:(USER.JSTAAL~XA.T~E3IS]CYCL~GQAP~.LIS;1 (16743,~1,0), last revised on 20-~AY-1986 21:32, is a 179 block sequential file owned oy Ule (OOT~AL~XANOEl. The recordS are vari3Dle length with implied (CR) carriage control. The longest record is 132 aytes. JoO eYCLOGRAPH (1255) completed on printer TTTTTTTTTT TTTTTTTTTT TTTTTTTTTT 1 ?'3~50739:1 Qu~ued to LPAO on 2G-~AY-1986 21:47 oy user JOTAALcXANDE, UIe COOTAALEXANOE], under account C at priority 4, _PISC~SiLP.0: 22 2 22? 22 c: .5~7,'; '1 .~~, on 2J-~'Y-1;86 21:47 frOM queue LPAC. TTTTTTTTTT TTTTTTTTTT TTTTTTTTTT 22 22 2222222 22 22 '2~2 2222222222c2~c22222222222222222222222222222222222222222222 22 igital QU O. ~t C r~oration - VAX/V~S Version V4.3 222222222222222222222222 22 22 2222222 22 22 2222 2222222222222222222222222222222222222222222222222222222222 7 O)~ ~ ~ .}07'~ ~ :,"'~) ,7 ]'1:1 7 ~ ~~5~739·_1:' 7 8 9 J 1 2 3 ,45673901 Z34567890123456B90123456789012345073901234567S90123456789012 uuuuuuuuuu uuuuuuuuuu uuuuuuuuuu ) ) ) (~ 33~33333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333 333333333333333333333333333333 Ball State university VAXcluster VI'IS 4.3 333333333333333333333333333333 33333333333333133333333333333333333333333333333333333333333333333333333333333333333333333333333333333333 oeD GO 0 000 :J 0 0 00 000 00 0 0 d :) 0 0 0 o 00 J 0 DO TTTTT T T T T T :) 000 T AU A A A A A A AAAAA A A A A I4H HH HH HH HH ~H HH HH liH HH HH HH HHHHHHHHHH HHHHHHHHHH HH HH HH HH HH HM HH 14H nH HH 14H HH LL Ll LL LL LL LL LL LL LL LL LL LL LLLLLLLLLL LLLLLLLLLL AU. l L A A L A A L AHIIA L A A L A A LLLLL A A 000000 00 00 00 00 00 00 00 00 00 00 000000 ooooee E E EEEl: E E EEEEE .. M I'IM .. M rI ~IlIII "'' ' "'MM' ' "'1'1 .. '" "'" :011'1 "'1'1 "'1'1 1'11'1 1'11'1 1'11'1 1'1'" S5SSSSSS SSSSSSSS 55 5S 5S S5 55 SS 55 SS;,SSSS 5S5.5SSS N H NN N N N N N NN N H N N 0000 I) 0 0 0 0 0 0 0 I) 0 DODD EEEEE E E EEEE E E EEEEE EE EE EEEEE::E EEEEEEEE EE EE EE EE EEEEEEEEEE EEEEEEEEEE , ", i;;; , I " , , , I , ", SSSSSS 35SSSS N N EeEEEEHEE EEEEEEEEEE EE EE 55 II rI II II II!III X X I'IMM'" IIMI'II'I I'IM I'IM "I'" 1'1'" lIIlII A A A A A A AAAU A A A A X X X X "''''1'11'1 1'11'1 M I'IM AU )( )( 1'1'" ",1'1 X X X "I'" "'1'1 ' ' IIII!I II II II II II X X "'' ' ooaooo 00 00 00 )0 00 ')0 00 00 00 00 EEEEE UUUUUUUUUU UUUUUUUUUU UUUUUUUUUU i;;; ; ;; ; ," , ;; ; ; ;; " 11 11 1111 1111 11 11 11 11 11 11 11 11 111111 111111 Fil@ _S1SDUA2:CUSER.~CT.AL'X~.T"ESISJHO~f.LIS;1 (51264,',0), last revised on 20-~~Y-1986 21:49, is a ~ ~lock seQuential file owned" ~y ule (CJTAAL£XANDE]. T~e recoras lre variaole len.tn .ith impliea (CR) carriage control. Th@ longest record is 13Z ayt@s. Joa ~Ol'lf (1269) queued t~ L'~C on 20-~~Y-19~6 21 :50 oy user OOT~AL:XANOE, Ule (OOTAALEXANDEJ, under account C at priority 4, started on orinter _?ISC~SSLP'O: on 28-~AY-1~a6 21:50 from ~u@ue LPAO. UUUUUUUUUU !JUUJUUUUUU UUJUUUUUUU 33333>3 3333333 3333333 333 33 33 333333333333333333333333333333333333333333333333333333333333333333333 ,t l cu;o~ent :orcorltion - VAX/V~S version V4.3 333333333333333333333333 ~33 33 33 333333;3333333333333333333333333333333333333333333333333333333~333333 UUUUUUUUUU UUUUUUUUUU UUUUUUUUUU ) ) ) HOl'le Sour ce Li st; ng 1 2 3 4 5 6 7 8 o 10 11 20-I'Iay-1986 21:49:27 16-I'Iay-1986 12:23:34 ****** •• *.**.* ••• ***.*.*.*******.* ••• *.******** •• *******.**.*.******** * ** HOME is a aodule, written in COBOL ~ith language extensions, * * that clears the coaaand line area and produces the prompt * * • i) • which tells the user that he or she is in the interactive * .. * .0 de. *****.******* ••• ***********.**•• ********.**** •• *.********* ••• *******.*.* IDENTIF.CATION DIVISION. PROGRA~-IO. 12 HC~E. . TODD AUTHO~. 13 14 15 .LEXANDE~. DIVI ION. CONFlqURATION S eT!ON. SOURCE-COMPUT R. Y~~-11. ENVIRO~~E~T 16 17 13 03JECT-CO~PUT 19 20 ~. VA~-11. DATA DIVISION. ?1 SECTION. WORKI~G-STORAGE 22 LINKAGE SECTION. 23 24 25 ~6 27 ********** ••••• **** •••••• * •• ** •••• *** ••••• *** ••••• * ••••• *****.****.*** pqOCEDU~E * ~rVISION 23 29 ,0 pqOC!OU~E ?IVISION. O~OJ-"'AIN. 31 32 33 01 SPLAY ' '4 35 JI)?L.~Y 36 * .******* •••• **** •••••••• ** •••••••••••• **** ••• **** •••••••• *.**** •• ***** L1~E )I3PLlY 'i>' 0:. X :r II Lr~~ L':\'j£ , "~J~;; 4.~. 1 1. COLU~N , :OLUM~ CCLU~N 3. 1. VAX COBOL V3.2-42 Page BSUSUSER_2:[00TAALEXA.THESIS]HOl'le.COB;11 -I I ) ) HOME Cross Reference in Alphabetical Order -- OOOO-P'lAIN - HOME 20-May-1986 21:49:27 16-P'lay-1986 12:23:34 301/ 11/1 ) VAX COBOL V3.2-42 Page • BSUSUSER_2:COOTAALEXA.THESIS]HOME.COB;11 z ) ) HOME Co.pilation Su.mary VAX COBOL Y3.2-42 Page BSUSUSER_2:[OOTAALEXA.THESIS]HOME.COB;11 20-May-1986 21:49:27 16-May-1986 12:23:34 PROGRAM SECTIONS Na.e Bytes o SCODE 2 SPUTA 3 COBSNAMES _____ 2 4 COBSNAMES _____ 4 60 192 24 5 Attributes PIC PIC PIC PIC CON CON CON CON REL REL REL REL DIAGNOSTICS Infor.ational: 7 (suppressed by tom.and qualifier) COMMAND QUALIFIE.S COBOL ILIS/CROSS HO~~,"O~~2 INOCCP'_LIST I~O~ACHI~E_COD! ICROSS_REF!RENCE=ALPHASETICAL INOANSI_FORMAT INOSEQUENCS_CHECK INOMAP INOTRUNCATE INOAUOIT INOC~NOITIONALS ICHECK=(NOP~RFORM,~O)OU~DS) IOEBUG=(NOS'~30LS,TRAC~3ACK) IWARNINGS=(NOST.NCAPD,JTHER,NOINFOR~ATION) ISTANOARD=(NOSYNT~X,~GoD~11) INOFIPS STATISTICS Run Till .. : Elapsed Tille: Page Faults: Dynallit '1emory: .73 seconos 07 seconds 3 7 ~a: ~s LCL LCL LCL LCL SHR EXE SHR NOEXE SHR NOEXE SHR NOEXE RD RD RD RD NOWRT NOWRT NOWRT NOWRT Align(Z) Align(2) Align(Z) Align(Z) 3 r ) ) EEEEE uuuuuuuuuuuuuuuuuuuu uuuuuuuuuu 3333333333333 3333333333333 3333333333333 N N N N NN N N N N N NN N N N N "EEEEE E E EEEEE a a 100 000 .J 00 OJ 0 00 0 a ,J J :J a o IFEED IFLAG a 0 0 0 0 0 0 0 0 0 !l OOD 0 TTTTT T AAA A A A UA A A A A A 0 AAAAA A A T A COO H H H ii H H 000 0 a a H J H H :> IFC~~=DEFAULT 0 J :> a a 000 0 0 000 T a a HHHHH ~ualifiers: 0 T T T 00 H H H 000 0 00 0 u J<)o OODO D D 0 0 D A 14 ,'1>1 '1M '1 ~ )! 'I '1 :'1 M /I " "" '" A A A A AAAAA A A A A F F FFFF F F F f L L L L L L LLLLl EEEEE E EEHE E E EHE E E EEEee L L L L L l LlLLl E EEEE E E EEEEE III I fFFFF F FFFFF F F FFFF F I I III AH X X X X X X lC X X lC X x I I A A A A A AAAU A A A A A x S S SSS S 5 SSSS III ILENGTH=66 ILI!RARY=SYS$LI8RARY:SYSOEVCTl.TL8 EEEEE E E EEEE E l E LLLLL EEEEE N N N N NN N N NN N NN N N N N SSSS III I I I I I L L L L L r uuuuuuuuuu uuuuuuuuuu 33333333333333 33333333333333 33333333333333 UUUUUUUUUU EEEEE E D D E D D EEEE D D E D D E DDDD EEEEE DDDD 0 D " " 1 11 ; 1 ; 111 ,, t I~ARGIN:(BOTTO/l=6) ITRAILER IWIDTH=132 IWRAP File _$1SDUA2:(USER.JCTAAL~I~.T~~S!SJHJ~E.L:S;1 (51264,3,0), last revised on 20-~AY-1986 21:49, is a 8 block sequential file owned oy UIC [OOTAAlEXANDE). The recar:s Jre vari3cle length ~itn iMplied (CR) carriage control. The longest record is 132 bytes. Job HOME (1269) qUfued to LPlj on :J-~~r-19~6 21:50 oy user OOTAAlEXANDE, UIC rOOTAALEXANDEJ, under account C at priority 4, co~oleteo on printer _~ISC~:iL~~~: on 2J-~AY-1ge6 21:50 fro. queue LPAO. U'lUUuuuuuu UUUU UUUUUU uuuuuuuuuu 3333333 333 3333333 333 3333333 333 uuuuuuuuuu uuuuuuuuuu 3 333333333333 331333333333333333333333333333333333333333333333333333333333333333333 3 33 vi)ital ouio.ent Corooration - VAX/VMS Version V4.3 333333333333333333333333 3 333333333333 333333333333333333333333333333333333333333333333333333333333333333333 S 7 8 9 0 1 UUUUUUUUUU 2 3 lZ!45e7S9C1~!45~7~9~1:3450·'iCl ::~j~7~i01:3.5~7~9J1234~,7~Q01234507!901234507390'2345e7990'234S67890123456789C1234S67~90123456789C12 r ) ) (- AAAAAAAAH AAIIHAAAAA AA4AAAAAAA 55S55~555555 5~555555555S 555555 555555555 555 55555555555555555555555555555555555555555555555555555555555555 55555'5 55 'Ja II t i t university VAXcluster VMS 4.3 555555555555555555555555555555 555555 55555555, 555 55555555555355555555555555555555555555555555555555555555555555 5 :- 555555555555 AAAAAAUAA AAAAAAAAAA AUAAAAAAA / COO ,)0,; ,., J 00 ~ 0 , C ,.'. J j J TTTTT T T T T T T :J .~ ") J H~ ,,~ AA~.AA AAU~ '"'~ l • ., ~ ~ I"': 11 ~ ~ - 1-1 '1 pJ ... ,.j AAA A A A , II eEE c', E L L L L L L A A . E:~ JOOO~J "~ :JC)':J:' 'JO )G J'J :;'0 '1H so JO -.~ J: c) ... 100 ~ .... ..'" . .... . .. .... "., .... ~~ ~ ,,~ ~~ ¥ JJ '''·1 ~~ :~ .~ ~. ~ "4 ''; ... 00 ..~ CO ¥~ ,~ JCQ·JJO :,,11..,. ;..; '"':1 ~vJ')JJ ""I ,,.. - '-'- X X X X X X X X X 22 J08 1 : D 'H . : : J:: ~. =. i ; : l ( :.y .. 1: :_~"T~~L~ .. ~.~::. "J"::; 'itirt~::: ~n 1! :. ' .:. .' A.! '4" " - . ~ ~ --;;. :- ;. ~ .' (l:o'_~) lUoU'~'~ Jrint:r- :'::,-" ,2 "\ crcer;s 0" "::n 17- 22 22 22 22 22 ,I ::::1: .,:,35::35S T ... l' T T " :s~~:;s.~s u , 3S ," , ; ; ;; 22 22 22 22 22 22 2222222222 2222222222 ., •• :.;: <:151:,1-2,,:), ld1t rovis~ci on 1C-~~Y-19S6 15:3C, is 3 7 olock sequential file "reo v.rir,le Le~ot" .ith ;'1I:llied (C?) carr;dge control. The lon'~est record is 132 bytes. ,'~y-1 17- .. 222222 222222 ;; ;; " _' 22 22 2222222222 2Z22222222 ,,,, ,,,, ,,,, :; 5 e Z2 )3 , :; own-?~ .~ ,,,, ,," ; ;; ; ,,,, )..l ........ .,) Fit EEEEE ,~ HEEEEEEE EEEEEEEEE ;s ... .I. • ( 22 22 )3;~)3S ~ EEEE E E 22 :s ... - DODD C 22 22 2Z ;S,')SSS':)S )):lSSS'5S .L _LLLLLLLLL ... LLLLLL!....I..L 0 N N \·,11 :._ ;,,'f-·'~ ') 11:_~ oy ';:;er ::TAALoX4~O<, ;)rc· (OQTAALEXA>;OEJ, under account C 3t priority 4, from ·Jueue L'>"0. -: 5 : :;:. ::. : : ; ,: :;, '.J i .~ <T'. ~> .~ : ~ :: :. 5 ~ S 5 -' 5 :) ~ .., ": -) ~. - ~ :3 . ~ 555 55555 555 ~ ~ j : ~'~r::rlti.,n - : : ) IV~ i " , Vi!r'f:. 0" ) 5 '; 5 ~ 5; 5 r EEEEE E E 222222 "n22!2 !: ''''I , , ,. '_L H N E '.."" ~ D 0 D D 0 D N N N D H NH D HH EE~;£EE ~" III:!! ........... .L DDDD D 22 ". ,')0 ",,:..j N H H E'O="EEE n ,J J 1 -H H N ~ .• 4>; HH AAA A A A A A A AAAAA A A A A E E £ ".~ ~ ~~ X X E:EE=EEE': "111~"'. M"I~" l( X E~EEEEEEE ~"i 4'" "" rl~ ... oEf =~ ~ ,;H E E LLLLL A HH Ii" 4H rl .... A A 1\ A "w .,w AAA A A A A A A C 555;55 55;555555555555555555 • l 55 555555555555555555555 555555 555555555535555555555 AAAAAAAAU HAAAAAAAA UAAAAAAAA ) r ) 2 Source Listing HO~E r--· 1 ************** ••• *.*.******** ••••••••• ******.*************.*********** * 4 5 ".. ... 6 7 3 -- 15:30:32 15:30:20 2 ~ r- __ 10-~ay-19S6 'O-~ay-19S6 * * * * * HO~E: is ] ~odule, writt~n in C~8~L witn l~nqudge extensions, that clears tne commanj line area an~ ~roduces the orompt t~lls the user that ne ,r sne ;s in the programming • p> " .hien ~ode. .********~* ? * * * * * * •• **.******.* •• **** •••••• *-**** ••• *******.* **************** ID~NTIFIC~Ti1~ ~rVljro~. 1 ' DROG~~~-:~. HC~:". 13 14 AUT~OP. TC~O 1S ENVIQJNV~~T 10 CO~Fr~UR~T! 7 1" SaU~CE-:: t n ,~ " u IV: =. V~X-!1. J~J~:T-:~~~'j7 ~. V~X-l1. ) I V r S :; 'j • WORKI~G-;T:'A~~ 21. 25 LI~i(~G~ :~CT;C~. • J " :~C:::· •• •• **.*.**~.** •••••••• ~ ••••• ~~+.*.-.~ ?qCC·JU'~ ~J~C-I.A ~ _: ~.o • -; ••••••.•• *.**.**** •••• **.*.* • •• ****.********* :.: ~ 'J : : : :; ,-, *.~ ~I~l::: :. ~ >~'. ,.;. L :. V .; ~ : y :7 I ) I •••• *' •••• '**~~**. **-************** c c c ·c :'i. )t::"L;Y' ,5 -, *.- ........•. •.~ .**~.~~~.* 2::" C1 72 <' o (' o~ T A '1 , o c CT:;~. ~UT ,22. , (') c ~l~X~~0E~. !O~. : ~ 1 c 1J 11 VAX COSOL Vl.2-42 Pig. BSU$USER_Z:[OOTAALEXA.THESISlHOME2.COS;7 L.._ ." -, 1. c. • • _..J c c ( .' '" ) ) ) .... ~ -; '1";'f"'" ( r HOI'IE2 Co,"oilation 10-~ay-1986 10-~ay-1986 Su~mary 15:30:32 15:30:20 COBOL V3.2-42 , Pa'g. BSUSUSER_2:[00TAALEXA.THESISJHO"E2.COB;7 VAX Jyt~s NiJ,"~ $CODE 2 SPDATA 3 4 ~ 2 ........ ~ .r,~ ......~~"" c c -l'ROGRA/II SECTICNS o ,,~ Attributes ~) 1" 2 :4 CO,SNAMES _____ 2 COiS~AMES _____ 4 0 PIC ?IC CON CON ?Ie CG~ ~!:: C~!j (' R L R L R L ~ L LCL LCL LCL LCL SHR SH~ SHR SH~ EXE NOEXE NOEXE NOEXE RD NOWRT Align(Z) RD NOWRT Align(2) qD NOWRT Align(2) RD NOWRT Align(2) (' (" DIAS\:)STIes Inforllat i C0~~~~~ 7 (suoor-?ss-:-d an~l: ~y 'o""ndn~ 1u.il;fi~r) ( ~UAlIFI~oS C:) "i'JL IL: ~-:- "'J":, .. ~ . . :.: ,'weeOV.LrST I~OANSr r (' "jO~AC'r'::_c FCR~AT ::':' INOS~~U~~C~ "i)C'J':.'::":~:::·:C: C~ C~ I~C~.P I ',J P U 'j H < I 'I J A U 0 IT I ',0 : :- ... 0 i : ~ " ,l L : Ie ri; C<= C', C P - ~ C :l ' -, 'j':" ~ 'J 'j J , ) I ' 3 U ,; = ( j: • Y fiJi A ~ ~ J: '. GS= ( ~j G :; T ~ ~J D ,~ :; ), T --! -: J , 'f;: : \; F ,) ~ '~ ~ T : :.. N ) C v', J L S, 1'. 13T~~DAR)=(~OSY~T'~,~C~l'11) 1~0~I?~ r T ~ AC:']A CKl ( ST'T :::TlC" J"'"' .l 'un Ti:1le: ::l~DSe(~ ?3;e Ii'l'le: Flults: )Y"13'nic ""~~II<Jry: S -: C :> ~ c::: 1• :1 -: J • .2 ~ n-:: s ( - ) ., ) ( ~EC:fE 55555 5555; 55555 55555 55555 55555 AAAAAAAAAA AAA.UAAAAA ,- AAAAAAAAAA E== E~::E ~ ~ "NN N :4 'I 'I )j Ij Ijt; N I; N ~ COO ;::;~ ) JC .:-S CJJ 0 0 0 ) 0 ;) 000 ~ A A AA~A~ A " ~ , ~ FFFFf F F FFFFF F ' F FFF FFFF " F F III I I I I I f III F F F L L EEo~ L L L L 222 ~ 'J JC':':; ?uaLifien: ~il: O :: I'~:c It ·;'·::.cF':ULT IL,',:;7"=~" A AAAAA A A A A X A A X X III I I A N Ii Ii N SSSS " " c EEEEE E E ecEE E E EEEEE 55555555555555 55555555555555 55555555555555 AAAAAAAUA AUAUUU AUAUUAA (" (" ( ( 222 2 ,~:~ "J~E2 cOllol~tec :' (1o~:) T:'_~_("., '~''Je'C on :..rlrt.-!r :, c"': .. c c,'c:r-, ·Co co.' ~ 2 2 SSS 2 S S SSSS 2 Z 22222 ( IL;2R'<Y=Svc'LI:''<A'Y:Sr3!)EVCTL.TU I~ARGIN=(eOTTOI'I=6) ITRAILER IWIOTH=132 IWRAP ("1.:'1:,1:2,u), laH r'!visea on 10-'uY-1986 15:30, is a 7 !>lock seQuential file ,rel-.,i-i,LL, l."'l!h ",itn i,'Glied (en c3rr;d~e control. The longest record is 132 bytes. -n 17- '.y-~ ;:1~ L;e.~: A.A.A~';A;'A~l , l4~~A4~'\'\A .: 11:~: -;';"1 17-"·\'(-1~;·~::. ):. ;;: ";:: li!. ~ oy Js~r SJTA~Li:X"·.;~, 11:?3 frCIII Queue I.?!C. 0'3<,S5 ,S55 ~ui~~.~ Co· ~~';:5J 3,=5 ~A':'~~~;"A".l. S5 r ti 55 J!C CCOTAALEXANDE], 7 " 1 . : :. : . 7 .~" un~er account C l t priority 4, 5555555555555555555555555555555555555555555555555 - VAX/V~S V~rsion V4.3 555555555555555555555555 5j~55S555355S5555;55555555S5555555555555555555555 ~ 1 ~ _ - .', ' 1 2' :, ; " ?' ;: 1 : j ~ 5, 7 ~ '} ~ 1 2 h j c c EEEEE E E EEEE E E EEEEE 0000 0 0 0 0 0 0 0 0 0 0 0000 N N N N NN ~ N N ~ N NN S S I I I III L L L L L L LULL _\1;::.J"::~:"'.,_-_'>i'.-';-;':"J·~':._:~;~ ""'n':~" Jo~ Ir :22:2 ~ X X X L L L L L L LLLLL ~ ~ ~ AU A A X ESE:: -::-~:: ~ X X X X X X EoE LLLLL ~c ~ ! .... " ~,qAA ~ ..,nd!1rl ~ A,loA ~q '']0'''; J 0 0 0 0 0 ~ T ~ ~ 000 i) !> 0 D D DODD T T T T 'J i1 ) T :J j ~ TTTTT ,,- 0 ODD 0 D 9.J 07,9 C' 234507 H01 234'; 0 7 H ~ AAAHAAAAA AAAAAAAAAA AAHAAAAAA 3 1 2:; 4 567,9 C.1 23456789012