home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / source / luschsrc.sit / analysis.c.bin < prev    next >
MacBinary  |  1990-05-23  |  13.8 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: analysis.c.bin

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert AMOS Picture Packer (image/amosPicturePacker) ext Supported
1% dexvert Debian floppy split (archive/debianFloppySplit) ext Unsupported
1% dexvert Sound Images sound sample (audio/soundImagesSoundSample) ext Unsupported
1% dexvert DESI-III drawing (image/desiIIIDrawing) ext Unsupported
1% dexvert MS-DOS PMODE extender executable (executable/msdosPMODEExtenderExecutable) ext Unsupported
1% dexvert Alien Trilogytextures (other/alienTrilogyTextures) ext Unsupported
1% dexvert APT cache data (other/aptCacheData) ext Unsupported
1% dexvert CorelTRACE configuration (other/corelTRACEConfiguration) ext Unsupported
1% dexvert Dreamcast Disc (other/dreamcastDisc) ext Unsupported
1% dexvert EST flat binary (other/estFlatBinary) ext Unsupported
1% dexvert Finale Enigma Binary Format (other/finaleEnigmaBinaryFormat) ext Unsupported
1% dexvert Sega Genesis/Megadrive/32x ROM (other/genesisROM) ext Unsupported
1% dexvert Myth: The Fallen Lords game archive (other/mythTheFallenLordsGameArchive) ext Unsupported
1% dexvert Sound Images Sound Driver (other/soundImagesSoundDriver) ext Unsupported
1% dexvert Symantec/Norton Config (other/symantecNortonConfig) ext Unsupported
1% dexvert Vectrex ROM (other/vectrexROM) ext Unsupported
1% dexvert BIS raP encoded format (other/bisraPEncoded) ext Unsupported
1% dexvert Pascal Script binary (other/pascalScriptBinary) ext Unsupported
1% dexvert 7th Level game data archive (other/seventhLevelGameDataArchive) ext Unsupported
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Binary Text (image/binaryText) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary, Sun Jul 23 17:26:22 1989, modified Fri Jan 26 14:28:37 1990, creator Think C, type ASCII, 13870 bytes "analysis.c" default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 1 default (weak)
100% lsar MacBinary default
100% gt2 MAC Bilddatei default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 61 6e 61 6c 79 73 | 69 73 2e 63 00 00 00 00 |..analys|is.c....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 36 2e 00 | 00 00 00 a0 ef e8 7e a1 |.....6..|......~.|
|00000060| e6 55 65 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.Ue.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000d0| 2a 0d 20 2a 09 61 6e 61 | 6c 79 73 69 73 2e 63 0d |*. *.ana|lysis.c.|
|000000e0| 20 2a 0d 20 2a 09 43 6f | 6c 6f 72 20 50 61 69 72 | *. *.Co|lor Pair|
|000000f0| 20 41 6e 61 6c 79 73 69 | 73 20 50 61 63 6b 61 67 | Analysi|s Packag|
|00000100| 65 0d 20 2a 0d 20 2a 09 | 57 72 69 74 74 65 6e 20 |e. *. *.|Written |
|00000110| 62 79 20 50 61 63 6f 20 | 58 61 6e 64 65 72 20 4e |by Paco |Xander N|
|00000120| 61 74 68 61 6e 0d 20 2a | 09 a9 31 39 39 30 2c 20 |athan. *|..1990, |
|00000130| 4d 6f 74 6f 72 6f 6c 61 | 20 49 6e 63 2e 20 20 50 |Motorola| Inc. P|
|00000140| 75 62 6c 69 63 20 64 6f | 6d 61 69 6e 20 73 6f 75 |ublic do|main sou|
|00000150| 72 63 65 20 63 6f 64 65 | 2e 0d 20 2a 2a 2a 2a 2a |rce code|.. *****|
|00000160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2f 0d 0d 23 69 |********|***/..#i|
|000001b0| 6e 63 6c 75 64 65 20 22 | 61 70 70 6c 69 63 2e 68 |nclude "|applic.h|
|000001c0| 22 0d 23 69 6e 63 6c 75 | 64 65 20 22 77 69 6e 64 |".#inclu|de "wind|
|000001d0| 6f 77 2e 68 22 0d 23 69 | 6e 63 6c 75 64 65 20 22 |ow.h".#i|nclude "|
|000001e0| 64 69 61 6c 6f 67 2e 68 | 22 0d 23 69 6e 63 6c 75 |dialog.h|".#inclu|
|000001f0| 64 65 20 22 74 65 78 74 | 2e 68 22 0d 23 69 6e 63 |de "text|.h".#inc|
|00000200| 6c 75 64 65 20 22 73 74 | 72 69 6e 67 2e 68 22 0d |lude "st|ring.h".|
|00000210| 0d 23 69 6e 63 6c 75 64 | 65 20 22 74 65 73 74 2e |.#includ|e "test.|
|00000220| 68 22 0d 23 69 6e 63 6c | 75 64 65 20 22 67 6e 6f |h".#incl|ude "gno|
|00000230| 73 69 73 2e 68 22 0d 23 | 69 6e 63 6c 75 64 65 20 |sis.h".#|include |
|00000240| 22 61 6e 61 6c 79 73 69 | 73 2e 68 22 0d 0d 0d 23 |"analysi|s.h"...#|
|00000250| 64 65 66 69 6e 65 20 4c | 49 4e 45 48 45 49 47 48 |define L|INEHEIGH|
|00000260| 54 09 32 30 0d 0d 0d 2f | 2a 20 45 78 74 65 72 6e |T.20.../|* Extern|
|00000270| 61 6c 20 44 61 74 61 20 | 53 74 72 75 63 74 75 72 |al Data |Structur|
|00000280| 65 73 0d 20 2a 2f 0d 47 | 6e 6f 73 44 61 74 61 0d |es. */.G|nosData.|
|00000290| 09 61 6e 61 6c 47 6e 6f | 73 42 75 66 3b 0d 0d 0d |.analGno|sBuf;...|
|000002a0| 2f 2a 20 4c 6f 63 61 6c | 20 44 61 74 61 20 53 74 |/* Local| Data St|
|000002b0| 72 75 63 74 75 72 65 73 | 0d 20 2a 2f 0d 0d 0d 2f |ructures|. */.../|
|000002c0| 2a 20 4c 6f 63 61 6c 20 | 46 75 6e 63 74 69 6f 6e |* Local |Function|
|000002d0| 20 50 72 6f 74 6f 74 79 | 70 65 73 0d 20 2a 2f 0d | Prototy|pes. */.|
|000002e0| 23 69 66 64 65 66 20 50 | 52 4f 54 4f 54 59 50 45 |#ifdef P|ROTOTYPE|
|000002f0| 53 0d 23 65 6e 64 69 66 | 0d 0d 0d 2f 2a 20 41 6e |S.#endif|.../* An|
|00000300| 61 6c 79 7a 65 20 6f 6e | 65 20 70 61 73 73 20 74 |alyze on|e pass t|
|00000310| 68 72 6f 75 67 68 20 61 | 64 6a 61 63 65 6e 74 20 |hrough a|djacent |
|00000320| 63 6f 6c 6f 72 20 70 61 | 69 72 69 6e 67 73 0d 20 |color pa|irings. |
|00000330| 2a 2f 0d 76 6f 69 64 0d | 41 6e 61 6c 50 61 73 73 |*/.void.|AnalPass|
|00000340| 20 28 74 68 65 50 61 73 | 73 29 0d 09 72 65 67 69 | (thePas|s)..regi|
|00000350| 73 74 65 72 20 57 4f 52 | 44 20 74 68 65 50 61 73 |ster WOR|D thePas|
|00000360| 73 3b 0d 7b 0d 09 72 65 | 67 69 73 74 65 72 20 57 |s;.{..re|gister W|
|00000370| 4f 52 44 20 69 3b 0d 0d | 09 66 6f 72 20 28 69 20 |ORD i;..|.for (i |
|00000380| 3d 20 30 3b 20 69 20 3c | 20 4d 41 58 50 41 44 3b |= 0; i <| MAXPAD;|
|00000390| 20 69 2b 2b 29 20 7b 0d | 09 09 61 6e 61 6c 47 6e | i++) {.|..analGn|
|000003a0| 6f 73 42 75 66 2e 63 6f | 6c 6f 72 5b 74 68 65 50 |osBuf.co|lor[theP|
|000003b0| 61 73 73 5d 5b 74 65 73 | 74 50 61 64 5b 69 5d 2e |ass][tes|tPad[i].|
|000003c0| 6f 72 64 65 72 5d 20 3d | 20 74 65 73 74 50 61 64 |order] =| testPad|
|000003d0| 5b 69 5d 2e 63 6f 6c 6f | 72 20 2d 20 32 20 2b 20 |[i].colo|r - 2 + |
|000003e0| 27 30 27 3b 0d 0d 09 09 | 69 66 20 28 61 6e 61 6c |'0';....|if (anal|
|000003f0| 47 6e 6f 73 42 75 66 2e | 63 6f 6c 6f 72 5b 74 68 |GnosBuf.|color[th|
|00000400| 65 50 61 73 73 5d 5b 74 | 65 73 74 50 61 64 5b 69 |ePass][t|estPad[i|
|00000410| 5d 2e 6f 72 64 65 72 5d | 20 3d 3d 20 27 38 27 29 |].order]| == '8')|
|00000420| 0d 09 09 09 61 6e 61 6c | 47 6e 6f 73 42 75 66 2e |....anal|GnosBuf.|
|00000430| 63 6f 6c 6f 72 5b 74 68 | 65 50 61 73 73 5d 5b 74 |color[th|ePass][t|
|00000440| 65 73 74 50 61 64 5b 69 | 5d 2e 6f 72 64 65 72 5d |estPad[i|].order]|
|00000450| 20 3d 20 27 30 27 3b 0d | 09 7d 0d 7d 0d 0d 0d 2f | = '0';.|.}.}.../|
|00000460| 2a 20 53 63 6f 72 65 20 | 6d 61 74 63 68 65 73 20 |* Score |matches |
|00000470| 62 65 74 77 65 65 6e 20 | 74 68 65 20 74 77 6f 20 |between |the two |
|00000480| 70 61 73 73 65 73 0d 20 | 2a 2f 0d 76 6f 69 64 0d |passes. |*/.void.|
|00000490| 41 6e 61 6c 50 61 69 72 | 73 20 28 29 0d 7b 0d 09 |AnalPair|s ().{..|
|000004a0| 72 65 67 69 73 74 65 72 | 20 57 4f 52 44 20 69 2c |register| WORD i,|
|000004b0| 20 6a 3b 0d 0d 09 2f 2a | 20 53 63 6f 72 65 20 65 | j;.../*| Score e|
|000004c0| 61 63 68 20 74 65 73 74 | 50 61 73 73 31 20 70 61 |ach test|Pass1 pa|
|000004d0| 69 72 20 62 79 20 6c 6f | 6f 6b 69 6e 67 20 75 70 |ir by lo|oking up|
|000004e0| 20 69 74 73 20 69 64 65 | 6e 74 69 63 61 6c 20 70 | its ide|ntical p|
|000004f0| 61 69 72 20 6f 72 20 74 | 72 61 6e 73 70 6f 73 65 |air or t|ranspose|
|00000500| 0d 09 20 2a 20 69 6e 20 | 74 65 73 74 50 61 73 73 |.. * in |testPass|
|00000510| 30 0d 09 20 2a 2f 0d 09 | 66 6f 72 20 28 69 20 3d |0.. */..|for (i =|
|00000520| 20 30 3b 20 69 20 3c 20 | 28 4d 41 58 50 41 44 20 | 0; i < |(MAXPAD |
|00000530| 2d 20 31 29 3b 20 69 2b | 2b 29 20 7b 0d 09 09 61 |- 1); i+|+) {...a|
|00000540| 6e 61 6c 47 6e 6f 73 42 | 75 66 2e 70 61 69 72 5b |nalGnosB|uf.pair[|
|00000550| 74 65 73 74 50 61 73 73 | 31 5d 5b 69 5d 20 3d 20 |testPass|1][i] = |
|00000560| 70 72 44 69 66 66 65 72 | 65 6e 74 3b 0d 0d 09 09 |prDiffer|ent;....|
|00000570| 66 6f 72 20 28 6a 20 3d | 20 30 3b 20 6a 20 3c 20 |for (j =| 0; j < |
|00000580| 28 4d 41 58 50 41 44 20 | 2d 20 31 29 3b 20 6a 2b |(MAXPAD |- 1); j+|
|00000590| 2b 29 20 7b 0d 09 09 09 | 69 66 20 28 28 61 6e 61 |+) {....|if ((ana|
|000005a0| 6c 47 6e 6f 73 42 75 66 | 2e 63 6f 6c 6f 72 5b 74 |lGnosBuf|.color[t|
|000005b0| 65 73 74 50 61 73 73 31 | 5d 5b 69 5d 20 3d 3d 20 |estPass1|][i] == |
|000005c0| 61 6e 61 6c 47 6e 6f 73 | 42 75 66 2e 63 6f 6c 6f |analGnos|Buf.colo|
|000005d0| 72 5b 74 65 73 74 50 61 | 73 73 30 5d 5b 6a 5d 29 |r[testPa|ss0][j])|
|000005e0| 20 26 26 20 28 61 6e 61 | 6c 47 6e 6f 73 42 75 66 | && (ana|lGnosBuf|
|000005f0| 2e 63 6f 6c 6f 72 5b 74 | 65 73 74 50 61 73 73 31 |.color[t|estPass1|
|00000600| 5d 5b 69 20 2b 20 31 5d | 20 3d 3d 20 61 6e 61 6c |][i + 1]| == anal|
|00000610| 47 6e 6f 73 42 75 66 2e | 63 6f 6c 6f 72 5b 74 65 |GnosBuf.|color[te|
|00000620| 73 74 50 61 73 73 30 5d | 5b 6a 20 2b 20 31 5d 29 |stPass0]|[j + 1])|
|00000630| 29 0d 09 09 09 09 61 6e | 61 6c 47 6e 6f 73 42 75 |).....an|alGnosBu|
|00000640| 66 2e 70 61 69 72 5b 74 | 65 73 74 50 61 73 73 31 |f.pair[t|estPass1|
|00000650| 5d 5b 69 5d 20 3d 20 70 | 72 49 64 65 6e 74 69 63 |][i] = p|rIdentic|
|00000660| 61 6c 3b 0d 09 09 09 65 | 6c 73 65 20 69 66 20 28 |al;....e|lse if (|
|00000670| 28 61 6e 61 6c 47 6e 6f | 73 42 75 66 2e 63 6f 6c |(analGno|sBuf.col|
|00000680| 6f 72 5b 74 65 73 74 50 | 61 73 73 31 5d 5b 69 5d |or[testP|ass1][i]|
|00000690| 20 3d 3d 20 61 6e 61 6c | 47 6e 6f 73 42 75 66 2e | == anal|GnosBuf.|
|000006a0| 63 6f 6c 6f 72 5b 74 65 | 73 74 50 61 73 73 30 5d |color[te|stPass0]|
|000006b0| 5b 6a 20 2b 20 31 5d 29 | 20 26 26 20 28 61 6e 61 |[j + 1])| && (ana|
|000006c0| 6c 47 6e 6f 73 42 75 66 | 2e 63 6f 6c 6f 72 5b 74 |lGnosBuf|.color[t|
|000006d0| 65 73 74 50 61 73 73 31 | 5d 5b 69 20 2b 20 31 5d |estPass1|][i + 1]|
|000006e0| 20 3d 3d 20 61 6e 61 6c | 47 6e 6f 73 42 75 66 2e | == anal|GnosBuf.|
|000006f0| 63 6f 6c 6f 72 5b 74 65 | 73 74 50 61 73 73 30 5d |color[te|stPass0]|
|00000700| 5b 6a 5d 29 29 0d 09 09 | 09 09 61 6e 61 6c 47 6e |[j]))...|..analGn|
|00000710| 6f 73 42 75 66 2e 70 61 | 69 72 5b 74 65 73 74 50 |osBuf.pa|ir[testP|
|00000720| 61 73 73 31 5d 5b 69 5d | 20 3d 20 70 72 54 72 61 |ass1][i]| = prTra|
|00000730| 6e 73 70 6f 73 65 3b 0d | 09 09 7d 0d 09 7d 0d 09 |nspose;.|..}..}..|
|00000740| 0d 09 2f 2a 20 53 63 6f | 72 65 20 65 61 63 68 20 |../* Sco|re each |
|00000750| 74 65 73 74 50 61 73 73 | 30 20 70 61 69 72 20 62 |testPass|0 pair b|
|00000760| 79 20 6c 6f 6f 6b 69 6e | 67 20 75 70 20 69 74 73 |y lookin|g up its|
|00000770| 20 69 64 65 6e 74 69 63 | 61 6c 20 70 61 69 72 20 | identic|al pair |
|00000780| 6f 72 20 74 72 61 6e 73 | 70 6f 73 65 0d 09 20 2a |or trans|pose.. *|
|00000790| 20 69 6e 20 74 65 73 74 | 50 61 73 73 31 0d 09 20 | in test|Pass1.. |
|000007a0| 2a 2f 0d 09 66 6f 72 20 | 28 69 20 3d 20 30 3b 20 |*/..for |(i = 0; |
|000007b0| 69 20 3c 20 28 4d 41 58 | 50 41 44 20 2d 20 31 29 |i < (MAX|PAD - 1)|
|000007c0| 3b 20 69 2b 2b 29 20 7b | 0d 09 09 61 6e 61 6c 47 |; i++) {|...analG|
|000007d0| 6e 6f 73 42 75 66 2e 70 | 61 69 72 5b 74 65 73 74 |nosBuf.p|air[test|
|000007e0| 50 61 73 73 30 5d 5b 69 | 5d 20 3d 20 70 72 44 69 |Pass0][i|] = prDi|
|000007f0| 66 66 65 72 65 6e 74 3b | 0d 0d 09 09 66 6f 72 20 |fferent;|....for |
|00000800| 28 6a 20 3d 20 30 3b 20 | 6a 20 3c 20 28 4d 41 58 |(j = 0; |j < (MAX|
|00000810| 50 41 44 20 2d 20 31 29 | 3b 20 6a 2b 2b 29 20 7b |PAD - 1)|; j++) {|
|00000820| 0d 09 09 09 69 66 20 28 | 28 61 6e 61 6c 47 6e 6f |....if (|(analGno|
|00000830| 73 42 75 66 2e 63 6f 6c | 6f 72 5b 74 65 73 74 50 |sBuf.col|or[testP|
|00000840| 61 73 73 30 5d 5b 69 5d | 20 3d 3d 20 61 6e 61 6c |ass0][i]| == anal|
|00000850| 47 6e 6f 73 42 75 66 2e | 63 6f 6c 6f 72 5b 74 65 |GnosBuf.|color[te|
|00000860| 73 74 50 61 73 73 31 5d | 5b 6a 5d 29 20 26 26 20 |stPass1]|[j]) && |
|00000870| 28 61 6e 61 6c 47 6e 6f | 73 42 75 66 2e 63 6f 6c |(analGno|sBuf.col|
|00000880| 6f 72 5b 74 65 73 74 50 | 61 73 73 30 5d 5b 69 20 |or[testP|ass0][i |
|00000890| 2b 20 31 5d 20 3d 3d 20 | 61 6e 61 6c 47 6e 6f 73 |+ 1] == |analGnos|
|000008a0| 42 75 66 2e 63 6f 6c 6f | 72 5b 74 65 73 74 50 61 |Buf.colo|r[testPa|
|000008b0| 73 73 31 5d 5b 6a 20 2b | 20 31 5d 29 29 0d 09 09 |ss1][j +| 1]))...|
|000008c0| 09 09 61 6e 61 6c 47 6e | 6f 73 42 75 66 2e 70 61 |..analGn|osBuf.pa|
|000008d0| 69 72 5b 74 65 73 74 50 | 61 73 73 30 5d 5b 69 5d |ir[testP|ass0][i]|
|000008e0| 20 3d 20 70 72 49 64 65 | 6e 74 69 63 61 6c 3b 0d | = prIde|ntical;.|
|000008f0| 09 09 09 65 6c 73 65 20 | 69 66 20 28 28 61 6e 61 |...else |if ((ana|
|00000900| 6c 47 6e 6f 73 42 75 66 | 2e 63 6f 6c 6f 72 5b 74 |lGnosBuf|.color[t|
|00000910| 65 73 74 50 61 73 73 30 | 5d 5b 69 5d 20 3d 3d 20 |estPass0|][i] == |
|00000920| 61 6e 61 6c 47 6e 6f 73 | 42 75 66 2e 63 6f 6c 6f |analGnos|Buf.colo|
|00000930| 72 5b 74 65 73 74 50 61 | 73 73 31 5d 5b 6a 20 2b |r[testPa|ss1][j +|
|00000940| 20 31 5d 29 20 26 26 20 | 28 61 6e 61 6c 47 6e 6f | 1]) && |(analGno|
|00000950| 73 42 75 66 2e 63 6f 6c | 6f 72 5b 74 65 73 74 50 |sBuf.col|or[testP|
|00000960| 61 73 73 30 5d 5b 69 20 | 2b 20 31 5d 20 3d 3d 20 |ass0][i |+ 1] == |
|00000970| 61 6e 61 6c 47 6e 6f 73 | 42 75 66 2e 63 6f 6c 6f |analGnos|Buf.colo|
|00000980| 72 5b 74 65 73 74 50 61 | 73 73 31 5d 5b 6a 5d 29 |r[testPa|ss1][j])|
|00000990| 29 0d 09 09 09 09 61 6e | 61 6c 47 6e 6f 73 42 75 |).....an|alGnosBu|
|000009a0| 66 2e 70 61 69 72 5b 74 | 65 73 74 50 61 73 73 30 |f.pair[t|estPass0|
|000009b0| 5d 5b 69 5d 20 3d 20 70 | 72 54 72 61 6e 73 70 6f |][i] = p|rTranspo|
|000009c0| 73 65 3b 0d 09 09 7d 0d | 09 7d 0d 0d 09 61 6e 61 |se;...}.|.}...ana|
|000009d0| 6c 47 6e 6f 73 42 75 66 | 2e 70 61 69 72 5b 74 65 |lGnosBuf|.pair[te|
|000009e0| 73 74 50 61 73 73 30 5d | 5b 4d 41 58 50 41 44 20 |stPass0]|[MAXPAD |
|000009f0| 2d 20 31 5d 20 3d 20 70 | 72 44 69 66 66 65 72 65 |- 1] = p|rDiffere|
|00000a00| 6e 74 3b 0d 09 61 6e 61 | 6c 47 6e 6f 73 42 75 66 |nt;..ana|lGnosBuf|
|00000a10| 2e 70 61 69 72 5b 74 65 | 73 74 50 61 73 73 31 5d |.pair[te|stPass1]|
|00000a20| 5b 4d 41 58 50 41 44 20 | 2d 20 31 5d 20 3d 20 70 |[MAXPAD |- 1] = p|
|00000a30| 72 44 69 66 66 65 72 65 | 6e 74 3b 0d 7d 0d 0d 0d |rDiffere|nt;.}...|
|00000a40| 2f 2a 20 44 65 74 65 72 | 6d 69 6e 65 20 74 68 65 |/* Deter|mine the|
|00000a50| 20 6d 61 72 6b 73 20 66 | 6f 72 20 74 68 65 20 67 | marks f|or the g|
|00000a60| 69 76 65 6e 20 63 6f 6c | 6f 72 20 74 65 73 74 20 |iven col|or test |
|00000a70| 70 61 73 73 0d 20 2a 2f | 0d 76 6f 69 64 0d 41 6e |pass. */|.void.An|
|00000a80| 61 6c 4d 61 72 6b 73 20 | 28 74 68 65 50 61 73 73 |alMarks |(thePass|
|00000a90| 29 0d 09 72 65 67 69 73 | 74 65 72 20 57 4f 52 44 |)..regis|ter WORD|
|00000aa0| 20 74 68 65 50 61 73 73 | 3b 0d 7b 0d 09 72 65 67 | thePass|;.{..reg|
|00000ab0| 69 73 74 65 72 20 57 4f | 52 44 20 69 3b 0d 0d 09 |ister WO|RD i;...|
|00000ac0| 2f 2a 20 4d 61 72 6b 20 | 61 6c 6c 20 74 68 65 20 |/* Mark |all the |
|00000ad0| 72 65 6d 61 69 6e 69 6e | 67 20 77 69 74 68 20 27 |remainin|g with '|
|00000ae0| 3d 27 0d 09 20 2a 2f 0d | 09 66 6f 72 20 28 69 20 |='.. */.|.for (i |
|00000af0| 3d 20 30 3b 20 69 20 3c | 20 4d 41 58 50 41 44 3b |= 0; i <| MAXPAD;|
|00000b00| 20 69 2b 2b 29 0d 09 09 | 61 6e 61 6c 47 6e 6f 73 | i++)...|analGnos|
|00000b10| 42 75 66 2e 6d 61 72 6b | 5b 74 68 65 50 61 73 73 |Buf.mark|[thePass|
|00000b20| 5d 5b 69 5d 20 3d 20 27 | 3d 27 3b 0d 0d 09 2f 2a |][i] = '|=';.../*|
|00000b30| 20 4c 61 73 74 20 73 69 | 6e 67 6c 65 20 6f 72 20 | Last si|ngle or |
|00000b40| 70 61 69 72 20 69 73 20 | 27 2d 27 0d 09 20 2a 2f |pair is |'-'.. */|
|00000b50| 0d 09 69 20 3d 20 4d 41 | 58 50 41 44 20 2d 20 31 |..i = MA|XPAD - 1|
|00000b60| 3b 0d 09 61 6e 61 6c 47 | 6e 6f 73 42 75 66 2e 6d |;..analG|nosBuf.m|
|00000b70| 61 72 6b 5b 74 68 65 50 | 61 73 73 5d 5b 69 2d 2d |ark[theP|ass][i--|
|00000b80| 5d 20 3d 20 27 2d 27 3b | 0d 09 0d 09 69 66 20 28 |] = '-';|....if (|
|00000b90| 61 6e 61 6c 47 6e 6f 73 | 42 75 66 2e 70 61 69 72 |analGnos|Buf.pair|
|00000ba0| 5b 74 68 65 50 61 73 73 | 5d 5b 69 5d 20 21 3d 20 |[thePass|][i] != |
|00000bb0| 70 72 44 69 66 66 65 72 | 65 6e 74 29 0d 09 09 61 |prDiffer|ent)...a|
|00000bc0| 6e 61 6c 47 6e 6f 73 42 | 75 66 2e 6d 61 72 6b 5b |nalGnosB|uf.mark[|
|00000bd0| 74 68 65 50 61 73 73 5d | 5b 69 5d 20 3d 20 27 2d |thePass]|[i] = '-|
|00000be0| 27 3b 0d 0d 09 2f 2a 20 | 46 69 72 73 74 20 73 69 |';.../* |First si|
|00000bf0| 6e 67 6c 65 20 6f 72 20 | 70 61 69 72 20 69 73 20 |ngle or |pair is |
|00000c00| 27 2b 27 0d 09 20 2a 2f | 0d 09 69 20 3d 20 30 3b |'+'.. */|..i = 0;|
|00000c10| 0d 09 61 6e 61 6c 47 6e | 6f 73 42 75 66 2e 6d 61 |..analGn|osBuf.ma|
|00000c20| 72 6b 5b 74 68 65 50 61 | 73 73 5d 5b 69 5d 20 3d |rk[thePa|ss][i] =|
|00000c30| 20 27 2b 27 3b 0d 0d 09 | 69 66 20 28 61 6e 61 6c | '+';...|if (anal|
|00000c40| 47 6e 6f 73 42 75 66 2e | 70 61 69 72 5b 74 68 65 |GnosBuf.|pair[the|
|00000c50| 50 61 73 73 5d 5b 69 5d | 20 21 3d 20 70 72 44 69 |Pass][i]| != prDi|
|00000c60| 66 66 65 72 65 6e 74 29 | 20 7b 0d 09 09 69 2b 2b |fferent)| {...i++|
|00000c70| 3b 0d 09 09 61 6e 61 6c | 47 6e 6f 73 42 75 66 2e |;...anal|GnosBuf.|
|00000c80| 6d 61 72 6b 5b 74 68 65 | 50 61 73 73 5d 5b 69 5d |mark[the|Pass][i]|
|00000c90| 20 3d 20 27 2b 27 3b 0d | 09 7d 0d 0d 09 2f 2a 20 | = '+';.|.}.../* |
|00000ca0| 53 65 63 6f 6e 64 20 73 | 69 6e 67 6c 65 20 6f 72 |Second s|ingle or|
|00000cb0| 20 70 61 69 72 20 69 73 | 20 27 78 27 3b 20 74 72 | pair is| 'x'; tr|
|00000cc0| 79 20 74 6f 20 75 73 65 | 20 74 68 69 73 20 70 61 |y to use| this pa|
|00000cd0| 69 72 20 69 66 20 70 6f | 73 73 69 62 6c 65 20 74 |ir if po|ssible t|
|00000ce0| 6f 0d 09 20 2a 20 70 72 | 65 76 65 6e 74 20 66 72 |o.. * pr|event fr|
|00000cf0| 61 67 6d 65 6e 74 61 74 | 69 6f 6e 2e 2e 2e 0d 09 |agmentat|ion.....|
|00000d00| 20 2a 2f 0d 09 69 2b 2b | 3b 0d 09 61 6e 61 6c 47 | */..i++|;..analG|
|00000d10| 6e 6f 73 42 75 66 2e 6d | 61 72 6b 5b 74 68 65 50 |nosBuf.m|ark[theP|
|00000d20| 61 73 73 5d 5b 69 5d 20 | 3d 20 27 78 27 3b 0d 09 |ass][i] |= 'x';..|
|00000d30| 0d 09 69 66 20 28 61 6e | 61 6c 47 6e 6f 73 42 75 |..if (an|alGnosBu|
|00000d40| 66 2e 70 61 69 72 5b 74 | 68 65 50 61 73 73 5d 5b |f.pair[t|hePass][|
|00000d50| 69 5d 20 21 3d 20 70 72 | 44 69 66 66 65 72 65 6e |i] != pr|Differen|
|00000d60| 74 29 20 7b 0d 09 09 69 | 2b 2b 3b 0d 09 09 61 6e |t) {...i|++;...an|
|00000d70| 61 6c 47 6e 6f 73 42 75 | 66 2e 6d 61 72 6b 5b 74 |alGnosBu|f.mark[t|
|00000d80| 68 65 50 61 73 73 5d 5b | 69 5d 20 3d 20 27 78 27 |hePass][|i] = 'x'|
|00000d90| 3b 0d 09 7d 0d 7d 0d 0d | 0d 2f 2a 20 44 65 74 65 |;..}.}..|./* Dete|
|00000da0| 72 6d 69 6e 65 20 74 68 | 65 20 61 6e 78 69 65 74 |rmine th|e anxiet|
|00000db0| 79 20 6d 61 72 6b 73 20 | 66 6f 72 20 74 68 65 20 |y marks |for the |
|00000dc0| 67 69 76 65 6e 20 63 6f | 6c 6f 72 20 74 65 73 74 |given co|lor test|
|00000dd0| 20 70 61 73 73 0d 20 2a | 2f 0d 76 6f 69 64 0d 41 | pass. *|/.void.A|
|00000de0| 6e 61 6c 41 6e 67 73 74 | 20 28 74 68 65 50 61 73 |nalAngst| (thePas|
|00000df0| 73 29 0d 09 72 65 67 69 | 73 74 65 72 20 57 4f 52 |s)..regi|ster WOR|
|00000e00| 44 20 74 68 65 50 61 73 | 73 3b 0d 7b 0d 09 72 65 |D thePas|s;.{..re|
|00000e10| 67 69 73 74 65 72 20 42 | 6f 6f 6c 65 61 6e 20 78 |gister B|oolean x|
|00000e20| 46 6f 75 6e 64 20 3d 20 | 46 41 4c 53 45 3b 0d 09 |Found = |FALSE;..|
|00000e30| 72 65 67 69 73 74 65 72 | 20 57 4f 52 44 20 69 2c |register| WORD i,|
|00000e40| 20 6a 3b 0d 0d 09 2f 2a | 20 43 6c 65 61 72 20 74 | j;.../*| Clear t|
|00000e50| 68 65 20 61 6e 78 69 65 | 74 79 20 70 6f 73 69 74 |he anxie|ty posit|
|00000e60| 69 6f 6e 73 0d 09 20 2a | 2f 0d 09 61 6e 61 6c 47 |ions.. *|/..analG|
|00000e70| 6e 6f 73 42 75 66 2e 74 | 6f 74 61 6c 5b 74 68 65 |nosBuf.t|otal[the|
|00000e80| 50 61 73 73 5d 20 3d 20 | 30 3b 0d 0d 09 66 6f 72 |Pass] = |0;...for|
|00000e90| 20 28 69 20 3d 20 30 3b | 20 69 20 3c 20 4d 41 58 | (i = 0;| i < MAX|
|00000ea0| 50 41 44 3b 20 69 2b 2b | 29 20 7b 0d 09 09 61 6e |PAD; i++|) {...an|
|00000eb0| 61 6c 47 6e 6f 73 42 75 | 66 2e 61 6e 78 69 65 74 |alGnosBu|f.anxiet|
|00000ec0| 79 5b 74 68 65 50 61 73 | 73 5d 5b 69 5d 20 3d 20 |y[thePas|s][i] = |
|00000ed0| 27 ca 27 3b 0d 09 09 61 | 6e 61 6c 47 6e 6f 73 42 |'.';...a|nalGnosB|
|00000ee0| 75 66 2e 73 74 72 65 73 | 73 5b 74 68 65 50 61 73 |uf.stres|s[thePas|
|00000ef0| 73 5d 5b 69 5d 20 3d 20 | 27 ca 27 3b 0d 09 7d 0d |s][i] = |'.';..}.|
|00000f00| 0d 09 2f 2a 20 43 68 65 | 63 6b 20 66 6f 72 20 62 |../* Che|ck for b|
|00000f10| 61 73 69 63 20 63 6f 6c | 6f 72 73 20 69 6e 20 74 |asic col|ors in t|
|00000f20| 68 65 20 6c 61 73 74 20 | 74 68 72 65 65 20 70 6f |he last |three po|
|00000f30| 73 69 74 69 6f 6e 73 0d | 09 20 2a 2f 0d 09 66 6f |sitions.|. */..fo|
|00000f40| 72 20 28 69 20 3d 20 4d | 41 58 50 41 44 20 2d 20 |r (i = M|AXPAD - |
|00000f50| 33 3b 20 69 20 3c 20 4d | 41 58 50 41 44 3b 20 69 |3; i < M|AXPAD; i|
|00000f60| 2b 2b 29 20 7b 0d 09 09 | 69 66 20 28 28 61 6e 61 |++) {...|if ((ana|
|00000f70| 6c 47 6e 6f 73 42 75 66 | 2e 63 6f 6c 6f 72 5b 74 |lGnosBuf|.color[t|
|00000f80| 68 65 50 61 73 73 5d 5b | 69 5d 20 3d 3d 20 27 31 |hePass][|i] == '1|
|00000f90| 27 29 20 7c 7c 20 28 61 | 6e 61 6c 47 6e 6f 73 42 |') || (a|nalGnosB|
|00000fa0| 75 66 2e 63 6f 6c 6f 72 | 5b 74 68 65 50 61 73 73 |uf.color|[thePass|
|00000fb0| 5d 5b 69 5d 20 3d 3d 20 | 27 32 27 29 20 7c 7c 0d |][i] == |'2') ||.|
|00000fc0| 09 09 09 09 28 61 6e 61 | 6c 47 6e 6f 73 42 75 66 |....(ana|lGnosBuf|
|00000fd0| 2e 63 6f 6c 6f 72 5b 74 | 68 65 50 61 73 73 5d 5b |.color[t|hePass][|
|00000fe0| 69 5d 20 3d 3d 20 27 33 | 27 29 20 7c 7c 20 28 61 |i] == '3|') || (a|
|00000ff0| 6e 61 6c 47 6e 6f 73 42 | 75 66 2e 63 6f 6c 6f 72 |nalGnosB|uf.color|
|00001000| 5b 74 68 65 50 61 73 73 | 5d 5b 69 5d 20 3d 3d 20 |[thePass|][i] == |
|00001010| 27 34 27 29 29 20 7b 0d | 09 09 09 66 6f 72 20 28 |'4')) {.|...for (|
|00001020| 6a 20 3d 20 69 3b 20 6a | 20 3c 20 4d 41 58 50 41 |j = i; j| < MAXPA|
|00001030| 44 3b 20 6a 2b 2b 29 20 | 7b 0d 09 09 09 09 61 6e |D; j++) |{.....an|
|00001040| 61 6c 47 6e 6f 73 42 75 | 66 2e 6d 61 72 6b 5b 74 |alGnosBu|f.mark[t|
|00001050| 68 65 50 61 73 73 5d 5b | 6a 5d 20 3d 20 27 2d 27 |hePass][|j] = '-'|
|00001060| 3b 0d 09 09 09 09 61 6e | 61 6c 47 6e 6f 73 42 75 |;.....an|alGnosBu|
|00001070| 66 2e 61 6e 78 69 65 74 | 79 5b 74 68 65 50 61 73 |f.anxiet|y[thePas|
|00001080| 73 5d 5b 6a 5d 20 3d 20 | 27 41 27 3b 0d 09 09 09 |s][j] = |'A';....|
|00001090| 7d 0d 0d 09 09 09 61 6e | 61 6c 47 6e 6f 73 42 75 |}.....an|alGnosBu|
|000010a0| 66 2e 61 6e 78 69 65 74 | 79 5b 74 68 65 50 61 73 |f.anxiet|y[thePas|
|000010b0| 73 5d 5b 30 5d 20 3d 20 | 27 43 27 3b 0d 09 09 09 |s][0] = |'C';....|
|000010c0| 61 6e 61 6c 47 6e 6f 73 | 42 75 66 2e 73 74 72 65 |analGnos|Buf.stre|
|000010d0| 73 73 5b 74 68 65 50 61 | 73 73 5d 5b 69 5d 20 3d |ss[thePa|ss][i] =|
|000010e0| 20 69 20 2d 20 4d 41 58 | 50 41 44 20 2b 20 27 34 | i - MAX|PAD + '4|
|000010f0| 27 3b 0d 09 09 09 61 6e | 61 6c 47 6e 6f 73 42 75 |';....an|alGnosBu|
|00001100| 66 2e 74 6f 74 61 6c 5b | 74 68 65 50 61 73 73 5d |f.total[|thePass]|
|00001110| 20 2b 3d 20 69 20 2d 20 | 4d 41 58 50 41 44 20 2b | += i - |MAXPAD +|
|00001120| 20 34 3b 0d 09 09 7d 0d | 09 7d 0d 0d 09 2f 2a 20 | 4;...}.|.}.../* |
|00001130| 43 68 65 63 6b 20 66 6f | 72 20 61 75 78 69 6c 6c |Check fo|r auxill|
|00001140| 69 61 72 79 20 63 6f 6c | 6f 72 73 20 69 6e 20 74 |iary col|ors in t|
|00001150| 68 65 20 66 69 72 73 74 | 20 74 68 72 65 65 20 70 |he first| three p|
|00001160| 6f 73 69 74 69 6f 6e 73 | 0d 09 20 2a 2f 0d 09 66 |ositions|.. */..f|
|00001170| 6f 72 20 28 69 20 3d 20 | 30 3b 20 69 20 3c 20 33 |or (i = |0; i < 3|
|00001180| 3b 20 69 2b 2b 29 20 7b | 0d 09 09 69 66 20 28 28 |; i++) {|...if ((|
|00001190| 61 6e 61 6c 47 6e 6f 73 | 42 75 66 2e 63 6f 6c 6f |analGnos|Buf.colo|
|000011a0| 72 5b 74 68 65 50 61 73 | 73 5d 5b 69 5d 20 3d 3d |r[thePas|s][i] ==|
|000011b0| 20 27 36 27 29 20 7c 7c | 20 28 61 6e 61 6c 47 6e | '6') ||| (analGn|
|000011c0| 6f 73 42 75 66 2e 63 6f | 6c 6f 72 5b 74 68 65 50 |osBuf.co|lor[theP|
|000011d0| 61 73 73 5d 5b 69 5d 20 | 3d 3d 20 27 37 27 29 20 |ass][i] |== '7') |
|000011e0| 7c 7c 20 28 61 6e 61 6c | 47 6e 6f 73 42 75 66 2e ||| (anal|GnosBuf.|
|000011f0| 63 6f 6c 6f 72 5b 74 68 | 65 50 61 73 73 5d 5b 69 |color[th|ePass][i|
|00001200| 5d 20 3d 3d 20 27 30 27 | 29 29 20 7b 0d 09 09 09 |] == '0'|)) {....|
|00001210| 66 6f 72 20 28 6a 20 3d | 20 69 3b 20 6a 20 3e 3d |for (j =| i; j >=|
|00001220| 20 30 3b 20 6a 2d 2d 29 | 20 7b 0d 09 09 09 09 61 | 0; j--)| {.....a|
|00001230| 6e 61 6c 47 6e 6f 73 42 | 75 66 2e 6d 61 72 6b 5b |nalGnosB|uf.mark[|
|00001240| 74 68 65 50 61 73 73 5d | 5b 6a 5d 20 3d 20 27 2b |thePass]|[j] = '+|
|00001250| 27 3b 0d 09 09 09 09 61 | 6e 61 6c 47 6e 6f 73 42 |';.....a|nalGnosB|
|00001260| 75 66 2e 61 6e 78 69 65 | 74 79 5b 74 68 65 50 61 |uf.anxie|ty[thePa|
|00001270| 73 73 5d 5b 6a 5d 20 3d | 20 27 43 27 3b 0d 09 09 |ss][j] =| 'C';...|
|00001280| 09 7d 0d 0d 09 09 09 61 | 6e 61 6c 47 6e 6f 73 42 |.}.....a|nalGnosB|
|00001290| 75 66 2e 61 6e 78 69 65 | 74 79 5b 74 68 65 50 61 |uf.anxie|ty[thePa|
|000012a0| 73 73 5d 5b 4d 41 58 50 | 41 44 20 2d 20 31 5d 20 |ss][MAXP|AD - 1] |
|000012b0| 3d 20 27 41 27 3b 0d 09 | 09 09 61 6e 61 6c 47 6e |= 'A';..|..analGn|
|000012c0| 6f 73 42 75 66 2e 73 74 | 72 65 73 73 5b 74 68 65 |osBuf.st|ress[the|
|000012d0| 50 61 73 73 5d 5b 69 5d | 20 3d 20 27 33 27 20 2d |Pass][i]| = '3' -|
|000012e0| 20 69 3b 0d 09 09 09 61 | 6e 61 6c 47 6e 6f 73 42 | i;....a|nalGnosB|
|000012f0| 75 66 2e 74 6f 74 61 6c | 5b 74 68 65 50 61 73 73 |uf.total|[thePass|
|00001300| 5d 20 2b 3d 20 33 20 2d | 20 69 3b 0d 09 09 7d 0d |] += 3 -| i;...}.|
|00001310| 09 7d 0d 09 0d 09 2f 2a | 20 53 74 69 63 6b 20 73 |.}..../*| Stick s|
|00001320| 6f 6d 65 20 27 78 27 20 | 69 6e 74 6f 20 61 6e 79 |ome 'x' |into any|
|00001330| 20 68 6f 6c 65 73 0d 09 | 20 2a 2f 0d 09 66 6f 72 | holes..| */..for|
|00001340| 20 28 69 20 3d 20 30 3b | 20 69 20 3c 20 4d 41 58 | (i = 0;| i < MAX|
|00001350| 50 41 44 3b 20 69 2b 2b | 29 0d 09 09 69 66 20 28 |PAD; i++|)...if (|
|00001360| 61 6e 61 6c 47 6e 6f 73 | 42 75 66 2e 6d 61 72 6b |analGnos|Buf.mark|
|00001370| 5b 74 68 65 50 61 73 73 | 5d 5b 69 5d 20 3d 3d 20 |[thePass|][i] == |
|00001380| 27 78 27 29 0d 09 09 09 | 78 46 6f 75 6e 64 20 3d |'x')....|xFound =|
|00001390| 20 54 52 55 45 3b 0d 0d | 09 69 66 20 28 21 78 46 | TRUE;..|.if (!xF|
|000013a0| 6f 75 6e 64 29 20 7b 0d | 09 09 66 6f 72 20 28 69 |ound) {.|..for (i|
|000013b0| 20 3d 20 30 3b 20 69 20 | 3c 20 4d 41 58 50 41 44 | = 0; i |< MAXPAD|
|000013c0| 3b 20 69 2b 2b 29 20 7b | 0d 09 09 09 69 66 20 28 |; i++) {|....if (|
|000013d0| 61 6e 61 6c 47 6e 6f 73 | 42 75 66 2e 6d 61 72 6b |analGnos|Buf.mark|
|000013e0| 5b 74 68 65 50 61 73 73 | 5d 5b 69 5d 20 3d 3d 20 |[thePass|][i] == |
|000013f0| 27 3d 27 29 20 7b 0d 09 | 09 09 09 61 6e 61 6c 47 |'=') {..|...analG|
|00001400| 6e 6f 73 42 75 66 2e 6d | 61 72 6b 5b 74 68 65 50 |nosBuf.m|ark[theP|
|00001410| 61 73 73 5d 5b 69 5d 20 | 3d 20 27 78 27 3b 0d 09 |ass][i] |= 'x';..|
|00001420| 09 09 09 0d 09 09 09 09 | 69 66 20 28 61 6e 61 6c |........|if (anal|
|00001430| 47 6e 6f 73 42 75 66 2e | 70 61 69 72 5b 74 68 65 |GnosBuf.|pair[the|
|00001440| 50 61 73 73 5d 5b 69 5d | 20 21 3d 20 70 72 44 69 |Pass][i]| != prDi|
|00001450| 66 66 65 72 65 6e 74 29 | 20 7b 0d 09 09 09 09 09 |fferent)| {......|
|00001460| 69 2b 2b 3b 0d 09 09 09 | 09 09 61 6e 61 6c 47 6e |i++;....|..analGn|
|00001470| 6f 73 42 75 66 2e 6d 61 | 72 6b 5b 74 68 65 50 61 |osBuf.ma|rk[thePa|
|00001480| 73 73 5d 5b 69 5d 20 3d | 20 27 78 27 3b 0d 09 09 |ss][i] =| 'x';...|
|00001490| 09 09 7d 0d 0d 09 09 09 | 09 72 65 74 75 72 6e 3b |..}.....|.return;|
|000014a0| 0d 09 09 09 7d 0d 09 09 | 7d 0d 09 7d 0d 7d 0d 0d |....}...|}..}.}..|
|000014b0| 0d 2f 2a 20 52 65 61 64 | 20 61 20 76 61 6c 75 65 |./* Read| a value|
|000014c0| 20 66 72 6f 6d 20 6f 6e | 65 20 63 65 6c 6c 20 6f | from on|e cell o|
|000014d0| 66 20 74 68 65 20 41 6e | 61 6c 79 73 69 73 20 77 |f the An|alysis w|
|000014e0| 69 6e 64 6f 77 0d 20 2a | 2f 0d 76 6f 69 64 0d 41 |indow. *|/.void.A|
|000014f0| 6e 61 6c 52 65 61 64 43 | 65 6c 6c 20 28 70 68 61 |nalReadC|ell (pha|
|00001500| 73 65 2c 20 74 69 74 6c | 65 2c 20 64 61 74 61 29 |se, titl|e, data)|
|00001510| 0d 09 72 65 67 69 73 74 | 65 72 20 57 4f 52 44 20 |..regist|er WORD |
|00001520| 70 68 61 73 65 3b 0d 09 | 72 65 67 69 73 74 65 72 |phase;..|register|
|00001530| 20 57 4f 52 44 20 74 69 | 74 6c 65 3b 0d 09 72 65 | WORD ti|tle;..re|
|00001540| 67 69 73 74 65 72 20 55 | 42 59 54 45 20 2a 64 61 |gister U|BYTE *da|
|00001550| 74 61 3b 0d 7b 0d 09 72 | 65 67 69 73 74 65 72 20 |ta;.{..r|egister |
|00001560| 57 4f 52 44 20 69 3b 0d | 09 57 4f 52 44 20 69 74 |WORD i;.|.WORD it|
|00001570| 65 6d 4e 75 6d 2c 20 6b | 69 6e 64 3b 0d 09 52 65 |emNum, k|ind;..Re|
|00001580| 63 74 20 62 6f 75 6e 64 | 73 3b 0d 09 48 61 6e 64 |ct bound|s;..Hand|
|00001590| 6c 65 20 74 68 65 49 74 | 65 6d 3b 0d 09 53 74 72 |le theIt|em;..Str|
|000015a0| 32 35 35 20 69 74 65 6d | 54 65 78 74 3b 0d 0d 09 |255 item|Text;...|
|000015b0| 2f 2a 20 52 65 74 72 69 | 65 76 65 20 74 68 65 20 |/* Retri|eve the |
|000015c0| 74 65 78 74 20 66 72 6f | 6d 20 74 68 65 20 64 69 |text fro|m the di|
|000015d0| 61 6c 6f 67 20 69 74 65 | 6d 0d 09 20 2a 2f 0d 09 |alog ite|m.. */..|
|000015e0| 47 65 74 44 49 74 65 6d | 28 64 50 74 72 41 6e 61 |GetDItem|(dPtrAna|
|000015f0| 6c 2c 20 74 69 74 6c 65 | 20 2b 20 28 70 68 61 73 |l, title| + (phas|
|00001600| 65 20 2a 20 61 6e 61 6c | 54 6f 74 61 6c 29 2c 20 |e * anal|Total), |
|00001610| 26 6b 69 6e 64 2c 20 26 | 74 68 65 49 74 65 6d 2c |&kind, &|theItem,|
|00001620| 20 26 62 6f 75 6e 64 73 | 29 3b 0d 09 47 65 74 49 | &bounds|);..GetI|
|00001630| 54 65 78 74 28 74 68 65 | 49 74 65 6d 2c 20 69 74 |Text(the|Item, it|
|00001640| 65 6d 54 65 78 74 29 3b | 0d 0d 09 2f 2a 20 43 6f |emText);|.../* Co|
|00001650| 6e 76 65 72 74 20 74 68 | 65 20 64 61 74 61 20 66 |nvert th|e data f|
|00001660| 72 6f 6d 20 61 20 53 74 | 72 32 35 35 0d 09 20 2a |rom a St|r255.. *|
|00001670| 2f 0d 09 50 74 6f 43 73 | 74 72 28 28 63 68 61 72 |/..PtoCs|tr((char|
|00001680| 20 2a 29 20 69 74 65 6d | 54 65 78 74 29 3b 0d 0d | *) item|Text);..|
|00001690| 09 66 6f 72 20 28 69 20 | 3d 20 30 3b 20 69 20 3c |.for (i |= 0; i <|
|000016a0| 20 4d 41 58 50 41 44 3b | 20 69 2b 2b 29 0d 09 09 | MAXPAD;| i++)...|
|000016b0| 64 61 74 61 5b 69 5d 20 | 3d 20 69 74 65 6d 54 65 |data[i] |= itemTe|
|000016c0| 78 74 5b 69 5d 3b 0d 7d | 0d 0d 0d 2f 2a 20 57 72 |xt[i];.}|.../* Wr|
|000016d0| 69 74 65 20 61 20 76 61 | 6c 75 65 20 69 6e 74 6f |ite a va|lue into|
|000016e0| 20 6f 6e 65 20 63 65 6c | 6c 20 6f 66 20 74 68 65 | one cel|l of the|
|000016f0| 20 41 6e 61 6c 79 73 69 | 73 20 77 69 6e 64 6f 77 | Analysi|s window|
|00001700| 0d 20 2a 2f 0d 76 6f 69 | 64 0d 41 6e 61 6c 57 72 |. */.voi|d.AnalWr|
|00001710| 69 74 65 43 65 6c 6c 20 | 28 70 68 61 73 65 2c 20 |iteCell |(phase, |
|00001720| 74 69 74 6c 65 2c 20 64 | 61 74 61 29 0d 09 72 65 |title, d|ata)..re|
|00001730| 67 69 73 74 65 72 20 57 | 4f 52 44 20 70 68 61 73 |gister W|ORD phas|
|00001740| 65 3b 0d 09 72 65 67 69 | 73 74 65 72 20 57 4f 52 |e;..regi|ster WOR|
|00001750| 44 20 74 69 74 6c 65 3b | 0d 09 72 65 67 69 73 74 |D title;|..regist|
|00001760| 65 72 20 55 42 59 54 45 | 20 2a 64 61 74 61 3b 0d |er UBYTE| *data;.|
|00001770| 7b 0d 09 72 65 67 69 73 | 74 65 72 20 57 4f 52 44 |{..regis|ter WORD|
|00001780| 20 69 3b 0d 09 57 4f 52 | 44 20 69 74 65 6d 4e 75 | i;..WOR|D itemNu|
|00001790| 6d 2c 20 6b 69 6e 64 3b | 0d 09 52 65 63 74 20 62 |m, kind;|..Rect b|
|000017a0| 6f 75 6e 64 73 3b 0d 09 | 48 61 6e 64 6c 65 20 74 |ounds;..|Handle t|
|000017b0| 68 65 49 74 65 6d 3b 0d | 09 53 74 72 32 35 35 20 |heItem;.|.Str255 |
|000017c0| 69 74 65 6d 54 65 78 74 | 3b 0d 0d 09 2f 2a 20 43 |itemText|;.../* C|
|000017d0| 6f 6e 76 65 72 74 20 74 | 68 65 20 64 61 74 61 20 |onvert t|he data |
|000017e0| 69 6e 74 6f 20 61 20 53 | 74 72 32 35 35 0d 09 20 |into a S|tr255.. |
|000017f0| 2a 2f 0d 09 66 6f 72 20 | 28 69 20 3d 20 30 3b 20 |*/..for |(i = 0; |
|00001800| 69 20 3c 20 4d 41 58 50 | 41 44 3b 20 69 2b 2b 29 |i < MAXP|AD; i++)|
|00001810| 0d 09 09 69 74 65 6d 54 | 65 78 74 5b 69 5d 20 3d |...itemT|ext[i] =|
|00001820| 20 64 61 74 61 5b 69 5d | 3b 0d 0d 09 69 74 65 6d | data[i]|;...item|
|00001830| 54 65 78 74 5b 69 5d 20 | 3d 20 30 3b 0d 09 43 74 |Text[i] |= 0;..Ct|
|00001840| 6f 50 73 74 72 28 28 63 | 68 61 72 20 2a 29 20 69 |oPstr((c|har *) i|
|00001850| 74 65 6d 54 65 78 74 29 | 3b 0d 0d 09 2f 2a 20 53 |temText)|;.../* S|
|00001860| 74 6f 72 65 20 74 68 65 | 20 74 65 78 74 20 69 6e |tore the| text in|
|00001870| 74 6f 20 74 68 65 20 64 | 69 61 6c 6f 67 20 69 74 |to the d|ialog it|
|00001880| 65 6d 0d 09 20 2a 2f 0d | 09 47 65 74 44 49 74 65 |em.. */.|.GetDIte|
|00001890| 6d 28 64 50 74 72 41 6e | 61 6c 2c 20 74 69 74 6c |m(dPtrAn|al, titl|
|000018a0| 65 20 2b 20 28 70 68 61 | 73 65 20 2a 20 61 6e 61 |e + (pha|se * ana|
|000018b0| 6c 54 6f 74 61 6c 29 2c | 20 26 6b 69 6e 64 2c 20 |lTotal),| &kind, |
|000018c0| 26 74 68 65 49 74 65 6d | 2c 20 26 62 6f 75 6e 64 |&theItem|, &bound|
|000018d0| 73 29 3b 0d 09 53 65 74 | 49 54 65 78 74 28 74 68 |s);..Set|IText(th|
|000018e0| 65 49 74 65 6d 2c 20 69 | 74 65 6d 54 65 78 74 29 |eItem, i|temText)|
|000018f0| 3b 0d 7d 0d 0d 0d 2f 2a | 20 52 65 61 64 20 65 64 |;.}.../*| Read ed|
|00001900| 69 74 65 64 20 76 61 6c | 75 65 73 20 66 72 6f 6d |ited val|ues from|
|00001910| 20 74 68 65 20 41 6e 61 | 6c 79 73 69 73 20 77 69 | the Ana|lysis wi|
|00001920| 6e 64 6f 77 20 61 6e 64 | 20 70 75 74 20 74 68 65 |ndow and| put the|
|00001930| 6d 20 69 6e 74 6f 20 74 | 68 65 20 67 6e 6f 73 69 |m into t|he gnosi|
|00001940| 73 20 64 61 74 61 0d 20 | 2a 20 62 75 66 66 65 72 |s data. |* buffer|
|00001950| 0d 20 2a 2f 0d 76 6f 69 | 64 0d 41 6e 61 6c 52 65 |. */.voi|d.AnalRe|
|00001960| 61 64 57 69 6e 64 20 28 | 29 0d 7b 0d 09 57 4f 52 |adWind (|).{..WOR|
|00001970| 44 20 69 74 65 6d 4e 75 | 6d 2c 20 6b 69 6e 64 3b |D itemNu|m, kind;|
|00001980| 0d 09 52 65 63 74 20 62 | 6f 75 6e 64 73 3b 0d 09 |..Rect b|ounds;..|
|00001990| 48 61 6e 64 6c 65 20 74 | 68 65 49 74 65 6d 3b 0d |Handle t|heItem;.|
|000019a0| 09 53 74 72 32 35 35 20 | 69 74 65 6d 54 65 78 74 |.Str255 |itemText|
|000019b0| 3b 0d 09 6c 6f 6e 67 20 | 74 68 65 4e 75 6d 3b 0d |;..long |theNum;.|
|000019c0| 09 47 72 61 66 50 74 72 | 20 73 61 76 65 50 6f 72 |.GrafPtr| savePor|
|000019d0| 74 3b 0d 0d 09 47 65 74 | 50 6f 72 74 28 26 73 61 |t;...Get|Port(&sa|
|000019e0| 76 65 50 6f 72 74 29 3b | 0d 09 53 65 74 50 6f 72 |vePort);|..SetPor|
|000019f0| 74 28 64 50 74 72 41 6e | 61 6c 29 3b 0d 0d 09 2f |t(dPtrAn|al);.../|
|00001a00| 2a 20 47 65 74 20 74 68 | 65 20 63 6f 6c 6f 72 73 |* Get th|e colors|
|00001a10| 20 66 6f 72 20 62 6f 74 | 68 20 74 65 73 74 20 70 | for bot|h test p|
|00001a20| 61 73 73 65 73 0d 09 20 | 2a 2f 0d 09 41 6e 61 6c |asses.. |*/..Anal|
|00001a30| 52 65 61 64 43 65 6c 6c | 28 74 65 73 74 50 61 73 |ReadCell|(testPas|
|00001a40| 73 30 2c 20 61 6e 61 6c | 43 6f 6c 6f 72 2c 20 61 |s0, anal|Color, a|
|00001a50| 6e 61 6c 47 6e 6f 73 42 | 75 66 2e 63 6f 6c 6f 72 |nalGnosB|uf.color|
|00001a60| 5b 74 65 73 74 50 61 73 | 73 30 5d 29 3b 0d 09 41 |[testPas|s0]);..A|
|00001a70| 6e 61 6c 52 65 61 64 43 | 65 6c 6c 28 74 65 73 74 |nalReadC|ell(test|
|00001a80| 50 61 73 73 31 2c 20 61 | 6e 61 6c 43 6f 6c 6f 72 |Pass1, a|nalColor|
|00001a90| 2c 20 61 6e 61 6c 47 6e | 6f 73 42 75 66 2e 63 6f |, analGn|osBuf.co|
|00001aa0| 6c 6f 72 5b 74 65 73 74 | 50 61 73 73 31 5d 29 3b |lor[test|Pass1]);|
|00001ab0| 0d 0d 09 2f 2a 20 47 65 | 74 20 74 68 65 20 70 61 |.../* Ge|t the pa|
|00001ac0| 69 72 69 6e 67 73 20 66 | 6f 72 20 62 6f 74 68 20 |irings f|or both |
|00001ad0| 74 65 73 74 20 70 61 73 | 73 65 73 0d 09 20 2a 2f |test pas|ses.. */|
|00001ae0| 0d 09 41 6e 61 6c 52 65 | 61 64 43 65 6c 6c 28 74 |..AnalRe|adCell(t|
|00001af0| 65 73 74 50 61 73 73 30 | 2c 20 61 6e 61 6c 50 61 |estPass0|, analPa|
|00001b00| 69 72 2c 20 61 6e 61 6c | 47 6e 6f 73 42 75 66 2e |ir, anal|GnosBuf.|
|00001b10| 70 61 69 72 5b 74 65 73 | 74 50 61 73 73 30 5d 29 |pair[tes|tPass0])|
|00001b20| 3b 0d 09 41 6e 61 6c 52 | 65 61 64 43 65 6c 6c 28 |;..AnalR|eadCell(|
|00001b30| 74 65 73 74 50 61 73 73 | 31 2c 20 61 6e 61 6c 50 |testPass|1, analP|
|00001b40| 61 69 72 2c 20 61 6e 61 | 6c 47 6e 6f 73 42 75 66 |air, ana|lGnosBuf|
|00001b50| 2e 70 61 69 72 5b 74 65 | 73 74 50 61 73 73 31 5d |.pair[te|stPass1]|
|00001b60| 29 3b 0d 0d 09 2f 2a 20 | 47 65 74 20 74 68 65 20 |);.../* |Get the |
|00001b70| 6d 61 72 6b 69 6e 67 73 | 20 66 6f 72 20 62 6f 74 |markings| for bot|
|00001b80| 68 20 74 65 73 74 20 70 | 61 73 73 65 73 0d 09 20 |h test p|asses.. |
|00001b90| 2a 2f 0d 09 41 6e 61 6c | 52 65 61 64 43 65 6c 6c |*/..Anal|ReadCell|
|00001ba0| 28 74 65 73 74 50 61 73 | 73 30 2c 20 61 6e 61 6c |(testPas|s0, anal|
|00001bb0| 4d 61 72 6b 2c 20 61 6e | 61 6c 47 6e 6f 73 42 75 |Mark, an|alGnosBu|
|00001bc0| 66 2e 6d 61 72 6b 5b 74 | 65 73 74 50 61 73 73 30 |f.mark[t|estPass0|
|00001bd0| 5d 29 3b 0d 09 41 6e 61 | 6c 52 65 61 64 43 65 6c |]);..Ana|lReadCel|
|00001be0| 6c 28 74 65 73 74 50 61 | 73 73 31 2c 20 61 6e 61 |l(testPa|ss1, ana|
|00001bf0| 6c 4d 61 72 6b 2c 20 61 | 6e 61 6c 47 6e 6f 73 42 |lMark, a|nalGnosB|
|00001c00| 75 66 2e 6d 61 72 6b 5b | 74 65 73 74 50 61 73 73 |uf.mark[|testPass|
|00001c10| 31 5d 29 3b 0d 09 0d 09 | 2f 2a 20 47 65 74 20 74 |1]);....|/* Get t|
|00001c20| 68 65 20 61 6e 78 69 65 | 74 79 20 66 6f 72 20 62 |he anxie|ty for b|
|00001c30| 6f 74 68 20 74 65 73 74 | 20 70 61 73 73 65 73 0d |oth test| passes.|
|00001c40| 09 20 2a 2f 0d 09 41 6e | 61 6c 52 65 61 64 43 65 |. */..An|alReadCe|
|00001c50| 6c 6c 28 74 65 73 74 50 | 61 73 73 30 2c 20 61 6e |ll(testP|ass0, an|
|00001c60| 61 6c 41 6e 78 69 65 74 | 79 2c 20 61 6e 61 6c 47 |alAnxiet|y, analG|
|00001c70| 6e 6f 73 42 75 66 2e 61 | 6e 78 69 65 74 79 5b 74 |nosBuf.a|nxiety[t|
|00001c80| 65 73 74 50 61 73 73 30 | 5d 29 3b 0d 09 41 6e 61 |estPass0|]);..Ana|
|00001c90| 6c 52 65 61 64 43 65 6c | 6c 28 74 65 73 74 50 61 |lReadCel|l(testPa|
|00001ca0| 73 73 31 2c 20 61 6e 61 | 6c 41 6e 78 69 65 74 79 |ss1, ana|lAnxiety|
|00001cb0| 2c 20 61 6e 61 6c 47 6e | 6f 73 42 75 66 2e 61 6e |, analGn|osBuf.an|
|00001cc0| 78 69 65 74 79 5b 74 65 | 73 74 50 61 73 73 31 5d |xiety[te|stPass1]|
|00001cd0| 29 3b 0d 09 0d 09 2f 2a | 20 47 65 74 20 74 68 65 |);..../*| Get the|
|00001ce0| 20 73 74 72 65 73 73 20 | 66 6f 72 20 62 6f 74 68 | stress |for both|
|00001cf0| 20 74 65 73 74 20 70 61 | 73 73 65 73 0d 09 20 2a | test pa|sses.. *|
|00001d00| 2f 0d 09 41 6e 61 6c 52 | 65 61 64 43 65 6c 6c 28 |/..AnalR|eadCell(|
|00001d10| 74 65 73 74 50 61 73 73 | 30 2c 20 61 6e 61 6c 53 |testPass|0, analS|
|00001d20| 74 72 65 73 73 2c 20 61 | 6e 61 6c 47 6e 6f 73 42 |tress, a|nalGnosB|
|00001d30| 75 66 2e 73 74 72 65 73 | 73 5b 74 65 73 74 50 61 |uf.stres|s[testPa|
|00001d40| 73 73 30 5d 29 3b 0d 09 | 41 6e 61 6c 52 65 61 64 |ss0]);..|AnalRead|
|00001d50| 43 65 6c 6c 28 74 65 73 | 74 50 61 73 73 31 2c 20 |Cell(tes|tPass1, |
|00001d60| 61 6e 61 6c 53 74 72 65 | 73 73 2c 20 61 6e 61 6c |analStre|ss, anal|
|00001d70| 47 6e 6f 73 42 75 66 2e | 73 74 72 65 73 73 5b 74 |GnosBuf.|stress[t|
|00001d80| 65 73 74 50 61 73 73 31 | 5d 29 3b 0d 0d 09 2f 2a |estPass1|]);.../*|
|00001d90| 20 47 65 74 20 74 68 65 | 20 74 6f 74 61 6c 20 73 | Get the| total s|
|00001da0| 74 72 65 73 73 20 66 6f | 72 20 62 6f 74 68 20 74 |tress fo|r both t|
|00001db0| 65 73 74 20 70 61 73 73 | 65 73 0d 09 20 2a 2f 0d |est pass|es.. */.|
|00001dc0| 09 47 65 74 44 49 74 65 | 6d 28 64 50 74 72 41 6e |.GetDIte|m(dPtrAn|
|00001dd0| 61 6c 2c 20 61 6e 61 6c | 54 6f 74 61 6c 2c 20 26 |al, anal|Total, &|
|00001de0| 6b 69 6e 64 2c 20 26 74 | 68 65 49 74 65 6d 2c 20 |kind, &t|heItem, |
|00001df0| 26 62 6f 75 6e 64 73 29 | 3b 0d 09 47 65 74 49 54 |&bounds)|;..GetIT|
|00001e00| 65 78 74 28 74 68 65 49 | 74 65 6d 2c 20 69 74 65 |ext(theI|tem, ite|
|00001e10| 6d 54 65 78 74 29 3b 0d | 09 53 74 72 69 6e 67 54 |mText);.|.StringT|
|00001e20| 6f 4e 75 6d 28 28 53 74 | 72 69 6e 67 50 74 72 29 |oNum((St|ringPtr)|
|00001e30| 20 69 74 65 6d 54 65 78 | 74 2c 20 26 74 68 65 4e | itemTex|t, &theN|
|00001e40| 75 6d 29 3b 0d 09 61 6e | 61 6c 47 6e 6f 73 42 75 |um);..an|alGnosBu|
|00001e50| 66 2e 74 6f 74 61 6c 5b | 74 65 73 74 50 61 73 73 |f.total[|testPass|
|00001e60| 30 5d 20 3d 20 74 68 65 | 4e 75 6d 3b 0d 0d 09 47 |0] = the|Num;...G|
|00001e70| 65 74 44 49 74 65 6d 28 | 64 50 74 72 41 6e 61 6c |etDItem(|dPtrAnal|
|00001e80| 2c 20 61 6e 61 6c 54 6f | 74 61 6c 20 2a 20 32 2c |, analTo|tal * 2,|
|00001e90| 20 26 6b 69 6e 64 2c 20 | 26 74 68 65 49 74 65 6d | &kind, |&theItem|
|00001ea0| 2c 20 26 62 6f 75 6e 64 | 73 29 3b 0d 09 47 65 74 |, &bound|s);..Get|
|00001eb0| 49 54 65 78 74 28 74 68 | 65 49 74 65 6d 2c 20 69 |IText(th|eItem, i|
|00001ec0| 74 65 6d 54 65 78 74 29 | 3b 0d 09 53 74 72 69 6e |temText)|;..Strin|
|00001ed0| 67 54 6f 4e 75 6d 28 28 | 53 74 72 69 6e 67 50 74 |gToNum((|StringPt|
|00001ee0| 72 29 20 69 74 65 6d 54 | 65 78 74 2c 20 26 74 68 |r) itemT|ext, &th|
|00001ef0| 65 4e 75 6d 29 3b 0d 09 | 61 6e 61 6c 47 6e 6f 73 |eNum);..|analGnos|
|00001f00| 42 75 66 2e 74 6f 74 61 | 6c 5b 74 65 73 74 50 61 |Buf.tota|l[testPa|
|00001f10| 73 73 31 5d 20 3d 20 74 | 68 65 4e 75 6d 3b 0d 0d |ss1] = t|heNum;..|
|00001f20| 09 2f 2a 20 47 65 74 20 | 74 68 65 20 74 69 74 6c |./* Get |the titl|
|00001f30| 65 0d 09 20 2a 2f 0d 09 | 47 65 74 44 49 74 65 6d |e.. */..|GetDItem|
|00001f40| 28 64 50 74 72 41 6e 61 | 6c 2c 20 61 6e 61 6c 54 |(dPtrAna|l, analT|
|00001f50| 69 74 6c 65 2c 20 26 6b | 69 6e 64 2c 20 26 74 68 |itle, &k|ind, &th|
|00001f60| 65 49 74 65 6d 2c 20 26 | 62 6f 75 6e 64 73 29 3b |eItem, &|bounds);|
|00001f70| 0d 09 47 65 74 49 54 65 | 78 74 28 74 68 65 49 74 |..GetITe|xt(theIt|
|00001f80| 65 6d 2c 20 61 6e 61 6c | 47 6e 6f 73 42 75 66 2e |em, anal|GnosBuf.|
|00001f90| 74 69 74 6c 65 29 3b 0d | 0d 09 53 65 74 50 6f 72 |title);.|..SetPor|
|00001fa0| 74 28 73 61 76 65 50 6f | 72 74 29 3b 0d 7d 0d 0d |t(savePo|rt);.}..|
|00001fb0| 0d 2f 2a 20 57 72 69 74 | 65 20 76 61 6c 75 65 73 |./* Writ|e values|
|00001fc0| 20 66 72 6f 6d 20 74 68 | 65 20 67 6e 6f 73 69 73 | from th|e gnosis|
|00001fd0| 20 64 61 74 61 20 62 75 | 66 66 65 72 20 69 6e 74 | data bu|ffer int|
|00001fe0| 6f 20 74 68 65 20 41 6e | 61 6c 79 73 69 73 20 77 |o the An|alysis w|
|00001ff0| 69 6e 64 6f 77 20 74 6f | 20 61 6c 6c 6f 77 20 74 |indow to| allow t|
|00002000| 68 65 6d 0d 20 2a 20 74 | 6f 20 62 65 20 64 69 73 |hem. * t|o be dis|
|00002010| 70 6c 61 79 65 64 20 61 | 6e 64 20 65 64 69 74 65 |played a|nd edite|
|00002020| 64 0d 20 2a 2f 0d 76 6f | 69 64 0d 41 6e 61 6c 57 |d. */.vo|id.AnalW|
|00002030| 72 69 74 65 57 69 6e 64 | 20 28 29 0d 7b 0d 09 57 |riteWind| ().{..W|
|00002040| 4f 52 44 20 69 74 65 6d | 4e 75 6d 2c 20 6b 69 6e |ORD item|Num, kin|
|00002050| 64 3b 0d 09 52 65 63 74 | 20 62 6f 75 6e 64 73 3b |d;..Rect| bounds;|
|00002060| 0d 09 48 61 6e 64 6c 65 | 20 74 68 65 49 74 65 6d |..Handle| theItem|
|00002070| 3b 0d 09 6c 6f 6e 67 20 | 74 68 65 4e 75 6d 3b 0d |;..long |theNum;.|
|00002080| 09 53 74 72 32 35 35 20 | 69 74 65 6d 54 65 78 74 |.Str255 |itemText|
|00002090| 3b 0d 09 47 72 61 66 50 | 74 72 20 73 61 76 65 50 |;..GrafP|tr saveP|
|000020a0| 6f 72 74 3b 0d 0d 09 47 | 65 74 50 6f 72 74 28 26 |ort;...G|etPort(&|
|000020b0| 73 61 76 65 50 6f 72 74 | 29 3b 0d 09 53 65 74 50 |savePort|);..SetP|
|000020c0| 6f 72 74 28 64 50 74 72 | 41 6e 61 6c 29 3b 0d 0d |ort(dPtr|Anal);..|
|000020d0| 09 2f 2a 20 53 68 6f 77 | 20 74 68 65 20 63 6f 6c |./* Show| the col|
|000020e0| 6f 72 73 20 66 6f 72 20 | 62 6f 74 68 20 74 65 73 |ors for |both tes|
|000020f0| 74 20 70 61 73 73 65 73 | 0d 09 20 2a 2f 0d 09 41 |t passes|.. */..A|
|00002100| 6e 61 6c 57 72 69 74 65 | 43 65 6c 6c 28 74 65 73 |nalWrite|Cell(tes|
|00002110| 74 50 61 73 73 30 2c 20 | 61 6e 61 6c 43 6f 6c 6f |tPass0, |analColo|
|00002120| 72 2c 20 61 6e 61 6c 47 | 6e 6f 73 42 75 66 2e 63 |r, analG|nosBuf.c|
|00002130| 6f 6c 6f 72 5b 74 65 73 | 74 50 61 73 73 30 5d 29 |olor[tes|tPass0])|
|00002140| 3b 0d 09 41 6e 61 6c 57 | 72 69 74 65 43 65 6c 6c |;..AnalW|riteCell|
|00002150| 28 74 65 73 74 50 61 73 | 73 31 2c 20 61 6e 61 6c |(testPas|s1, anal|
|00002160| 43 6f 6c 6f 72 2c 20 61 | 6e 61 6c 47 6e 6f 73 42 |Color, a|nalGnosB|
|00002170| 75 66 2e 63 6f 6c 6f 72 | 5b 74 65 73 74 50 61 73 |uf.color|[testPas|
|00002180| 73 31 5d 29 3b 0d 0d 09 | 2f 2a 20 53 68 6f 77 20 |s1]);...|/* Show |
|00002190| 74 68 65 20 70 61 69 72 | 69 6e 67 73 20 66 6f 72 |the pair|ings for|
|000021a0| 20 62 6f 74 68 20 74 65 | 73 74 20 70 61 73 73 65 | both te|st passe|
|000021b0| 73 0d 09 20 2a 2f 0d 09 | 41 6e 61 6c 57 72 69 74 |s.. */..|AnalWrit|
|000021c0| 65 43 65 6c 6c 28 74 65 | 73 74 50 61 73 73 30 2c |eCell(te|stPass0,|
|000021d0| 20 61 6e 61 6c 50 61 69 | 72 2c 20 61 6e 61 6c 47 | analPai|r, analG|
|000021e0| 6e 6f 73 42 75 66 2e 70 | 61 69 72 5b 74 65 73 74 |nosBuf.p|air[test|
|000021f0| 50 61 73 73 30 5d 29 3b | 0d 09 41 6e 61 6c 57 72 |Pass0]);|..AnalWr|
|00002200| 69 74 65 43 65 6c 6c 28 | 74 65 73 74 50 61 73 73 |iteCell(|testPass|
|00002210| 31 2c 20 61 6e 61 6c 50 | 61 69 72 2c 20 61 6e 61 |1, analP|air, ana|
|00002220| 6c 47 6e 6f 73 42 75 66 | 2e 70 61 69 72 5b 74 65 |lGnosBuf|.pair[te|
|00002230| 73 74 50 61 73 73 31 5d | 29 3b 0d 0d 09 2f 2a 20 |stPass1]|);.../* |
|00002240| 53 68 6f 77 20 74 68 65 | 20 6d 61 72 6b 69 6e 67 |Show the| marking|
|00002250| 73 20 66 6f 72 20 62 6f | 74 68 20 74 65 73 74 20 |s for bo|th test |
|00002260| 70 61 73 73 65 73 0d 09 | 20 2a 2f 0d 09 41 6e 61 |passes..| */..Ana|
|00002270| 6c 57 72 69 74 65 43 65 | 6c 6c 28 74 65 73 74 50 |lWriteCe|ll(testP|
|00002280| 61 73 73 30 2c 20 61 6e | 61 6c 4d 61 72 6b 2c 20 |ass0, an|alMark, |
|00002290| 61 6e 61 6c 47 6e 6f 73 | 42 75 66 2e 6d 61 72 6b |analGnos|Buf.mark|
|000022a0| 5b 74 65 73 74 50 61 73 | 73 30 5d 29 3b 0d 09 41 |[testPas|s0]);..A|
|000022b0| 6e 61 6c 57 72 69 74 65 | 43 65 6c 6c 28 74 65 73 |nalWrite|Cell(tes|
|000022c0| 74 50 61 73 73 31 2c 20 | 61 6e 61 6c 4d 61 72 6b |tPass1, |analMark|
|000022d0| 2c 20 61 6e 61 6c 47 6e | 6f 73 42 75 66 2e 6d 61 |, analGn|osBuf.ma|
|000022e0| 72 6b 5b 74 65 73 74 50 | 61 73 73 31 5d 29 3b 0d |rk[testP|ass1]);.|
|000022f0| 09 0d 09 2f 2a 20 53 68 | 6f 77 20 74 68 65 20 61 |.../* Sh|ow the a|
|00002300| 6e 78 69 65 74 79 20 66 | 6f 72 20 62 6f 74 68 20 |nxiety f|or both |
|00002310| 74 65 73 74 20 70 61 73 | 73 65 73 0d 09 20 2a 2f |test pas|ses.. */|
|00002320| 0d 09 41 6e 61 6c 57 72 | 69 74 65 43 65 6c 6c 28 |..AnalWr|iteCell(|
|00002330| 74 65 73 74 50 61 73 73 | 30 2c 20 61 6e 61 6c 41 |testPass|0, analA|
|00002340| 6e 78 69 65 74 79 2c 20 | 61 6e 61 6c 47 6e 6f 73 |nxiety, |analGnos|
|00002350| 42 75 66 2e 61 6e 78 69 | 65 74 79 5b 74 65 73 74 |Buf.anxi|ety[test|
|00002360| 50 61 73 73 30 5d 29 3b | 0d 09 41 6e 61 6c 57 72 |Pass0]);|..AnalWr|
|00002370| 69 74 65 43 65 6c 6c 28 | 74 65 73 74 50 61 73 73 |iteCell(|testPass|
|00002380| 31 2c 20 61 6e 61 6c 41 | 6e 78 69 65 74 79 2c 20 |1, analA|nxiety, |
|00002390| 61 6e 61 6c 47 6e 6f 73 | 42 75 66 2e 61 6e 78 69 |analGnos|Buf.anxi|
|000023a0| 65 74 79 5b 74 65 73 74 | 50 61 73 73 31 5d 29 3b |ety[test|Pass1]);|
|000023b0| 0d 09 0d 09 2f 2a 20 53 | 68 6f 77 20 74 68 65 20 |..../* S|how the |
|000023c0| 73 74 72 65 73 73 20 66 | 6f 72 20 62 6f 74 68 20 |stress f|or both |
|000023d0| 74 65 73 74 20 70 61 73 | 73 65 73 0d 09 20 2a 2f |test pas|ses.. */|
|000023e0| 0d 09 41 6e 61 6c 57 72 | 69 74 65 43 65 6c 6c 28 |..AnalWr|iteCell(|
|000023f0| 74 65 73 74 50 61 73 73 | 30 2c 20 61 6e 61 6c 53 |testPass|0, analS|
|00002400| 74 72 65 73 73 2c 20 61 | 6e 61 6c 47 6e 6f 73 42 |tress, a|nalGnosB|
|00002410| 75 66 2e 73 74 72 65 73 | 73 5b 74 65 73 74 50 61 |uf.stres|s[testPa|
|00002420| 73 73 30 5d 29 3b 0d 09 | 41 6e 61 6c 57 72 69 74 |ss0]);..|AnalWrit|
|00002430| 65 43 65 6c 6c 28 74 65 | 73 74 50 61 73 73 31 2c |eCell(te|stPass1,|
|00002440| 20 61 6e 61 6c 53 74 72 | 65 73 73 2c 20 61 6e 61 | analStr|ess, ana|
|00002450| 6c 47 6e 6f 73 42 75 66 | 2e 73 74 72 65 73 73 5b |lGnosBuf|.stress[|
|00002460| 74 65 73 74 50 61 73 73 | 31 5d 29 3b 0d 0d 09 2f |testPass|1]);.../|
|00002470| 2a 20 53 68 6f 77 20 74 | 68 65 20 74 6f 74 61 6c |* Show t|he total|
|00002480| 20 73 74 72 65 73 73 20 | 66 6f 72 20 62 6f 74 68 | stress |for both|
|00002490| 20 74 65 73 74 20 70 61 | 73 73 65 73 0d 09 20 2a | test pa|sses.. *|
|000024a0| 2f 0d 09 47 65 74 44 49 | 74 65 6d 28 64 50 74 72 |/..GetDI|tem(dPtr|
|000024b0| 41 6e 61 6c 2c 20 61 6e | 61 6c 54 6f 74 61 6c 2c |Anal, an|alTotal,|
|000024c0| 20 26 6b 69 6e 64 2c 20 | 26 74 68 65 49 74 65 6d | &kind, |&theItem|
|000024d0| 2c 20 26 62 6f 75 6e 64 | 73 29 3b 0d 09 4e 75 6d |, &bound|s);..Num|
|000024e0| 54 6f 53 74 72 69 6e 67 | 28 28 6c 6f 6e 67 29 20 |ToString|((long) |
|000024f0| 61 6e 61 6c 47 6e 6f 73 | 42 75 66 2e 74 6f 74 61 |analGnos|Buf.tota|
|00002500| 6c 5b 74 65 73 74 50 61 | 73 73 30 5d 2c 20 28 53 |l[testPa|ss0], (S|
|00002510| 74 72 69 6e 67 50 74 72 | 29 20 69 74 65 6d 54 65 |tringPtr|) itemTe|
|00002520| 78 74 29 3b 0d 09 53 65 | 74 49 54 65 78 74 28 74 |xt);..Se|tIText(t|
|00002530| 68 65 49 74 65 6d 2c 20 | 69 74 65 6d 54 65 78 74 |heItem, |itemText|
|00002540| 29 3b 0d 0d 09 47 65 74 | 44 49 74 65 6d 28 64 50 |);...Get|DItem(dP|
|00002550| 74 72 41 6e 61 6c 2c 20 | 61 6e 61 6c 54 6f 74 61 |trAnal, |analTota|
|00002560| 6c 20 2a 20 32 2c 20 26 | 6b 69 6e 64 2c 20 26 74 |l * 2, &|kind, &t|
|00002570| 68 65 49 74 65 6d 2c 20 | 26 62 6f 75 6e 64 73 29 |heItem, |&bounds)|
|00002580| 3b 0d 09 4e 75 6d 54 6f | 53 74 72 69 6e 67 28 28 |;..NumTo|String((|
|00002590| 6c 6f 6e 67 29 20 61 6e | 61 6c 47 6e 6f 73 42 75 |long) an|alGnosBu|
|000025a0| 66 2e 74 6f 74 61 6c 5b | 74 65 73 74 50 61 73 73 |f.total[|testPass|
|000025b0| 31 5d 2c 20 28 53 74 72 | 69 6e 67 50 74 72 29 20 |1], (Str|ingPtr) |
|000025c0| 69 74 65 6d 54 65 78 74 | 29 3b 0d 09 53 65 74 49 |itemText|);..SetI|
|000025d0| 54 65 78 74 28 74 68 65 | 49 74 65 6d 2c 20 69 74 |Text(the|Item, it|
|000025e0| 65 6d 54 65 78 74 29 3b | 0d 0d 09 2f 2a 20 53 68 |emText);|.../* Sh|
|000025f0| 6f 77 20 74 68 65 20 74 | 69 74 6c 65 0d 09 20 2a |ow the t|itle.. *|
|00002600| 2f 0d 09 47 65 74 44 49 | 74 65 6d 28 64 50 74 72 |/..GetDI|tem(dPtr|
|00002610| 41 6e 61 6c 2c 20 61 6e | 61 6c 54 69 74 6c 65 2c |Anal, an|alTitle,|
|00002620| 20 26 6b 69 6e 64 2c 20 | 26 74 68 65 49 74 65 6d | &kind, |&theItem|
|00002630| 2c 20 26 62 6f 75 6e 64 | 73 29 3b 0d 09 53 65 74 |, &bound|s);..Set|
|00002640| 49 54 65 78 74 28 74 68 | 65 49 74 65 6d 2c 20 61 |IText(th|eItem, a|
|00002650| 6e 61 6c 47 6e 6f 73 42 | 75 66 2e 74 69 74 6c 65 |nalGnosB|uf.title|
|00002660| 29 3b 0d 09 53 65 6c 49 | 54 65 78 74 28 64 50 74 |);..SelI|Text(dPt|
|00002670| 72 41 6e 61 6c 2c 20 61 | 6e 61 6c 54 69 74 6c 65 |rAnal, a|nalTitle|
|00002680| 2c 20 30 2c 20 32 35 35 | 29 3b 0d 0d 09 53 65 74 |, 0, 255|);...Set|
|00002690| 50 6f 72 74 28 73 61 76 | 65 50 6f 72 74 29 3b 09 |Port(sav|ePort);.|
|000026a0| 0d 7d 0d 0d 0d 2f 2a 20 | 4d 6f 76 65 20 61 6e 61 |.}.../* |Move ana|
|000026b0| 6c 79 73 69 73 20 64 61 | 74 61 20 66 72 6f 6d 20 |lysis da|ta from |
|000026c0| 74 68 65 20 64 61 74 61 | 20 62 75 66 66 65 72 20 |the data| buffer |
|000026d0| 69 6e 74 6f 20 74 68 65 | 20 67 69 76 65 6e 20 70 |into the| given p|
|000026e0| 72 6f 67 6e 6f 73 69 73 | 20 72 65 63 6f 72 64 0d |rognosis| record.|
|000026f0| 20 2a 2f 0d 76 6f 69 64 | 0d 41 6e 61 6c 47 65 74 | */.void|.AnalGet|
|00002700| 42 75 66 20 28 67 6e 6f | 73 50 74 72 29 0d 09 72 |Buf (gno|sPtr)..r|
|00002710| 65 67 69 73 74 65 72 20 | 47 6e 6f 73 50 74 72 20 |egister |GnosPtr |
|00002720| 67 6e 6f 73 50 74 72 3b | 0d 7b 0d 09 41 6e 61 6c |gnosPtr;|.{..Anal|
|00002730| 52 65 61 64 57 69 6e 64 | 28 29 3b 0d 0d 09 42 6c |ReadWind|();...Bl|
|00002740| 6f 63 6b 4d 6f 76 65 28 | 26 61 6e 61 6c 47 6e 6f |ockMove(|&analGno|
|00002750| 73 42 75 66 2c 20 67 6e | 6f 73 50 74 72 2c 20 0d |sBuf, gn|osPtr, .|
|00002760| 09 09 73 69 7a 65 6f 66 | 28 47 6e 6f 73 44 61 74 |..sizeof|(GnosDat|
|00002770| 61 29 20 2d 20 73 69 7a | 65 6f 66 28 48 61 6e 64 |a) - siz|eof(Hand|
|00002780| 6c 65 29 20 2d 20 73 69 | 7a 65 6f 66 28 47 6e 6f |le) - si|zeof(Gno|
|00002790| 73 50 74 72 29 29 3b 0d | 7d 0d 0d 0d 2f 2a 20 4d |sPtr));.|}.../* M|
|000027a0| 6f 76 65 20 61 6e 61 6c | 79 73 69 73 20 64 61 74 |ove anal|ysis dat|
|000027b0| 61 20 66 72 6f 6d 20 74 | 68 65 20 67 69 76 65 6e |a from t|he given|
|000027c0| 20 70 72 6f 67 6e 6f 73 | 69 73 20 72 65 63 6f 72 | prognos|is recor|
|000027d0| 64 20 69 6e 74 6f 20 74 | 68 65 20 64 61 74 61 20 |d into t|he data |
|000027e0| 62 75 66 66 65 72 0d 20 | 2a 2f 0d 76 6f 69 64 0d |buffer. |*/.void.|
|000027f0| 41 6e 61 6c 50 75 74 42 | 75 66 20 28 67 6e 6f 73 |AnalPutB|uf (gnos|
|00002800| 50 74 72 29 0d 09 72 65 | 67 69 73 74 65 72 20 47 |Ptr)..re|gister G|
|00002810| 6e 6f 73 50 74 72 20 67 | 6e 6f 73 50 74 72 3b 0d |nosPtr g|nosPtr;.|
|00002820| 7b 0d 09 42 6c 6f 63 6b | 4d 6f 76 65 28 67 6e 6f |{..Block|Move(gno|
|00002830| 73 50 74 72 2c 20 26 61 | 6e 61 6c 47 6e 6f 73 42 |sPtr, &a|nalGnosB|
|00002840| 75 66 2c 20 0d 09 09 73 | 69 7a 65 6f 66 28 47 6e |uf, ...s|izeof(Gn|
|00002850| 6f 73 44 61 74 61 29 20 | 2d 20 73 69 7a 65 6f 66 |osData) |- sizeof|
|00002860| 28 48 61 6e 64 6c 65 29 | 20 2d 20 73 69 7a 65 6f |(Handle)| - sizeo|
|00002870| 66 28 47 6e 6f 73 50 74 | 72 29 29 3b 0d 0d 09 41 |f(GnosPt|r));...A|
|00002880| 6e 61 6c 57 72 69 74 65 | 57 69 6e 64 28 29 3b 0d |nalWrite|Wind();.|
|00002890| 7d 0d 0d 0d 2f 2a 20 46 | 69 6c 6c 20 69 6e 20 74 |}.../* F|ill in t|
|000028a0| 68 65 20 62 6c 61 6e 6b | 73 0d 20 2a 2f 0d 76 6f |he blank|s. */.vo|
|000028b0| 69 64 0d 41 6e 61 6c 53 | 74 75 62 20 28 29 0d 7b |id.AnalS|tub ().{|
|000028c0| 0d 09 72 65 67 69 73 74 | 65 72 20 57 4f 52 44 20 |..regist|er WORD |
|000028d0| 74 68 65 50 61 73 73 3b | 0d 09 73 74 61 74 69 63 |thePass;|..static|
|000028e0| 20 63 68 61 72 20 64 69 | 67 69 74 73 5b 5d 20 3d | char di|gits[] =|
|000028f0| 20 22 30 31 32 33 34 35 | 36 37 22 3b 0d 09 73 74 | "012345|67";..st|
|00002900| 61 74 69 63 20 63 68 61 | 72 20 62 6c 61 6e 6b 73 |atic cha|r blanks|
|00002910| 5b 5d 20 3d 20 22 20 20 | 20 20 20 20 20 20 22 3b |[] = " | ";|
|00002920| 0d 0d 09 2f 2a 20 43 6c | 65 61 72 20 65 61 63 68 |.../* Cl|ear each|
|00002930| 20 61 6e 61 6c 79 73 69 | 73 20 66 69 65 6c 64 0d | analysi|s field.|
|00002940| 09 20 2a 2f 0d 09 66 6f | 72 20 28 74 68 65 50 61 |. */..fo|r (thePa|
|00002950| 73 73 20 3d 20 74 65 73 | 74 50 61 73 73 30 3b 20 |ss = tes|tPass0; |
|00002960| 74 68 65 50 61 73 73 20 | 3c 3d 20 74 65 73 74 50 |thePass |<= testP|
|00002970| 61 73 73 31 3b 20 74 68 | 65 50 61 73 73 2b 2b 29 |ass1; th|ePass++)|
|00002980| 20 7b 0d 09 09 42 6c 6f | 63 6b 4d 6f 76 65 28 64 | {...Blo|ckMove(d|
|00002990| 69 67 69 74 73 2c 20 61 | 6e 61 6c 47 6e 6f 73 42 |igits, a|nalGnosB|
|000029a0| 75 66 2e 63 6f 6c 6f 72 | 5b 74 68 65 50 61 73 73 |uf.color|[thePass|
|000029b0| 5d 2c 20 4d 41 58 50 41 | 44 29 3b 0d 0d 09 09 42 |], MAXPA|D);....B|
|000029c0| 6c 6f 63 6b 4d 6f 76 65 | 28 62 6c 61 6e 6b 73 2c |lockMove|(blanks,|
|000029d0| 20 61 6e 61 6c 47 6e 6f | 73 42 75 66 2e 70 61 69 | analGno|sBuf.pai|
|000029e0| 72 5b 74 68 65 50 61 73 | 73 5d 2c 20 4d 41 58 50 |r[thePas|s], MAXP|
|000029f0| 41 44 29 3b 0d 09 09 42 | 6c 6f 63 6b 4d 6f 76 65 |AD);...B|lockMove|
|00002a00| 28 62 6c 61 6e 6b 73 2c | 20 61 6e 61 6c 47 6e 6f |(blanks,| analGno|
|00002a10| 73 42 75 66 2e 6d 61 72 | 6b 5b 74 68 65 50 61 73 |sBuf.mar|k[thePas|
|00002a20| 73 5d 2c 20 4d 41 58 50 | 41 44 29 3b 0d 09 09 42 |s], MAXP|AD);...B|
|00002a30| 6c 6f 63 6b 4d 6f 76 65 | 28 62 6c 61 6e 6b 73 2c |lockMove|(blanks,|
|00002a40| 20 61 6e 61 6c 47 6e 6f | 73 42 75 66 2e 61 6e 78 | analGno|sBuf.anx|
|00002a50| 69 65 74 79 5b 74 68 65 | 50 61 73 73 5d 2c 20 4d |iety[the|Pass], M|
|00002a60| 41 58 50 41 44 29 3b 0d | 09 09 42 6c 6f 63 6b 4d |AXPAD);.|..BlockM|
|00002a70| 6f 76 65 28 62 6c 61 6e | 6b 73 2c 20 61 6e 61 6c |ove(blan|ks, anal|
|00002a80| 47 6e 6f 73 42 75 66 2e | 73 74 72 65 73 73 5b 74 |GnosBuf.|stress[t|
|00002a90| 68 65 50 61 73 73 5d 2c | 20 4d 41 58 50 41 44 29 |hePass],| MAXPAD)|
|00002aa0| 3b 0d 0d 09 09 61 6e 61 | 6c 47 6e 6f 73 42 75 66 |;....ana|lGnosBuf|
|00002ab0| 2e 74 6f 74 61 6c 5b 74 | 68 65 50 61 73 73 5d 20 |.total[t|hePass] |
|00002ac0| 3d 20 30 3b 09 0d 09 7d | 0d 09 0d 09 69 66 20 28 |= 0;...}|....if (|
|00002ad0| 74 65 73 74 55 73 65 72 | 29 0d 09 09 53 74 72 47 |testUser|)...StrG|
|00002ae0| 65 74 43 68 6f 6f 73 65 | 72 28 61 6e 61 6c 47 6e |etChoose|r(analGn|
|00002af0| 6f 73 42 75 66 2e 74 69 | 74 6c 65 29 3b 0d 09 65 |osBuf.ti|tle);..e|
|00002b00| 6c 73 65 0d 09 09 47 65 | 74 49 6e 64 53 74 72 69 |lse...Ge|tIndStri|
|00002b10| 6e 67 28 61 6e 61 6c 47 | 6e 6f 73 42 75 66 2e 74 |ng(analG|nosBuf.t|
|00002b20| 69 74 6c 65 2c 20 52 53 | 52 43 42 41 53 45 2c 20 |itle, RS|RCBASE, |
|00002b30| 73 74 72 55 6e 74 69 74 | 6c 65 64 29 3b 0d 7d 0d |strUntit|led);.}.|
|00002b40| 0d 0d 2f 2a 20 52 65 70 | 6f 72 74 20 74 68 65 20 |../* Rep|ort the |
|00002b50| 63 6f 6c 6f 72 20 70 61 | 69 72 20 61 6e 61 6c 79 |color pa|ir analy|
|00002b60| 73 69 73 0d 20 2a 2f 0d | 76 6f 69 64 0d 41 6e 61 |sis. */.|void.Ana|
|00002b70| 6c 52 65 70 6f 72 74 20 | 28 29 0d 7b 0d 09 2f 2a |lReport |().{../*|
|00002b80| 20 52 75 6e 20 74 68 65 | 20 41 6e 61 6c 79 73 69 | Run the| Analysi|
|00002b90| 73 20 74 65 73 74 73 20 | 61 6e 64 20 72 65 70 6f |s tests |and repo|
|00002ba0| 72 74 20 74 68 65 6d 0d | 09 20 2a 2f 0d 09 41 6e |rt them.|. */..An|
|00002bb0| 61 6c 50 61 69 72 73 28 | 29 3b 0d 09 41 6e 61 6c |alPairs(|);..Anal|
|00002bc0| 4d 61 72 6b 73 28 74 65 | 73 74 50 61 73 73 30 29 |Marks(te|stPass0)|
|00002bd0| 3b 0d 09 41 6e 61 6c 4d | 61 72 6b 73 28 74 65 73 |;..AnalM|arks(tes|
|00002be0| 74 50 61 73 73 31 29 3b | 0d 09 41 6e 61 6c 41 6e |tPass1);|..AnalAn|
|00002bf0| 67 73 74 28 74 65 73 74 | 50 61 73 73 30 29 3b 0d |gst(test|Pass0);.|
|00002c00| 09 41 6e 61 6c 41 6e 67 | 73 74 28 74 65 73 74 50 |.AnalAng|st(testP|
|00002c10| 61 73 73 31 29 3b 0d 0d | 09 41 6e 61 6c 57 72 69 |ass1);..|.AnalWri|
|00002c20| 74 65 57 69 6e 64 28 29 | 3b 0d 0d 09 57 69 6e 64 |teWind()|;...Wind|
|00002c30| 53 77 69 74 63 68 28 77 | 50 74 72 54 65 78 74 2c |Switch(w|PtrText,|
|00002c40| 20 54 52 55 45 29 3b 0d | 09 57 69 6e 64 53 77 69 | TRUE);.|.WindSwi|
|00002c50| 74 63 68 28 64 50 74 72 | 41 6e 61 6c 2c 20 54 52 |tch(dPtr|Anal, TR|
|00002c60| 55 45 29 3b 0d 7d 0d 0d | 0d 2f 2a 20 49 6d 61 67 |UE);.}..|./* Imag|
|00002c70| 65 20 61 20 70 72 69 6e | 74 65 64 20 72 65 70 6f |e a prin|ted repo|
|00002c80| 72 74 20 6f 66 20 74 68 | 65 20 41 6e 61 6c 79 73 |rt of th|e Analys|
|00002c90| 69 73 20 77 69 6e 64 6f | 77 0d 20 2a 2f 0d 76 6f |is windo|w. */.vo|
|00002ca0| 69 64 0d 41 6e 61 6c 50 | 72 69 6e 74 20 28 70 61 |id.AnalP|rint (pa|
|00002cb0| 67 65 52 65 63 74 29 0d | 09 72 65 67 69 73 74 65 |geRect).|.registe|
|00002cc0| 72 20 52 65 63 74 20 2a | 70 61 67 65 52 65 63 74 |r Rect *|pageRect|
|00002cd0| 3b 0d 7b 0d 09 72 65 67 | 69 73 74 65 72 20 49 6e |;.{..reg|ister In|
|00002ce0| 66 6f 50 74 72 20 69 6e | 66 6f 50 74 72 20 3d 20 |foPtr in|foPtr = |
|00002cf0| 28 49 6e 66 6f 50 74 72 | 29 20 47 65 74 57 52 65 |(InfoPtr|) GetWRe|
|00002d00| 66 43 6f 6e 28 77 50 74 | 72 47 6e 6f 73 29 3b 0d |fCon(wPt|rGnos);.|
|00002d10| 09 72 65 67 69 73 74 65 | 72 20 57 4f 52 44 20 74 |.registe|r WORD t|
|00002d20| 68 65 4c 69 6e 65 20 3d | 20 32 2c 20 63 6f 6c 75 |heLine =| 2, colu|
|00002d30| 6d 6e 30 2c 20 63 6f 6c | 75 6d 6e 31 3b 0d 09 53 |mn0, col|umn1;..S|
|00002d40| 74 72 32 35 35 20 74 68 | 65 54 65 78 74 3b 0d 0d |tr255 th|eText;..|
|00002d50| 09 41 6e 61 6c 52 65 61 | 64 57 69 6e 64 28 29 3b |.AnalRea|dWind();|
|00002d60| 0d 09 63 6f 6c 75 6d 6e | 30 20 3d 20 28 70 61 67 |..column|0 = (pag|
|00002d70| 65 52 65 63 74 2d 3e 6c | 65 66 74 20 2f 20 33 20 |eRect->l|eft / 3 |
|00002d80| 2a 20 32 29 20 2b 20 28 | 70 61 67 65 52 65 63 74 |* 2) + (|pageRect|
|00002d90| 2d 3e 72 69 67 68 74 20 | 2f 20 33 29 3b 0d 09 63 |->right |/ 3);..c|
|00002da0| 6f 6c 75 6d 6e 31 20 3d | 20 28 70 61 67 65 52 65 |olumn1 =| (pageRe|
|00002db0| 63 74 2d 3e 6c 65 66 74 | 20 2f 20 33 29 20 2b 20 |ct->left| / 3) + |
|00002dc0| 28 70 61 67 65 52 65 63 | 74 2d 3e 72 69 67 68 74 |(pageRec|t->right|
|00002dd0| 20 2f 20 33 20 2a 20 32 | 29 3b 0d 0d 09 70 61 67 | / 3 * 2|);...pag|
|00002de0| 65 52 65 63 74 2d 3e 74 | 6f 70 20 2b 3d 20 4c 49 |eRect->t|op += LI|
|00002df0| 4e 45 48 45 49 47 48 54 | 3b 0d 09 4d 6f 76 65 54 |NEHEIGHT|;..MoveT|
|00002e00| 6f 28 70 61 67 65 52 65 | 63 74 2d 3e 6c 65 66 74 |o(pageRe|ct->left|
|00002e10| 2c 20 70 61 67 65 52 65 | 63 74 2d 3e 74 6f 70 29 |, pageRe|ct->top)|
|00002e20| 3b 0d 0d 09 47 65 74 49 | 6e 64 53 74 72 69 6e 67 |;...GetI|ndString|
|00002e30| 28 74 68 65 54 65 78 74 | 2c 20 73 74 72 73 41 6e |(theText|, strsAn|
|00002e40| 61 6c 79 7a 65 2c 20 61 | 6e 61 6c 46 69 6c 65 29 |alyze, a|nalFile)|
|00002e50| 3b 0d 09 44 72 61 77 53 | 74 72 69 6e 67 28 74 68 |;..DrawS|tring(th|
|00002e60| 65 54 65 78 74 29 3b 0d | 09 44 72 61 77 53 74 72 |eText);.|.DrawStr|
|00002e70| 69 6e 67 28 69 6e 66 6f | 50 74 72 2d 3e 66 69 6c |ing(info|Ptr->fil|
|00002e80| 65 4e 61 6d 65 29 3b 0d | 0d 09 47 65 74 49 6e 64 |eName);.|..GetInd|
|00002e90| 53 74 72 69 6e 67 28 74 | 68 65 54 65 78 74 2c 20 |String(t|heText, |
|00002ea0| 73 74 72 73 41 6e 61 6c | 79 7a 65 2c 20 61 6e 61 |strsAnal|yze, ana|
|00002eb0| 6c 54 69 74 6c 65 29 3b | 0d 09 44 72 61 77 53 74 |lTitle);|..DrawSt|
|00002ec0| 72 69 6e 67 28 74 68 65 | 54 65 78 74 29 3b 0d 09 |ring(the|Text);..|
|00002ed0| 44 72 61 77 53 74 72 69 | 6e 67 28 61 6e 61 6c 47 |DrawStri|ng(analG|
|00002ee0| 6e 6f 73 42 75 66 2e 74 | 69 74 6c 65 29 3b 0d 09 |nosBuf.t|itle);..|
|00002ef0| 0d 09 70 61 67 65 52 65 | 63 74 2d 3e 74 6f 70 20 |..pageRe|ct->top |
|00002f00| 2b 3d 20 4c 49 4e 45 48 | 45 49 47 48 54 20 2a 20 |+= LINEH|EIGHT * |
|00002f10| 32 3b 0d 09 4d 6f 76 65 | 54 6f 28 70 61 67 65 52 |2;..Move|To(pageR|
|00002f20| 65 63 74 2d 3e 6c 65 66 | 74 2c 20 70 61 67 65 52 |ect->lef|t, pageR|
|00002f30| 65 63 74 2d 3e 74 6f 70 | 29 3b 0d 0d 09 47 65 74 |ect->top|);...Get|
|00002f40| 49 6e 64 53 74 72 69 6e | 67 28 74 68 65 54 65 78 |IndStrin|g(theTex|
|00002f50| 74 2c 20 73 74 72 73 41 | 6e 61 6c 79 7a 65 2c 20 |t, strsA|nalyze, |
|00002f60| 61 6e 61 6c 43 6f 6c 6f | 72 29 3b 0d 09 44 72 61 |analColo|r);..Dra|
|00002f70| 77 53 74 72 69 6e 67 28 | 74 68 65 54 65 78 74 29 |wString(|theText)|
|00002f80| 3b 0d 09 4d 6f 76 65 54 | 6f 28 63 6f 6c 75 6d 6e |;..MoveT|o(column|
|00002f90| 30 2c 20 70 61 67 65 52 | 65 63 74 2d 3e 74 6f 70 |0, pageR|ect->top|
|00002fa0| 29 3b 0d 09 44 72 61 77 | 54 65 78 74 28 61 6e 61 |);..Draw|Text(ana|
|00002fb0| 6c 47 6e 6f 73 42 75 66 | 2e 63 6f 6c 6f 72 5b 74 |lGnosBuf|.color[t|
|00002fc0| 65 73 74 50 61 73 73 30 | 5d 2c 20 30 2c 20 4d 41 |estPass0|], 0, MA|
|00002fd0| 58 50 41 44 29 3b 0d 09 | 4d 6f 76 65 54 6f 28 63 |XPAD);..|MoveTo(c|
|00002fe0| 6f 6c 75 6d 6e 31 2c 20 | 70 61 67 65 52 65 63 74 |olumn1, |pageRect|
|00002ff0| 2d 3e 74 6f 70 29 3b 0d | 09 44 72 61 77 54 65 78 |->top);.|.DrawTex|
|00003000| 74 28 61 6e 61 6c 47 6e | 6f 73 42 75 66 2e 63 6f |t(analGn|osBuf.co|
|00003010| 6c 6f 72 5b 74 65 73 74 | 50 61 73 73 31 5d 2c 20 |lor[test|Pass1], |
|00003020| 30 2c 20 4d 41 58 50 41 | 44 29 3b 0d 0d 09 70 61 |0, MAXPA|D);...pa|
|00003030| 67 65 52 65 63 74 2d 3e | 74 6f 70 20 2b 3d 20 4c |geRect->|top += L|
|00003040| 49 4e 45 48 45 49 47 48 | 54 3b 0d 09 4d 6f 76 65 |INEHEIGH|T;..Move|
|00003050| 54 6f 28 70 61 67 65 52 | 65 63 74 2d 3e 6c 65 66 |To(pageR|ect->lef|
|00003060| 74 2c 20 70 61 67 65 52 | 65 63 74 2d 3e 74 6f 70 |t, pageR|ect->top|
|00003070| 29 3b 0d 0d 09 47 65 74 | 49 6e 64 53 74 72 69 6e |);...Get|IndStrin|
|00003080| 67 28 74 68 65 54 65 78 | 74 2c 20 73 74 72 73 41 |g(theTex|t, strsA|
|00003090| 6e 61 6c 79 7a 65 2c 20 | 61 6e 61 6c 50 61 69 72 |nalyze, |analPair|
|000030a0| 29 3b 0d 09 44 72 61 77 | 53 74 72 69 6e 67 28 74 |);..Draw|String(t|
|000030b0| 68 65 54 65 78 74 29 3b | 0d 09 4d 6f 76 65 54 6f |heText);|..MoveTo|
|000030c0| 28 63 6f 6c 75 6d 6e 30 | 2c 20 70 61 67 65 52 65 |(column0|, pageRe|
|000030d0| 63 74 2d 3e 74 6f 70 29 | 3b 0d 09 44 72 61 77 54 |ct->top)|;..DrawT|
|000030e0| 65 78 74 28 61 6e 61 6c | 47 6e 6f 73 42 75 66 2e |ext(anal|GnosBuf.|
|000030f0| 70 61 69 72 5b 74 65 73 | 74 50 61 73 73 30 5d 2c |pair[tes|tPass0],|
|00003100| 20 30 2c 20 4d 41 58 50 | 41 44 29 3b 0d 09 4d 6f | 0, MAXP|AD);..Mo|
|00003110| 76 65 54 6f 28 63 6f 6c | 75 6d 6e 31 2c 20 70 61 |veTo(col|umn1, pa|
|00003120| 67 65 52 65 63 74 2d 3e | 74 6f 70 29 3b 0d 09 44 |geRect->|top);..D|
|00003130| 72 61 77 54 65 78 74 28 | 61 6e 61 6c 47 6e 6f 73 |rawText(|analGnos|
|00003140| 42 75 66 2e 70 61 69 72 | 5b 74 65 73 74 50 61 73 |Buf.pair|[testPas|
|00003150| 73 31 5d 2c 20 30 2c 20 | 4d 41 58 50 41 44 29 3b |s1], 0, |MAXPAD);|
|00003160| 0d 09 0d 09 70 61 67 65 | 52 65 63 74 2d 3e 74 6f |....page|Rect->to|
|00003170| 70 20 2b 3d 20 4c 49 4e | 45 48 45 49 47 48 54 3b |p += LIN|EHEIGHT;|
|00003180| 0d 09 4d 6f 76 65 54 6f | 28 70 61 67 65 52 65 63 |..MoveTo|(pageRec|
|00003190| 74 2d 3e 6c 65 66 74 2c | 20 70 61 67 65 52 65 63 |t->left,| pageRec|
|000031a0| 74 2d 3e 74 6f 70 29 3b | 0d 0d 09 47 65 74 49 6e |t->top);|...GetIn|
|000031b0| 64 53 74 72 69 6e 67 28 | 74 68 65 54 65 78 74 2c |dString(|theText,|
|000031c0| 20 73 74 72 73 41 6e 61 | 6c 79 7a 65 2c 20 61 6e | strsAna|lyze, an|
|000031d0| 61 6c 4d 61 72 6b 29 3b | 0d 09 44 72 61 77 53 74 |alMark);|..DrawSt|
|000031e0| 72 69 6e 67 28 74 68 65 | 54 65 78 74 29 3b 0d 09 |ring(the|Text);..|
|000031f0| 4d 6f 76 65 54 6f 28 63 | 6f 6c 75 6d 6e 30 2c 20 |MoveTo(c|olumn0, |
|00003200| 70 61 67 65 52 65 63 74 | 2d 3e 74 6f 70 29 3b 0d |pageRect|->top);.|
|00003210| 09 44 72 61 77 54 65 78 | 74 28 61 6e 61 6c 47 6e |.DrawTex|t(analGn|
|00003220| 6f 73 42 75 66 2e 6d 61 | 72 6b 5b 74 65 73 74 50 |osBuf.ma|rk[testP|
|00003230| 61 73 73 30 5d 2c 20 30 | 2c 20 4d 41 58 50 41 44 |ass0], 0|, MAXPAD|
|00003240| 29 3b 0d 09 4d 6f 76 65 | 54 6f 28 63 6f 6c 75 6d |);..Move|To(colum|
|00003250| 6e 31 2c 20 70 61 67 65 | 52 65 63 74 2d 3e 74 6f |n1, page|Rect->to|
|00003260| 70 29 3b 0d 09 44 72 61 | 77 54 65 78 74 28 61 6e |p);..Dra|wText(an|
|00003270| 61 6c 47 6e 6f 73 42 75 | 66 2e 6d 61 72 6b 5b 74 |alGnosBu|f.mark[t|
|00003280| 65 73 74 50 61 73 73 31 | 5d 2c 20 30 2c 20 4d 41 |estPass1|], 0, MA|
|00003290| 58 50 41 44 29 3b 0d 09 | 0d 09 70 61 67 65 52 65 |XPAD);..|..pageRe|
|000032a0| 63 74 2d 3e 74 6f 70 20 | 2b 3d 20 4c 49 4e 45 48 |ct->top |+= LINEH|
|000032b0| 45 49 47 48 54 3b 0d 09 | 4d 6f 76 65 54 6f 28 70 |EIGHT;..|MoveTo(p|
|000032c0| 61 67 65 52 65 63 74 2d | 3e 6c 65 66 74 2c 20 70 |ageRect-|>left, p|
|000032d0| 61 67 65 52 65 63 74 2d | 3e 74 6f 70 29 3b 0d 0d |ageRect-|>top);..|
|000032e0| 09 47 65 74 49 6e 64 53 | 74 72 69 6e 67 28 74 68 |.GetIndS|tring(th|
|000032f0| 65 54 65 78 74 2c 20 73 | 74 72 73 41 6e 61 6c 79 |eText, s|trsAnaly|
|00003300| 7a 65 2c 20 61 6e 61 6c | 41 6e 78 69 65 74 79 29 |ze, anal|Anxiety)|
|00003310| 3b 0d 09 44 72 61 77 53 | 74 72 69 6e 67 28 74 68 |;..DrawS|tring(th|
|00003320| 65 54 65 78 74 29 3b 0d | 09 4d 6f 76 65 54 6f 28 |eText);.|.MoveTo(|
|00003330| 63 6f 6c 75 6d 6e 30 2c | 20 70 61 67 65 52 65 63 |column0,| pageRec|
|00003340| 74 2d 3e 74 6f 70 29 3b | 0d 09 44 72 61 77 54 65 |t->top);|..DrawTe|
|00003350| 78 74 28 61 6e 61 6c 47 | 6e 6f 73 42 75 66 2e 61 |xt(analG|nosBuf.a|
|00003360| 6e 78 69 65 74 79 5b 74 | 65 73 74 50 61 73 73 30 |nxiety[t|estPass0|
|00003370| 5d 2c 20 30 2c 20 4d 41 | 58 50 41 44 29 3b 0d 09 |], 0, MA|XPAD);..|
|00003380| 4d 6f 76 65 54 6f 28 63 | 6f 6c 75 6d 6e 31 2c 20 |MoveTo(c|olumn1, |
|00003390| 70 61 67 65 52 65 63 74 | 2d 3e 74 6f 70 29 3b 0d |pageRect|->top);.|
|000033a0| 09 44 72 61 77 54 65 78 | 74 28 61 6e 61 6c 47 6e |.DrawTex|t(analGn|
|000033b0| 6f 73 42 75 66 2e 61 6e | 78 69 65 74 79 5b 74 65 |osBuf.an|xiety[te|
|000033c0| 73 74 50 61 73 73 31 5d | 2c 20 30 2c 20 4d 41 58 |stPass1]|, 0, MAX|
|000033d0| 50 41 44 29 3b 0d 09 0d | 09 70 61 67 65 52 65 63 |PAD);...|.pageRec|
|000033e0| 74 2d 3e 74 6f 70 20 2b | 3d 20 4c 49 4e 45 48 45 |t->top +|= LINEHE|
|000033f0| 49 47 48 54 3b 0d 09 4d | 6f 76 65 54 6f 28 70 61 |IGHT;..M|oveTo(pa|
|00003400| 67 65 52 65 63 74 2d 3e | 6c 65 66 74 2c 20 70 61 |geRect->|left, pa|
|00003410| 67 65 52 65 63 74 2d 3e | 74 6f 70 29 3b 0d 0d 09 |geRect->|top);...|
|00003420| 47 65 74 49 6e 64 53 74 | 72 69 6e 67 28 74 68 65 |GetIndSt|ring(the|
|00003430| 54 65 78 74 2c 20 73 74 | 72 73 41 6e 61 6c 79 7a |Text, st|rsAnalyz|
|00003440| 65 2c 20 61 6e 61 6c 53 | 74 72 65 73 73 29 3b 0d |e, analS|tress);.|
|00003450| 09 44 72 61 77 53 74 72 | 69 6e 67 28 74 68 65 54 |.DrawStr|ing(theT|
|00003460| 65 78 74 29 3b 0d 09 4d | 6f 76 65 54 6f 28 63 6f |ext);..M|oveTo(co|
|00003470| 6c 75 6d 6e 30 2c 20 70 | 61 67 65 52 65 63 74 2d |lumn0, p|ageRect-|
|00003480| 3e 74 6f 70 29 3b 0d 09 | 44 72 61 77 54 65 78 74 |>top);..|DrawText|
|00003490| 28 61 6e 61 6c 47 6e 6f | 73 42 75 66 2e 73 74 72 |(analGno|sBuf.str|
|000034a0| 65 73 73 5b 74 65 73 74 | 50 61 73 73 30 5d 2c 20 |ess[test|Pass0], |
|000034b0| 30 2c 20 4d 41 58 50 41 | 44 29 3b 0d 09 4d 6f 76 |0, MAXPA|D);..Mov|
|000034c0| 65 54 6f 28 63 6f 6c 75 | 6d 6e 31 2c 20 70 61 67 |eTo(colu|mn1, pag|
|000034d0| 65 52 65 63 74 2d 3e 74 | 6f 70 29 3b 0d 09 44 72 |eRect->t|op);..Dr|
|000034e0| 61 77 54 65 78 74 28 61 | 6e 61 6c 47 6e 6f 73 42 |awText(a|nalGnosB|
|000034f0| 75 66 2e 73 74 72 65 73 | 73 5b 74 65 73 74 50 61 |uf.stres|s[testPa|
|00003500| 73 73 31 5d 2c 20 30 2c | 20 4d 41 58 50 41 44 29 |ss1], 0,| MAXPAD)|
|00003510| 3b 0d 0d 09 70 61 67 65 | 52 65 63 74 2d 3e 74 6f |;...page|Rect->to|
|00003520| 70 20 2b 3d 20 4c 49 4e | 45 48 45 49 47 48 54 3b |p += LIN|EHEIGHT;|
|00003530| 0d 09 4d 6f 76 65 54 6f | 28 70 61 67 65 52 65 63 |..MoveTo|(pageRec|
|00003540| 74 2d 3e 6c 65 66 74 2c | 20 70 61 67 65 52 65 63 |t->left,| pageRec|
|00003550| 74 2d 3e 74 6f 70 29 3b | 0d 0d 09 47 65 74 49 6e |t->top);|...GetIn|
|00003560| 64 53 74 72 69 6e 67 28 | 74 68 65 54 65 78 74 2c |dString(|theText,|
|00003570| 20 73 74 72 73 41 6e 61 | 6c 79 7a 65 2c 20 61 6e | strsAna|lyze, an|
|00003580| 61 6c 54 6f 74 61 6c 29 | 3b 0d 09 44 72 61 77 53 |alTotal)|;..DrawS|
|00003590| 74 72 69 6e 67 28 74 68 | 65 54 65 78 74 29 3b 0d |tring(th|eText);.|
|000035a0| 09 4d 6f 76 65 54 6f 28 | 63 6f 6c 75 6d 6e 30 2c |.MoveTo(|column0,|
|000035b0| 20 70 61 67 65 52 65 63 | 74 2d 3e 74 6f 70 29 3b | pageRec|t->top);|
|000035c0| 0d 09 4e 75 6d 54 6f 53 | 74 72 69 6e 67 28 28 6c |..NumToS|tring((l|
|000035d0| 6f 6e 67 29 20 61 6e 61 | 6c 47 6e 6f 73 42 75 66 |ong) ana|lGnosBuf|
|000035e0| 2e 74 6f 74 61 6c 5b 74 | 65 73 74 50 61 73 73 30 |.total[t|estPass0|
|000035f0| 5d 2c 20 74 68 65 54 65 | 78 74 29 3b 0d 09 44 72 |], theTe|xt);..Dr|
|00003600| 61 77 53 74 72 69 6e 67 | 28 74 68 65 54 65 78 74 |awString|(theText|
|00003610| 29 3b 0d 09 4d 6f 76 65 | 54 6f 28 63 6f 6c 75 6d |);..Move|To(colum|
|00003620| 6e 31 2c 20 70 61 67 65 | 52 65 63 74 2d 3e 74 6f |n1, page|Rect->to|
|00003630| 70 29 3b 0d 09 4e 75 6d | 54 6f 53 74 72 69 6e 67 |p);..Num|ToString|
|00003640| 28 28 6c 6f 6e 67 29 20 | 61 6e 61 6c 47 6e 6f 73 |((long) |analGnos|
|00003650| 42 75 66 2e 74 6f 74 61 | 6c 5b 74 65 73 74 50 61 |Buf.tota|l[testPa|
|00003660| 73 73 31 5d 2c 20 74 68 | 65 54 65 78 74 29 3b 0d |ss1], th|eText);.|
|00003670| 09 44 72 61 77 53 74 72 | 69 6e 67 28 74 68 65 54 |.DrawStr|ing(theT|
|00003680| 65 78 74 29 3b 0d 09 0d | 09 70 61 67 65 52 65 63 |ext);...|.pageRec|
|00003690| 74 2d 3e 74 6f 70 20 2b | 3d 20 4c 49 4e 45 48 45 |t->top +|= LINEHE|
|000036a0| 49 47 48 54 20 2a 20 32 | 3b 09 0d 7d 0d 0d 00 00 |IGHT * 2|;..}....|
|000036b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+