home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / A / 007.FracApp.cpt / MFracApp.p < prev    next >
MacBinary  |  1988-08-01  |  5.5 KB  |  [TEXT/MPS ]

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: MFracApp.p

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert ZX81 Sinclair BASIC (image/sinclairBASIC) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Aug 1 17:06:58 1988, modified Mon Aug 1 17:06:58 1988, creator 'MPS ', type ASCII, 4964 bytes "MFracApp.p" , at 0x13e4 416 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 4d 46 72 61 63 41 | 70 70 2e 70 00 00 00 00 |..MFracA|pp.p....|
|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 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 13 64 00 | 00 01 a0 9f 1a 8d f2 9f |......d.|........|
|00000060| 1a 8d f2 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ed ac 00 00 |........|........|
|00000080| 7b 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |{-------|--------|
|00000090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|000000d0| 23 0d 23 09 41 70 70 6c | 65 20 4d 61 63 69 6e 74 |#.#.Appl|e Macint|
|000000e0| 6f 73 68 20 44 65 76 65 | 6c 6f 70 65 72 20 54 65 |osh Deve|loper Te|
|000000f0| 63 68 6e 69 63 61 6c 20 | 53 75 70 70 6f 72 74 0d |chnical |Support.|
|00000100| 23 0d 23 09 4d 61 63 41 | 70 70 20 43 6f 6c 6f 72 |#.#.MacA|pp Color|
|00000110| 20 51 75 69 63 6b 44 72 | 61 77 20 46 72 61 63 74 | QuickDr|aw Fract|
|00000120| 61 6c 20 53 61 6d 70 6c | 65 20 41 70 70 6c 69 63 |al Sampl|e Applic|
|00000130| 61 74 69 6f 6e 0d 23 0d | 23 09 46 72 61 63 41 70 |ation.#.|#.FracAp|
|00000140| 70 0d 23 0d 23 09 4d 46 | 72 61 63 41 70 70 2e 70 |p.#.#.MF|racApp.p|
|00000150| 09 2d 09 50 61 73 63 61 | 6c 20 53 6f 75 72 63 65 |.-.Pasca|l Source|
|00000160| 0d 23 0d 23 09 43 6f 70 | 79 72 69 67 68 74 20 a9 |.#.#.Cop|yright .|
|00000170| 20 31 39 38 38 20 41 70 | 70 6c 65 20 43 6f 6d 70 | 1988 Ap|ple Comp|
|00000180| 75 74 65 72 2c 20 49 6e | 63 2e 0d 23 09 41 6c 6c |uter, In|c..#.All|
|00000190| 20 72 69 67 68 74 73 20 | 72 65 73 65 72 76 65 64 | rights |reserved|
|000001a0| 2e 0d 23 0d 23 09 56 65 | 72 73 69 6f 6e 73 3a 09 |..#.#.Ve|rsions:.|
|000001b0| 31 2e 30 09 09 09 09 09 | 38 2f 38 38 0d 23 0d 23 |1.0.....|8/88.#.#|
|000001c0| 09 43 6f 6d 70 6f 6e 65 | 6e 74 73 3a 09 4d 46 72 |.Compone|nts:.MFr|
|000001d0| 61 63 41 70 70 2e 70 09 | 09 09 41 75 67 75 73 74 |acApp.p.|..August|
|000001e0| 20 31 2c 20 31 39 38 38 | 0d 23 09 09 09 09 55 46 | 1, 1988|.#....UF|
|000001f0| 72 61 63 41 70 70 2e 70 | 09 09 09 41 75 67 75 73 |racApp.p|...Augus|
|00000200| 74 20 31 2c 20 31 39 38 | 38 0d 23 09 09 09 09 55 |t 1, 198|8.#....U|
|00000210| 46 72 61 63 41 70 70 2e | 69 6e 63 31 2e 70 09 09 |FracApp.|inc1.p..|
|00000220| 41 75 67 75 73 74 20 31 | 2c 20 31 39 38 38 0d 23 |August 1|, 1988.#|
|00000230| 09 09 09 09 46 72 61 63 | 41 70 70 2e 72 09 09 09 |....Frac|App.r...|
|00000240| 41 75 67 75 73 74 20 31 | 2c 20 31 39 38 38 0d 23 |August 1|, 1988.#|
|00000250| 09 09 09 09 46 72 61 63 | 41 70 70 2e 6d 61 6b 65 |....Frac|App.make|
|00000260| 09 09 41 75 67 75 73 74 | 20 31 2c 20 31 39 38 38 |..August| 1, 1988|
|00000270| 0d 23 0d 23 09 54 68 69 | 73 20 69 73 20 61 20 70 |.#.#.Thi|s is a p|
|00000280| 72 6f 67 72 61 6d 20 74 | 6f 20 63 61 6c 63 75 6c |rogram t|o calcul|
|00000290| 61 74 65 20 74 68 65 20 | 4d 61 6e 64 65 6c 62 72 |ate the |Mandelbr|
|000002a0| 6f 74 20 73 65 74 2c 20 | 61 6c 6c 6f 77 69 6e 67 |ot set, |allowing|
|000002b0| 20 79 6f 75 20 74 6f 20 | 7a 6f 6f 6d 20 69 6e 20 | you to |zoom in |
|000002c0| 6f 6e 20 61 72 65 61 73 | 0d 23 09 74 68 61 74 20 |on areas|.#.that |
|000002d0| 61 72 65 20 73 65 6c 65 | 63 74 65 64 20 77 69 74 |are sele|cted wit|
|000002e0| 68 20 74 68 65 20 6d 6f | 75 73 65 2e 20 20 54 68 |h the mo|use. Th|
|000002f0| 65 72 65 20 61 72 65 20 | 73 6f 6d 65 20 73 70 65 |ere are |some spe|
|00000300| 63 69 61 6c 20 63 6f 6c | 6f 72 20 74 72 69 63 6b |cial col|or trick|
|00000310| 73 20 70 6c 61 79 65 64 | 0d 23 09 69 6e 20 6f 72 |s played|.#.in or|
|00000320| 64 65 72 20 74 6f 20 6d | 61 6b 65 20 74 68 65 20 |der to m|ake the |
|00000330| 70 72 6f 67 72 61 6d 20 | 6d 6f 72 65 20 6a 61 7a |program |more jaz|
|00000340| 7a 79 2e 20 20 41 20 73 | 70 65 63 69 61 6c 20 63 |zy. A s|pecial c|
|00000350| 6f 6c 6f 72 20 74 61 62 | 6c 65 20 69 73 20 75 73 |olor tab|le is us|
|00000360| 65 64 20 74 6f 20 67 69 | 76 65 0d 23 09 73 6d 6f |ed to gi|ve.#.smo|
|00000370| 6f 74 68 20 74 72 61 6e | 73 69 74 69 6f 6e 73 20 |oth tran|sitions |
|00000380| 66 72 6f 6d 20 6f 6e 65 | 20 63 6f 6c 6f 72 20 74 |from one| color t|
|00000390| 6f 20 74 68 65 20 6e 65 | 78 74 2e 20 20 43 6f 6c |o the ne|xt. Col|
|000003a0| 6f 72 20 74 61 62 6c 65 | 20 61 6e 69 6d 61 74 69 |or table| animati|
|000003b0| 6f 6e 20 69 73 20 61 6c | 73 6f 0d 23 09 73 75 70 |on is al|so.#.sup|
|000003c0| 70 6f 72 74 65 64 2c 20 | 66 6f 72 20 74 68 65 20 |ported, |for the |
|000003d0| 77 6f 77 65 6d 20 65 66 | 66 65 63 74 20 6f 66 20 |wowem ef|fect of |
|000003e0| 66 6c 6f 77 69 6e 67 20 | 4d 61 6e 64 65 6c 62 72 |flowing |Mandelbr|
|000003f0| 6f 74 20 69 6d 61 67 65 | 73 2e 20 0d 23 09 54 68 |ot image|s. .#.Th|
|00000400| 65 20 70 72 6f 67 72 61 | 6d 20 69 73 20 77 72 69 |e progra|m is wri|
|00000410| 74 74 65 6e 20 69 6e 20 | 4d 61 63 41 70 70 20 31 |tten in |MacApp 1|
|00000420| 2e 31 2c 20 77 68 69 63 | 68 20 65 78 70 6c 61 69 |.1, whic|h explai|
|00000430| 6e 73 20 77 68 79 20 69 | 74 20 68 61 73 20 61 20 |ns why i|t has a |
|00000440| 72 65 61 6c 20 75 73 65 | 72 0d 23 09 69 6e 74 65 |real use|r.#.inte|
|00000450| 72 66 61 63 65 2e 20 20 | 4d 61 6e 64 65 6c 62 72 |rface. |Mandelbr|
|00000460| 6f 74 20 69 6d 61 67 65 | 73 20 74 61 6b 65 20 61 |ot image|s take a|
|00000470| 62 6f 75 74 20 33 30 20 | 6d 69 6e 75 74 65 73 20 |bout 30 |minutes |
|00000480| 74 6f 20 63 61 6c 63 75 | 6c 61 74 65 2e 20 20 49 |to calcu|late. I|
|00000490| 74 20 69 73 0d 23 09 4a | 75 67 67 6c 65 72 20 61 |t is.#.J|uggler a|
|000004a0| 77 61 72 65 20 73 6f 20 | 79 6f 75 20 63 61 6e 20 |ware so |you can |
|000004b0| 70 75 74 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |put the |program |
|000004c0| 69 6e 20 74 68 65 20 62 | 61 63 6b 67 72 6f 75 6e |in the b|ackgroun|
|000004d0| 64 20 77 68 65 72 65 20 | 69 74 20 77 69 6c 6c 0d |d where |it will.|
|000004e0| 23 09 63 6f 6e 74 69 6e | 75 65 20 74 6f 20 63 61 |#.contin|ue to ca|
|000004f0| 6c 63 75 6c 61 74 65 2c | 20 77 68 69 6c 65 20 79 |lculate,| while y|
|00000500| 6f 75 20 64 6f 20 73 6f | 6d 65 74 68 69 6e 67 20 |ou do so|mething |
|00000510| 6d 6f 72 65 20 69 6d 70 | 6f 72 74 61 6e 74 2c 20 |more imp|ortant, |
|00000520| 6c 69 6b 65 20 6c 6f 6f | 6b 20 61 74 20 0d 23 09 |like loo|k at .#.|
|00000530| 74 68 65 20 73 6f 75 72 | 63 65 20 63 6f 64 65 2e |the sour|ce code.|
|00000540| 20 20 49 74 20 61 6c 73 | 6f 20 68 61 6e 64 6c 65 | It als|o handle|
|00000550| 73 20 6d 75 6c 74 69 70 | 6c 65 20 64 6f 63 75 6d |s multip|le docum|
|00000560| 65 6e 74 73 2c 20 61 6e | 64 20 72 65 61 64 69 6e |ents, an|d readin|
|00000570| 67 2f 77 72 69 74 69 6e | 67 20 6f 66 0d 23 09 50 |g/writin|g of.#.P|
|00000580| 49 43 54 20 66 69 6c 65 | 73 20 75 73 69 6e 67 20 |ICT file|s using |
|00000590| 74 68 65 20 62 6f 74 74 | 6c 65 6e 65 63 6b 73 20 |the bott|lenecks |
|000005a0| 74 6f 20 6d 69 6e 69 6d | 69 7a 65 20 74 68 65 20 |to minim|ize the |
|000005b0| 6d 65 6d 6f 72 79 20 68 | 69 74 2e 0d 23 09 0d 23 |memory h|it..#..#|
|000005c0| 09 54 68 69 73 20 70 72 | 6f 67 72 61 6d 20 69 73 |.This pr|ogram is|
|000005d0| 20 69 6e 74 65 6e 64 65 | 64 20 74 6f 20 62 65 20 | intende|d to be |
|000005e0| 61 20 72 65 61 6c 20 77 | 6f 72 6c 64 20 65 78 61 |a real w|orld exa|
|000005f0| 6d 70 6c 65 20 6f 66 20 | 68 61 6e 64 6c 69 6e 67 |mple of |handling|
|00000600| 20 63 6f 6c 6f 72 20 69 | 6e 20 61 0d 23 09 6e 6f | color i|n a.#.no|
|00000610| 6e 74 72 69 76 69 61 6c | 20 66 61 73 68 69 6f 6e |ntrivial| fashion|
|00000620| 2e 20 20 41 73 20 73 75 | 63 68 20 69 74 20 68 61 |. As su|ch it ha|
|00000630| 73 20 73 6f 6d 65 20 72 | 61 74 68 65 72 20 73 70 |s some r|ather sp|
|00000640| 65 63 69 61 6c 20 63 6f | 6c 6f 72 20 72 65 71 75 |ecial co|lor requ|
|00000650| 69 72 65 6d 65 6e 74 73 | 2c 0d 23 09 61 6e 64 20 |irements|,.#.and |
|00000660| 74 68 6f 73 65 20 64 6f | 6e d5 74 20 6d 61 74 63 |those do|n.t matc|
|00000670| 68 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 73 79 |h the cu|rrent sy|
|00000680| 73 74 65 6d 20 61 72 63 | 68 69 74 65 63 74 75 72 |stem arc|hitectur|
|00000690| 65 20 76 65 72 79 20 77 | 65 6c 6c 2e 20 20 54 68 |e very w|ell. Th|
|000006a0| 65 20 70 72 6f 67 72 61 | 6d 0d 23 09 69 73 20 64 |e progra|m.#.is d|
|000006b0| 65 73 69 67 6e 65 64 20 | 74 6f 20 62 65 20 63 6f |esigned |to be co|
|000006c0| 6d 70 61 74 69 62 6c 65 | 20 77 69 74 68 20 74 68 |mpatible| with th|
|000006d0| 65 20 66 75 74 75 72 65 | 2c 20 69 74 20 77 69 6c |e future|, it wil|
|000006e0| 6c 20 6e 6f 74 20 62 72 | 65 61 6b 20 69 6e 20 66 |l not br|eak in f|
|000006f0| 75 74 75 72 65 0d 23 09 | 73 79 73 74 65 6d 73 2e |uture.#.|systems.|
|00000700| 20 20 48 6f 77 65 76 65 | 72 2c 20 69 74 20 64 6f | Howeve|r, it do|
|00000710| 65 73 20 6e 6f 74 20 75 | 73 65 20 74 68 65 20 50 |es not u|se the P|
|00000720| 61 6c 65 74 74 65 20 4d | 61 6e 61 67 65 72 2c 20 |alette M|anager, |
|00000730| 77 68 69 63 68 20 6d 65 | 61 6e 73 20 74 68 61 74 |which me|ans that|
|00000740| 0d 23 09 74 68 65 72 65 | 20 77 69 6c 6c 20 62 65 |.#.there| will be|
|00000750| 20 73 69 74 75 61 74 69 | 6f 6e 73 20 77 68 65 72 | situati|ons wher|
|00000760| 65 20 74 68 65 20 63 6f | 6c 6f 72 73 20 77 69 6c |e the co|lors wil|
|00000770| 6c 20 6e 6f 74 20 6c 6f | 6f 6b 20 72 69 67 68 74 |l not lo|ok right|
|00000780| 20 69 6e 20 65 69 74 68 | 65 72 20 46 72 61 63 41 | in eith|er FracA|
|00000790| 70 70 0d 23 09 6f 72 20 | 61 6e 6f 74 68 65 72 20 |pp.#.or |another |
|000007a0| 70 72 6f 67 72 61 6d 20 | 72 75 6e 6e 69 6e 67 20 |program |running |
|000007b0| 75 6e 64 65 72 20 4d 75 | 6c 74 69 46 69 6e 64 65 |under Mu|ltiFinde|
|000007c0| 72 2e 20 20 54 68 65 20 | 61 70 70 72 6f 61 63 68 |r. The |approach|
|000007d0| 20 74 68 61 74 20 46 72 | 61 63 41 70 70 0d 23 09 | that Fr|acApp.#.|
|000007e0| 75 73 65 73 20 69 73 20 | 74 68 75 73 20 6e 6f 74 |uses is |thus not|
|000007f0| 20 74 68 65 20 70 72 65 | 66 65 72 72 65 64 20 41 | the pre|ferred A|
|00000800| 70 70 6c 65 20 61 70 70 | 72 6f 61 63 68 20 61 6e |pple app|roach an|
|00000810| 64 20 64 6f 65 73 20 4e | 4f 54 20 68 61 76 65 20 |d does N|OT have |
|00000820| 74 68 65 20 41 70 70 6c | 65 0d 23 09 73 65 61 6c |the Appl|e.#.seal|
|00000830| 20 6f 66 20 61 70 70 72 | 6f 76 61 6c 20 66 72 6f | of appr|oval fro|
|00000840| 6d 20 65 6e 67 69 6e 65 | 65 72 69 6e 67 2e 20 20 |m engine|ering. |
|00000850| 54 68 65 20 6f 6e 6c 79 | 20 77 61 79 20 74 6f 20 |The only| way to |
|00000860| 67 65 74 20 74 68 65 20 | 73 74 61 6d 70 20 6f 66 |get the |stamp of|
|00000870| 20 61 70 70 72 6f 76 61 | 6c 0d 23 09 69 73 20 74 | approva|l.#.is t|
|00000880| 6f 20 75 73 65 20 74 68 | 65 20 50 61 6c 65 74 74 |o use th|e Palett|
|00000890| 65 20 4d 61 6e 61 67 65 | 72 2e 20 20 54 6f 20 64 |e Manage|r. To d|
|000008a0| 6f 20 61 20 70 72 6f 67 | 72 61 6d 20 6f 66 20 74 |o a prog|ram of t|
|000008b0| 68 69 73 20 66 6f 72 6d | 2c 20 79 6f 75 20 63 61 |his form|, you ca|
|000008c0| 6e 6e 6f 74 0d 23 09 75 | 73 65 20 74 68 65 20 50 |nnot.#.u|se the P|
|000008d0| 61 6c 65 74 74 65 20 4d | 61 6e 61 67 65 72 20 77 |alette M|anager w|
|000008e0| 69 74 68 6f 75 74 20 73 | 6f 6d 65 20 65 78 74 72 |ithout s|ome extr|
|000008f0| 61 20 68 61 63 6b 73 20 | 74 68 61 74 20 61 72 65 |a hacks |that are|
|00000900| 20 63 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 0d 23 | compati|bility.#|
|00000910| 09 72 69 73 6b 73 20 69 | 6e 20 74 68 65 6d 73 65 |.risks i|n themse|
|00000920| 6c 76 65 73 2e 20 20 53 | 6f 2e 2e 2e 20 75 73 65 |lves. S|o... use|
|00000930| 20 61 74 20 79 6f 75 72 | 20 6f 77 6e 20 72 69 73 | at your| own ris|
|00000940| 6b 2e 20 20 49 66 20 79 | 6f 75 20 61 72 65 20 66 |k. If y|ou are f|
|00000950| 6f 72 63 65 64 20 74 6f | 20 72 65 76 69 73 65 20 |orced to| revise |
|00000960| 79 6f 75 72 20 0d 23 09 | 70 72 6f 67 72 61 6d 20 |your .#.|program |
|00000970| 62 65 63 61 75 73 65 20 | 79 6f 75 20 66 6f 6c 6c |because |you foll|
|00000980| 6f 77 65 64 20 74 68 69 | 73 20 61 73 20 61 6e 20 |owed thi|s as an |
|00000990| 65 78 61 6d 70 6c 65 2c | 20 79 6f 75 20 63 61 6e |example,| you can|
|000009a0| 6e 6f 74 20 67 72 69 70 | 65 20 74 6f 20 41 70 70 |not grip|e to App|
|000009b0| 6c 65 2c 20 73 69 6e 63 | 65 0d 23 09 69 74 20 69 |le, sinc|e.#.it i|
|000009c0| 73 20 6e 6f 74 20 66 75 | 6c 6c 79 20 61 70 70 72 |s not fu|lly appr|
|000009d0| 6f 76 65 64 2e 20 20 59 | 6f 75 20 6a 75 73 74 20 |oved. Y|ou just |
|000009e0| 68 61 76 65 20 74 6f 20 | 63 68 61 6e 67 65 20 79 |have to |change y|
|000009f0| 6f 75 72 20 70 72 6f 67 | 72 61 6d 2c 20 77 68 69 |our prog|ram, whi|
|00000a00| 63 68 20 49 20 68 6f 70 | 65 20 69 73 20 6e 6f 0d |ch I hop|e is no.|
|00000a10| 23 09 62 69 67 20 64 65 | 61 6c 2e 20 20 59 6f 75 |#.big de|al. You|
|00000a20| 20 63 61 6e 20 67 69 76 | 65 20 74 68 69 73 20 63 | can giv|e this c|
|00000a30| 6f 64 65 20 74 6f 20 6f | 74 68 65 72 20 70 65 6f |ode to o|ther peo|
|00000a40| 70 6c 65 2c 20 61 73 20 | 6c 6f 6e 67 20 61 73 20 |ple, as |long as |
|00000a50| 74 68 65 79 20 72 65 63 | 6f 67 6e 69 7a 65 0d 23 |they rec|ognize.#|
|00000a60| 09 74 68 61 74 20 69 74 | 20 69 73 20 6e 6f 74 20 |.that it| is not |
|00000a70| 66 75 6c 6c 79 20 61 70 | 70 72 6f 76 65 64 20 74 |fully ap|proved t|
|00000a80| 6f 6f 2e 20 0d 23 09 0d | 23 09 55 6e 6c 65 73 73 |oo. .#..|#.Unless|
|00000a90| 20 79 6f 75 20 68 61 76 | 65 20 76 65 72 79 20 73 | you hav|e very s|
|00000aa0| 70 65 63 69 61 6c 20 63 | 6f 6c 6f 72 20 72 65 71 |pecial c|olor req|
|00000ab0| 75 69 72 65 6d 65 6e 74 | 73 2c 20 79 6f 75 20 73 |uirement|s, you s|
|00000ac0| 68 6f 75 6c 64 20 75 73 | 65 20 74 68 65 20 50 61 |hould us|e the Pa|
|00000ad0| 6c 65 74 74 65 20 0d 23 | 09 4d 61 6e 61 67 65 72 |lette .#|.Manager|
|00000ae0| 2e 20 20 49 74 20 77 6f | 72 6b 73 20 66 6f 72 20 |. It wo|rks for |
|00000af0| 6d 6f 73 74 20 74 68 69 | 6e 67 73 2c 20 61 6e 64 |most thi|ngs, and|
|00000b00| 20 69 73 20 6d 75 63 68 | 20 65 61 73 69 65 72 20 | is much| easier |
|00000b10| 74 6f 20 75 73 65 20 74 | 68 61 6e 20 74 68 65 0d |to use t|han the.|
|00000b20| 23 09 61 70 70 72 6f 61 | 63 68 20 74 61 6b 65 6e |#.approa|ch taken|
|00000b30| 20 68 65 72 65 2e 20 20 | 54 68 65 72 65 20 61 72 | here. |There ar|
|00000b40| 65 20 61 20 66 65 77 20 | 74 68 69 6e 67 73 20 69 |e a few |things i|
|00000b50| 74 20 77 6f 6e d5 74 20 | 64 6f 20 6f 66 20 63 6f |t won.t |do of co|
|00000b60| 75 72 73 65 2c 20 6c 65 | 61 64 69 6e 67 0d 23 09 |urse, le|ading.#.|
|00000b70| 74 6f 20 74 68 69 73 20 | 63 6f 64 65 2e 20 20 49 |to this |code. I|
|00000b80| 66 20 79 6f 75 20 63 61 | 6e 20 64 6f 20 69 74 2c |f you ca|n do it,|
|00000b90| 20 75 73 65 20 74 68 65 | 20 50 61 6c 65 74 74 65 | use the| Palette|
|00000ba0| 20 4d 61 6e 61 67 65 72 | 20 61 6e 64 20 73 61 76 | Manager| and sav|
|00000bb0| 65 20 79 6f 75 72 73 65 | 6c 66 0d 23 09 73 6f 6d |e yourse|lf.#.som|
|00000bc0| 65 20 67 72 69 65 66 2e | 0d 23 09 09 09 57 72 69 |e grief.|.#...Wri|
|00000bd0| 74 74 65 6e 20 69 6e 20 | 4d 61 63 41 70 70 20 4f |tten in |MacApp O|
|00000be0| 62 6a 65 63 74 20 50 61 | 73 63 61 6c 20 63 6f 64 |bject Pa|scal cod|
|00000bf0| 65 2e 0d 23 09 09 09 43 | 6f 6d 70 61 74 69 62 69 |e..#...C|ompatibi|
|00000c00| 6c 69 74 79 20 72 61 74 | 69 6e 67 20 3d 20 32 2e |lity rat|ing = 2.|
|00000c10| 20 20 28 6e 6f 74 68 69 | 6e 67 20 77 69 6c 6c 20 | (nothi|ng will |
|00000c20| 62 72 65 61 6b 2c 20 62 | 75 74 20 69 74 20 6d 61 |break, b|ut it ma|
|00000c30| 79 20 6e 6f 74 0d 23 09 | 09 09 09 61 6c 77 61 79 |y not.#.|...alway|
|00000c40| 73 20 6c 6f 6f 6b 20 63 | 6f 72 72 65 63 74 2e 29 |s look c|orrect.)|
|00000c50| 0d 23 0d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.#.-----|--------|
|00000c60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ca0| 2d 7d 0d 7b 63 6f 70 79 | 72 69 67 68 74 20 31 39 |-}.{copy|right 19|
|00000cb0| 38 38 20 62 79 20 42 6f | 62 2e 20 20 41 6c 6c 20 |88 by Bo|b. All |
|00000cc0| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|00000cd0| 0d 09 46 65 62 72 75 61 | 72 79 20 31 2c 20 31 39 |..Februa|ry 1, 19|
|00000ce0| 38 38 2e 20 0d 09 57 72 | 69 74 74 65 6e 20 62 79 |88. ..Wr|itten by|
|00000cf0| 20 42 6f 33 62 20 4a 6f | 68 6e 73 6f 6e 20 6f 66 | Bo3b Jo|hnson of|
|00000d00| 20 44 65 76 65 6c 6f 70 | 65 72 20 54 65 63 68 6e | Develop|er Techn|
|00000d10| 69 63 61 6c 20 53 75 70 | 70 6f 72 74 2e 20 7d 0d |ical Sup|port. }.|
|00000d20| 0d 50 52 4f 47 52 41 4d | 20 46 72 61 63 41 70 70 |.PROGRAM| FracApp|
|00000d30| 3b 0d 0d 55 53 45 53 0d | 09 7b 24 4c 4f 41 44 20 |;..USES.|.{$LOAD |
|00000d40| 4d 61 63 49 6e 74 66 2e | 4c 4f 41 44 7d 0d 09 09 |MacIntf.|LOAD}...|
|00000d50| 4d 65 6d 54 79 70 65 73 | 2c 20 51 75 69 63 6b 44 |MemTypes|, QuickD|
|00000d60| 72 61 77 2c 20 4f 53 49 | 6e 74 66 2c 20 54 6f 6f |raw, OSI|ntf, Too|
|00000d70| 6c 49 6e 74 66 2c 20 50 | 61 63 6b 49 6e 74 66 2c |lIntf, P|ackIntf,|
|00000d80| 0d 09 7b 24 4c 4f 41 44 | 20 55 4d 61 63 41 70 70 |..{$LOAD| UMacApp|
|00000d90| 2e 4c 4f 41 44 7d 0d 09 | 09 55 4f 62 6a 65 63 74 |.LOAD}..|.UObject|
|00000da0| 2c 20 55 4c 69 73 74 2c | 20 55 4d 61 63 41 70 70 |, UList,| UMacApp|
|00000db0| 2c 0d 09 7b 24 4c 4f 41 | 44 20 55 42 6f 62 4c 69 |,..{$LOA|D UBobLi|
|00000dc0| 70 73 2e 4c 4f 41 44 7d | 0d 09 09 50 61 6c 65 74 |ps.LOAD}|...Palet|
|00000dd0| 74 65 4d 67 72 2c 20 55 | 50 72 69 6e 74 69 6e 67 |teMgr, U|Printing|
|00000de0| 2c 0d 09 7b 24 4c 4f 41 | 44 7d 0d 0d 09 55 46 72 |,..{$LOA|D}...UFr|
|00000df0| 61 63 41 70 70 3b 0d 0d | 0d 56 41 52 0d 09 7b 54 |acApp;..|.VAR..{T|
|00000e00| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 6f |he appli|cation o|
|00000e10| 62 6a 65 63 74 3a 7d 0d | 09 67 46 72 61 63 41 70 |bject:}.|.gFracAp|
|00000e20| 70 41 70 70 6c 69 63 61 | 74 69 6f 6e 3a 20 20 20 |pApplica|tion: |
|00000e30| 54 46 72 61 63 41 70 70 | 41 70 70 6c 69 63 61 74 |TFracApp|Applicat|
|00000e40| 69 6f 6e 3b 0d 09 65 72 | 72 6f 72 3a 09 49 6e 74 |ion;..er|ror:.Int|
|00000e50| 65 67 65 72 3b 0d 09 0d | 0d 46 55 4e 43 54 49 4f |eger;...|.FUNCTIO|
|00000e60| 4e 20 46 6f 72 63 65 45 | 6e 76 69 72 6f 6e 73 28 |N ForceE|nvirons(|
|00000e70| 6d 69 6e 69 6d 75 6d 53 | 79 73 74 65 6d 56 65 72 |minimumS|ystemVer|
|00000e80| 73 69 6f 6e 3a 20 49 4e | 54 45 47 45 52 3b 0d 09 |sion: IN|TEGER;..|
|00000e90| 09 09 09 09 09 09 20 20 | 6d 69 6e 69 6d 75 6d 50 |...... |minimumP|
|00000ea0| 72 6f 63 65 73 73 6f 72 | 3a 20 49 4e 54 45 47 45 |rocessor|: INTEGE|
|00000eb0| 52 3b 20 6e 65 65 64 73 | 46 50 55 3a 20 42 4f 4f |R; needs|FPU: BOO|
|00000ec0| 4c 45 41 4e 3b 0d 09 09 | 09 09 09 09 09 20 20 6e |LEAN;...|..... n|
|00000ed0| 65 65 64 73 43 6f 6c 6f | 72 51 44 3a 20 42 4f 4f |eedsColo|rQD: BOO|
|00000ee0| 4c 45 41 4e 3b 0d 09 09 | 09 09 09 09 09 20 20 6d |LEAN;...|..... m|
|00000ef0| 69 6e 69 6d 75 6d 41 54 | 44 72 76 72 56 65 72 73 |inimumAT|DrvrVers|
|00000f00| 4e 75 6d 3a 20 49 4e 54 | 45 47 45 52 29 3a 20 42 |Num: INT|EGER): B|
|00000f10| 4f 4f 4c 45 41 4e 3b 0d | 0d 09 56 41 52 0d 09 09 |OOLEAN;.|..VAR...|
|00000f20| 65 72 72 6f 72 3a 20 4f | 53 45 72 72 3b 0d 09 09 |error: O|SErr;...|
|00000f30| 74 68 65 57 6f 72 6c 64 | 3a 20 53 79 73 45 6e 76 |theWorld|: SysEnv|
|00000f40| 52 65 63 3b 0d 0d 09 42 | 45 47 49 4e 0d 09 09 65 |Rec;...B|EGIN...e|
|00000f50| 72 72 6f 72 20 3a 3d 20 | 53 79 73 45 6e 76 69 72 |rror := |SysEnvir|
|00000f60| 6f 6e 73 28 31 2c 74 68 | 65 57 6f 72 6c 64 29 3b |ons(1,th|eWorld);|
|00000f70| 0d 09 09 57 49 54 48 20 | 74 68 65 57 6f 72 6c 64 |...WITH |theWorld|
|00000f80| 20 44 4f 0d 09 09 09 46 | 6f 72 63 65 45 6e 76 69 | DO....F|orceEnvi|
|00000f90| 72 6f 6e 73 20 3a 3d 20 | 28 73 79 73 74 65 6d 56 |rons := |(systemV|
|00000fa0| 65 72 73 69 6f 6e 20 3e | 3d 20 6d 69 6e 69 6d 75 |ersion >|= minimu|
|00000fb0| 6d 53 79 73 74 65 6d 56 | 65 72 73 69 6f 6e 29 20 |mSystemV|ersion) |
|00000fc0| 41 4e 44 0d 09 09 09 09 | 09 09 09 09 20 20 28 70 |AND.....|.... (p|
|00000fd0| 72 6f 63 65 73 73 6f 72 | 20 3e 3d 20 6d 69 6e 69 |rocessor| >= mini|
|00000fe0| 6d 75 6d 50 72 6f 63 65 | 73 73 6f 72 29 20 41 4e |mumProce|ssor) AN|
|00000ff0| 44 20 28 68 61 73 46 50 | 55 20 3e 3d 0d 09 09 09 |D (hasFP|U >=....|
|00001000| 09 09 09 09 09 20 20 6e | 65 65 64 73 46 50 55 29 |..... n|eedsFPU)|
|00001010| 20 41 4e 44 20 28 6e 65 | 65 64 73 43 6f 6c 6f 72 | AND (ne|edsColor|
|00001020| 51 44 20 3e 3d 20 68 61 | 73 43 6f 6c 6f 72 51 44 |QD >= ha|sColorQD|
|00001030| 29 20 41 4e 44 0d 09 09 | 09 09 09 09 09 09 20 20 |) AND...|...... |
|00001040| 28 61 74 44 72 76 72 56 | 65 72 73 4e 75 6d 20 3e |(atDrvrV|ersNum >|
|00001050| 3d 20 6d 69 6e 69 6d 75 | 6d 41 54 44 72 76 72 56 |= minimu|mATDrvrV|
|00001060| 65 72 73 4e 75 6d 29 3b | 0d 09 45 4e 44 3b 0d 0d |ersNum);|..END;..|
|00001070| 0d 42 45 47 49 4e 0d 09 | 7b 49 6e 69 74 69 61 6c |.BEGIN..|{Initial|
|00001080| 69 7a 65 20 74 68 65 20 | 54 6f 6f 6c 62 6f 78 2c |ize the |Toolbox,|
|00001090| 20 6d 61 6b 69 6e 67 20 | 38 20 63 61 6c 6c 73 20 | making |8 calls |
|000010a0| 74 6f 20 4d 6f 72 65 4d | 61 73 74 65 72 73 3a 7d |to MoreM|asters:}|
|000010b0| 0d 09 49 6e 69 74 54 6f | 6f 6c 62 6f 78 28 38 29 |..InitTo|olbox(8)|
|000010c0| 3b 0d 0d 09 09 7b 20 54 | 68 65 20 66 69 72 73 74 |;....{ T|he first|
|000010d0| 20 74 68 69 6e 67 20 77 | 65 20 68 61 76 65 20 74 | thing w|e have t|
|000010e0| 6f 20 64 6f 20 69 73 20 | 65 6e 73 75 72 65 20 74 |o do is |ensure t|
|000010f0| 68 61 74 20 77 65 20 63 | 61 6e 20 72 75 6e 20 69 |hat we c|an run i|
|00001100| 6e 20 74 68 69 73 20 65 | 6e 76 69 72 6f 6e 6d 65 |n this e|nvironme|
|00001110| 6e 74 2e 20 20 0d 09 09 | 09 57 65 20 6d 75 73 74 |nt. ...|.We must|
|00001120| 20 64 6f 20 61 20 46 6f | 72 63 65 45 6e 76 69 72 | do a Fo|rceEnvir|
|00001130| 6f 6e 73 20 74 6f 20 61 | 76 6f 69 64 20 63 72 61 |ons to a|void cra|
|00001140| 73 68 69 6e 67 20 6e 65 | 65 64 6c 65 73 73 6c 79 |shing ne|edlessly|
|00001150| 20 6f 6e 20 6d 61 63 68 | 69 6e 65 73 20 77 68 65 | on mach|ines whe|
|00001160| 72 65 0d 09 09 09 77 65 | 20 68 61 76 65 20 6e 6f |re....we| have no|
|00001170| 20 63 6f 6c 6f 72 20 6f | 72 20 38 38 31 2e 20 20 | color o|r 881. |
|00001180| 54 68 65 20 6d 69 6e 69 | 6d 75 6d 20 73 79 73 74 |The mini|mum syst|
|00001190| 65 6d 20 69 73 20 34 2e | 32 20 73 69 6e 63 65 20 |em is 4.|2 since |
|000011a0| 77 65 20 6e 65 65 64 20 | 74 68 65 20 6d 6f 72 65 |we need |the more|
|000011b0| 0d 09 09 09 72 6f 62 75 | 73 74 20 50 61 6c 65 74 |....robu|st Palet|
|000011c0| 74 65 20 4d 61 6e 61 67 | 65 72 2e 20 20 57 65 20 |te Manag|er. We |
|000011d0| 64 6f 6e d5 74 20 75 73 | 65 20 30 32 30 20 63 6f |don.t us|e 020 co|
|000011e0| 64 65 2c 20 62 75 74 20 | 77 65 20 72 65 71 75 69 |de, but |we requi|
|000011f0| 72 65 20 61 6e 20 46 50 | 55 2e 20 20 57 65 0d 09 |re an FP|U. We..|
|00001200| 09 09 61 6c 73 6f 20 72 | 65 71 75 69 72 65 20 63 |..also r|equire c|
|00001210| 6f 6c 6f 72 51 44 2e 20 | 20 49 66 20 77 65 20 64 |olorQD. | If we d|
|00001220| 6f 6e d5 74 20 68 61 76 | 65 20 74 68 65 20 73 74 |on.t hav|e the st|
|00001230| 75 66 66 20 77 65 20 6e | 65 65 64 2c 20 77 65 20 |uff we n|eed, we |
|00001240| 77 69 6c 6c 20 61 6c 65 | 72 74 20 61 6e 64 0d 09 |will ale|rt and..|
|00001250| 09 09 6c 65 61 76 65 2e | 20 20 7d 0d 20 09 49 46 |..leave.| }. .IF|
|00001260| 20 4e 4f 54 20 46 6f 72 | 63 65 45 6e 76 69 72 6f | NOT For|ceEnviro|
|00001270| 6e 73 28 24 30 34 32 30 | 2c 20 65 6e 76 44 6f 6e |ns($0420|, envDon|
|00001280| 74 43 61 72 65 2c 20 54 | 52 55 45 2c 20 54 52 55 |tCare, T|RUE, TRU|
|00001290| 45 2c 20 65 6e 76 44 6f | 6e 74 43 61 72 65 29 20 |E, envDo|ntCare) |
|000012a0| 54 48 45 4e 0d 09 09 46 | 61 69 6c 75 72 65 20 28 |THEN...F|ailure (|
|000012b0| 6b 57 72 6f 6e 67 4d 61 | 63 68 69 6e 65 2c 20 30 |kWrongMa|chine, 0|
|000012c0| 29 3b 0d 09 0d 09 7b 49 | 6e 69 74 69 61 6c 69 7a |);....{I|nitializ|
|000012d0| 65 20 74 68 65 20 55 50 | 72 69 6e 74 69 6e 67 20 |e the UP|rinting |
|000012e0| 75 6e 69 74 3a 7d 0d 09 | 49 6e 69 74 50 72 69 6e |unit:}..|InitPrin|
|000012f0| 74 69 6e 67 3b 0d 0d 09 | 7b 41 6c 6c 6f 63 61 74 |ting;...|{Allocat|
|00001300| 65 20 61 20 6e 65 77 20 | 54 46 72 61 63 41 70 70 |e a new |TFracApp|
|00001310| 41 70 70 6c 69 63 61 74 | 69 6f 6e 20 6f 62 6a 65 |Applicat|ion obje|
|00001320| 63 74 3a 7d 0d 09 4e 65 | 77 28 67 46 72 61 63 41 |ct:}..Ne|w(gFracA|
|00001330| 70 70 41 70 70 6c 69 63 | 61 74 69 6f 6e 29 3b 0d |ppApplic|ation);.|
|00001340| 0d 09 7b 49 6e 69 74 69 | 61 6c 69 7a 65 20 74 68 |..{Initi|alize th|
|00001350| 61 74 20 6e 65 77 20 6f | 62 6a 65 63 74 3a 7d 0d |at new o|bject:}.|
|00001360| 09 67 46 72 61 63 41 70 | 70 41 70 70 6c 69 63 61 |.gFracAp|pApplica|
|00001370| 74 69 6f 6e 2e 49 46 72 | 61 63 41 70 70 41 70 70 |tion.IFr|acAppApp|
|00001380| 6c 69 63 61 74 69 6f 6e | 28 6b 46 69 6c 65 54 79 |lication|(kFileTy|
|00001390| 70 65 29 3b 0d 0d 09 7b | 52 75 6e 20 74 68 65 20 |pe);...{|Run the |
|000013a0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2e 20 20 57 68 |applicat|ion. Wh|
|000013b0| 65 6e 20 69 74 27 73 20 | 64 6f 6e 65 2c 20 65 78 |en it's |done, ex|
|000013c0| 69 74 2e 7d 0d 09 67 46 | 72 61 63 41 70 70 41 70 |it.}..gF|racAppAp|
|000013d0| 70 6c 69 63 61 74 69 6f | 6e 2e 52 75 6e 3b 0d 45 |plicatio|n.Run;.E|
|000013e0| 4e 44 2e 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |ND......|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 01 00 00 00 01 62 | 00 00 00 62 00 00 00 3e |.......b|...b...>|
|00001410| 69 6f 6e 2e 49 41 70 70 | 6c 69 63 61 74 69 6f 6e |ion.IApp|lication|
|00001420| 28 6b 46 69 6c 65 54 79 | 70 65 29 3b 20 20 20 20 |(kFileTy|pe); |
|00001430| 0a 4d 46 72 61 63 41 70 | 70 2e 70 63 02 00 00 00 |.MFracAp|p.pc....|
|00001440| 54 45 58 54 4d 50 53 20 | 01 00 00 00 00 c0 00 00 |TEXTMPS |........|
|00001450| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 00 00 c0 |..TEXTMP|S ......|
|00001460| 00 00 01 b6 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 9c c4 e4 50 00 00 | 13 64 00 00 01 a0 6c 69 |.....P..|.d....li|
|00001480| 63 61 74 69 6f 6e 7d 0d | 45 4e 44 2e 0d 28 67 4e |cation}.|END..(gN|
|00001490| 6f 74 68 69 6e 67 41 70 | 70 6c 69 63 61 74 69 6f |othingAp|plicatio|
|000014a0| 6e 29 3b 09 09 09 09 09 | 20 20 20 20 7b 41 6c 6c |n);.....| {All|
|000014b0| 6f 63 61 74 65 20 74 68 | 65 20 41 70 70 6c 69 63 |ocate th|e Applic|
|000014c0| 61 74 69 6f 6e 20 6f 62 | 6a 65 63 74 7d 0d 20 20 |ation ob|ject}. |
|000014d0| 20 20 67 4e 6f 74 68 69 | 6e 67 41 70 70 6c 69 63 | gNothi|ngApplic|
|000014e0| 61 74 69 6f 6e 2e 49 41 | 70 70 6c 69 63 61 74 69 |ation.IA|pplicati|
|000014f0| 6f 6e 28 6b 46 69 6c 65 | 54 79 70 65 29 3b 20 20 |on(kFile|Type); |
|00001500| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 63 61 00 |...H..Mo|naco.ca.|
|00001510| 00 00 00 01 cf 1a 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|00001520| 00 00 00 00 00 00 00 06 | 00 04 00 27 00 00 01 df |........|...'....|
|00001530| 02 30 00 27 00 00 01 df | 02 30 9f 1a 45 7d 00 00 |.0.'....|.0..E}..|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 12 |........|........|
|00001550| 00 01 00 00 0c a9 00 00 | 0c b0 07 46 72 61 63 41 |........|...FracA|
|00001560| 70 70 00 00 01 00 00 00 | 01 62 00 00 00 62 00 00 |pp......|.b...b..|
|00001570| 00 3e 00 05 bb e8 04 c8 | 00 00 00 1c 00 3e 00 00 |.>......|.....>..|
|00001580| 4d 50 53 52 00 01 00 0a | 03 ed ff ff 00 00 00 00 |MPSR....|........|
|00001590| 00 00 00 00 03 ef ff ff | 00 00 00 4c 00 00 00 00 |........|...L....|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+