home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-04-14 | 6.3 KB | [TEXT/AIFC] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [AIFC] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 47 75 69 64 65 00 | 00 00 00 00 00 00 00 00 |..Guide.|........|
|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 41 49 46 | 43 01 00 00 00 00 00 00 |.TEXTAIF|C.......|
|00000050| 00 00 00 00 00 16 8e 00 | 00 01 7c a6 10 11 2e a6 |........|..|.....|
|00000060| 10 11 2e 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 59 23 00 00 |........|....Y#..|
|00000080| 2f 2a 0d 47 75 69 64 65 | 20 46 69 6c 65 20 66 6f |/*.Guide| File fo|
|00000090| 72 20 45 78 61 6d 70 6c | 65 73 20 46 6f 6c 64 65 |r Exampl|es Folde|
|000000a0| 72 0d 0d 43 6f 70 79 72 | 69 67 68 74 2c 20 a9 20 |r..Copyr|ight, . |
|000000b0| 31 39 39 32 20 41 64 76 | 61 6e 63 65 64 20 41 2e |1992 Adv|anced A.|
|000000c0| 20 49 2e 20 53 79 73 74 | 65 6d 73 2c 20 49 6e 63 | I. Syst|ems, Inc|
|000000d0| 2e 0d 41 6c 6c 20 72 69 | 67 68 74 73 20 72 65 73 |..All ri|ghts res|
|000000e0| 65 72 76 65 64 2e 0d 54 | 68 69 73 20 66 69 6c 65 |erved..T|his file|
|000000f0| 20 6d 61 79 20 6e 6f 74 | 20 62 65 20 63 6f 70 69 | may not| be copi|
|00000100| 65 64 20 6f 72 20 64 69 | 73 74 72 69 62 75 74 65 |ed or di|stribute|
|00000110| 64 20 77 69 74 68 6f 75 | 74 20 74 68 65 20 0d 77 |d withou|t the .w|
|00000120| 72 69 74 74 65 6e 20 70 | 65 72 6d 69 73 73 69 6f |ritten p|ermissio|
|00000130| 6e 20 6f 66 20 41 64 76 | 61 6e 63 65 64 20 41 2e |n of Adv|anced A.|
|00000140| 20 49 2e 20 53 79 73 74 | 65 6d 73 2c 20 49 6e 63 | I. Syst|ems, Inc|
|00000150| 2e 0d 0d 46 6f 6c 64 65 | 72 09 09 09 43 6f 6e 74 |...Folde|r...Cont|
|00000160| 61 69 6e 73 0d 2d 2d 2d | 2d 2d 2d 09 09 09 2d 2d |ains.---|---...--|
|00000170| 2d 2d 2d 2d 2d 2d 0d 0d | 41 70 70 6c 65 20 45 76 |------..|Apple Ev|
|00000180| 65 6e 74 73 09 54 68 69 | 73 20 63 6f 6e 74 61 69 |ents.Thi|s contai|
|00000190| 6e 73 20 6d 61 6e 79 20 | 75 73 65 66 75 6c 20 66 |ns many |useful f|
|000001a0| 65 61 74 75 72 65 73 2c | 20 6e 6f 74 65 73 2c 20 |eatures,| notes, |
|000001b0| 61 6e 64 0d 09 09 09 09 | 65 78 61 6d 70 6c 65 73 |and.....|examples|
|000001c0| 20 75 73 69 6e 67 20 41 | 70 70 6c 65 20 45 76 65 | using A|pple Eve|
|000001d0| 6e 74 73 2e 20 20 53 65 | 65 20 74 68 65 20 47 75 |nts. Se|e the Gu|
|000001e0| 69 64 65 20 66 69 6c 65 | 20 0d 09 09 09 09 69 6e |ide file| .....in|
|000001f0| 73 69 64 65 20 74 68 69 | 73 20 66 6f 6c 64 65 72 |side thi|s folder|
|00000200| 20 66 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d | for mor|e inform|
|00000210| 61 74 69 6f 6e 20 6f 6e | 20 74 68 65 20 66 69 6c |ation on| the fil|
|00000220| 65 73 0d 09 09 09 09 63 | 6f 6e 74 61 69 6e 65 64 |es.....c|ontained|
|00000230| 20 77 69 74 68 69 6e 2e | 0d 0d 46 69 6c 65 09 09 | within.|..File..|
|00000240| 09 49 6c 6c 75 73 74 72 | 61 74 65 73 0d 2d 2d 2d |.Illustr|ates.---|
|00000250| 2d 09 09 09 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |-...----|-------.|
|00000260| 0d 63 6f 6d 70 6c 65 78 | 2e 70 09 09 54 68 69 73 |.complex|.p..This|
|00000270| 20 69 6c 6c 75 73 74 72 | 61 74 65 73 20 64 65 66 | illustr|ates def|
|00000280| 69 6e 69 6e 67 20 61 20 | 6e 65 77 20 74 79 70 65 |ining a |new type|
|00000290| 2c 20 61 72 69 74 68 6d | 65 74 69 63 20 0d 09 09 |, arithm|etic ...|
|000002a0| 09 09 6f 70 65 72 61 74 | 6f 72 73 20 66 6f 72 20 |..operat|ors for |
|000002b0| 74 68 69 73 20 74 79 70 | 65 2c 20 63 6f 6e 76 65 |this typ|e, conve|
|000002c0| 72 74 20 66 75 6e 63 74 | 69 6f 6e 73 2c 0d 09 09 |rt funct|ions,...|
|000002d0| 09 09 61 6e 64 20 61 20 | 70 72 69 6e 74 20 66 75 |..and a |print fu|
|000002e0| 6e 63 74 69 6f 6e 20 66 | 6f 72 20 74 68 65 20 6e |nction f|or the n|
|000002f0| 65 77 20 74 79 70 65 2e | 20 20 0d 09 09 09 09 54 |ew type.| .....T|
|00000300| 68 65 20 74 79 70 65 20 | 64 65 66 69 6e 65 64 20 |he type |defined |
|00000310| 69 6e 20 74 68 69 73 20 | 66 69 6c 65 20 69 73 20 |in this |file is |
|00000320| 0d 09 09 09 09 61 20 63 | 6f 6d 70 6c 65 78 20 6e |.....a c|omplex n|
|00000330| 75 6d 62 65 72 20 74 79 | 70 65 2e 0d 09 09 09 0d |umber ty|pe......|
|00000340| 63 72 79 70 74 2e 70 09 | 09 09 41 20 73 61 6d 70 |crypt.p.|..A samp|
|00000350| 6c 65 20 70 72 6f 67 72 | 61 6d 20 74 68 61 74 20 |le progr|am that |
|00000360| 73 6f 6c 76 65 20 63 72 | 79 70 74 61 72 69 74 68 |solve cr|yptarith|
|00000370| 6d 20 70 75 7a 7a 6c 65 | 73 2e 0d 09 09 09 09 49 |m puzzle|s......I|
|00000380| 74 20 77 72 69 74 65 73 | 20 61 20 70 72 6f 67 72 |t writes| a progr|
|00000390| 61 6d 20 74 6f 20 73 6f | 6c 76 65 20 74 68 65 20 |am to so|lve the |
|000003a0| 70 75 7a 7a 6c 65 20 61 | 6e 64 20 74 68 65 6e 0d |puzzle a|nd then.|
|000003b0| 09 09 09 09 72 75 6e 73 | 20 74 68 69 73 20 70 72 |....runs| this pr|
|000003c0| 6f 67 72 61 6d 2e 0d 0d | 64 65 66 69 6e 65 5f 70 |ogram...|define_p|
|000003d0| 72 69 6e 74 20 65 78 2e | 70 09 54 68 69 73 20 66 |rint ex.|p.This f|
|000003e0| 69 6c 65 20 69 6c 6c 75 | 73 74 72 61 74 65 73 20 |ile illu|strates |
|000003f0| 75 73 69 6e 67 20 74 68 | 65 20 64 65 66 69 6e 65 |using th|e define|
|00000400| 20 70 72 69 6e 74 0d 09 | 09 09 09 61 6e 64 20 70 | print..|...and p|
|00000410| 72 65 74 74 79 20 70 72 | 69 6e 74 20 66 75 6e 63 |retty pr|int func|
|00000420| 74 69 6f 6e 73 2e 20 20 | 54 68 69 73 20 64 65 66 |tions. |This def|
|00000430| 69 6e 65 73 20 61 20 0d | 09 09 09 09 70 72 69 6e |ines a .|....prin|
|00000440| 74 20 66 75 6e 63 74 69 | 6f 6e 20 66 6f 72 20 3b |t functi|on for ;|
|00000450| 2f 32 2c 20 3a 2d 2f 32 | 20 61 6e 64 20 27 24 56 |/2, :-/2| and '$V|
|00000460| 41 52 27 2f 32 2e 0d 09 | 09 09 09 4d 61 6e 79 20 |AR'/2...|...Many |
|00000470| 74 72 69 63 6b 73 20 75 | 73 65 66 75 6c 20 66 6f |tricks u|seful fo|
|00000480| 72 20 64 65 66 69 6e 69 | 6e 67 20 70 72 69 6e 74 |r defini|ng print|
|00000490| 20 66 75 6e 63 74 69 6f | 6e 73 0d 09 09 09 09 69 | functio|ns.....i|
|000004a0| 6e 63 6c 75 64 69 6e 67 | 20 68 6f 77 20 74 6f 20 |ncluding| how to |
|000004b0| 67 65 74 20 63 6f 64 65 | 20 65 78 65 63 75 74 65 |get code| execute|
|000004c0| 64 20 69 6e 73 69 64 65 | 0d 09 09 09 09 70 70 70 |d inside|.....ppp|
|000004d0| 72 69 6e 74 5f 77 69 74 | 68 5f 6c 65 66 74 5f 6d |rint_wit|h_left_m|
|000004e0| 61 72 67 69 6e 20 61 6e | 64 20 70 72 69 6e 74 5f |argin an|d print_|
|000004f0| 77 69 74 68 5f 70 72 65 | 63 65 64 65 6e 63 65 0d |with_pre|cedence.|
|00000500| 09 09 09 09 61 72 65 20 | 70 72 65 73 65 6e 74 65 |....are |presente|
|00000510| 64 20 68 65 72 65 2e 0d | 09 09 09 09 54 68 69 73 |d here..|....This|
|00000520| 20 61 6c 73 6f 20 69 6c | 6c 75 73 74 72 61 74 65 | also il|lustrate|
|00000530| 73 20 73 6f 6d 65 20 6c | 69 6d 69 74 61 74 69 6f |s some l|imitatio|
|00000540| 6e 73 20 61 6e 64 0d 09 | 09 09 09 72 65 73 74 72 |ns and..|...restr|
|00000550| 69 63 74 69 6f 6e 73 20 | 6f 66 20 74 68 65 20 64 |ictions |of the d|
|00000560| 65 66 69 6e 65 5f 70 72 | 69 6e 74 2f 70 72 65 74 |efine_pr|int/pret|
|00000570| 74 79 70 72 69 6e 74 20 | 0d 09 09 09 09 66 75 6e |typrint |.....fun|
|00000580| 63 74 69 6f 6e 73 20 70 | 72 6f 76 69 64 65 64 20 |ctions p|rovided |
|00000590| 69 6e 20 41 41 49 53 20 | 46 75 6c 6c 20 43 6f 6e |in AAIS |Full Con|
|000005a0| 74 72 6f 6c 20 50 72 6f | 6c 6f 67 2e 0d 0d 64 69 |trol Pro|log...di|
|000005b0| 72 20 63 61 74 61 6c 6f | 67 2e 70 09 44 65 66 69 |r catalo|g.p.Defi|
|000005c0| 6e 65 73 20 74 77 6f 20 | 66 75 6e 63 74 69 6f 6e |nes two |function|
|000005d0| 73 20 77 68 69 63 68 20 | 6c 69 73 74 20 61 6c 6c |s which |list all|
|000005e0| 20 66 69 6c 65 73 20 0d | 09 09 09 09 69 6e 63 6c | files .|....incl|
|000005f0| 75 64 69 6e 67 20 66 69 | 6c 65 73 20 69 6e 20 73 |uding fi|les in s|
|00000600| 75 62 64 69 72 65 63 74 | 6f 72 69 65 73 2c 0d 09 |ubdirect|ories,..|
|00000610| 09 09 09 61 6e 64 20 64 | 69 72 65 63 74 6f 72 69 |...and d|irectori|
|00000620| 65 73 20 61 6e 64 20 73 | 75 62 64 69 72 65 63 74 |es and s|ubdirect|
|00000630| 6f 72 69 65 73 20 69 6e | 20 74 68 65 0d 09 09 09 |ories in| the....|
|00000640| 09 63 75 72 72 65 6e 74 | 20 64 69 72 65 63 74 6f |.current| directo|
|00000650| 72 79 2e 20 20 55 73 65 | 73 20 65 78 69 73 74 69 |ry. Use|s existi|
|00000660| 6e 67 5f 66 69 6c 65 20 | 61 6e 64 0d 09 09 09 09 |ng_file |and.....|
|00000670| 65 78 69 73 74 69 6e 67 | 5f 64 69 72 2e 0d 0d 65 |existing|_dir...e|
|00000680| 78 70 72 65 73 73 69 6f | 6e 5f 67 72 61 6d 6d 61 |xpressio|n_gramma|
|00000690| 72 09 54 68 69 73 20 69 | 73 20 61 20 44 43 47 20 |r.This i|s a DCG |
|000006a0| 52 75 6c 65 20 65 78 61 | 6d 70 6c 65 20 66 69 6c |Rule exa|mple fil|
|000006b0| 65 20 77 69 74 68 20 61 | 20 73 69 6d 70 6c 65 20 |e with a| simple |
|000006c0| 65 78 70 72 65 73 73 69 | 6f 6e 0d 09 09 09 09 67 |expressi|on.....g|
|000006d0| 72 61 6d 6d 61 72 2e 20 | 20 54 68 69 73 20 69 73 |rammar. | This is|
|000006e0| 20 64 65 73 63 72 69 62 | 65 64 20 69 6e 20 56 6f | describ|ed in Vo|
|000006f0| 6c 75 6d 65 20 31 2c 20 | 43 68 61 70 74 65 72 20 |lume 1, |Chapter |
|00000700| 38 2e 0d 0d 66 6f 6e 74 | 20 73 69 7a 65 20 6d 65 |8...font| size me|
|00000710| 6e 75 2e 70 09 54 68 69 | 73 20 77 69 6c 6c 20 6d |nu.p.Thi|s will m|
|00000720| 61 6b 65 20 61 20 66 6f | 6e 74 20 73 69 7a 65 20 |ake a fo|nt size |
|00000730| 6d 65 6e 75 20 61 6e 64 | 20 61 74 74 61 63 68 20 |menu and| attach |
|00000740| 69 74 20 61 73 0d 09 09 | 09 09 61 20 73 75 62 20 |it as...|..a sub |
|00000750| 6d 65 6e 75 20 74 6f 20 | 74 68 65 20 66 6f 72 6d |menu to |the form|
|00000760| 61 74 20 6d 65 6e 75 20 | 69 6e 20 70 6c 61 63 65 |at menu |in place|
|00000770| 20 6f 66 20 74 68 65 20 | 0d 09 09 09 09 73 65 74 | of the |.....set|
|00000780| 20 66 6f 6e 74 20 73 69 | 7a 65 20 69 74 65 6d 20 | font si|ze item |
|00000790| 63 75 72 72 65 6e 74 6c | 79 20 74 68 65 72 65 2e |currentl|y there.|
|000007a0| 20 20 54 68 65 20 66 6f | 72 6d 61 74 20 0d 09 09 | The fo|rmat ...|
|000007b0| 09 09 6d 65 6e 75 20 69 | 73 20 70 61 72 74 20 6f |..menu i|s part o|
|000007c0| 66 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 70 |f the st|andard p|
|000007d0| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 69 6e 74 65 72 |rogrammi|ng inter|
|000007e0| 66 61 63 65 0d 09 09 09 | 09 61 6e 64 20 69 73 20 |face....|.and is |
|000007f0| 64 65 66 69 6e 65 64 20 | 69 6e 20 22 3a 3a 65 6e |defined |in "::en|
|00000800| 76 69 72 6f 6e 6d 65 6e | 74 3a 66 6f 72 6d 61 74 |vironmen|t:format|
|00000810| 20 6d 65 6e 75 2e 70 22 | 2e 0d 09 09 09 09 54 68 | menu.p"|......Th|
|00000820| 69 73 20 69 6c 6c 75 73 | 74 72 61 74 65 73 20 6d |is illus|trates m|
|00000830| 61 6b 69 6e 67 20 6d 65 | 6e 75 73 2c 20 61 6e 64 |aking me|nus, and|
|00000840| 20 73 75 62 20 6d 65 6e | 75 73 2e 0d 0d 66 72 65 | sub men|us...fre|
|00000850| 65 20 6d 65 6d 20 77 69 | 6e 64 6f 77 2e 70 09 54 |e mem wi|ndow.p.T|
|00000860| 68 69 73 20 70 75 74 73 | 20 75 70 20 61 20 73 6d |his puts| up a sm|
|00000870| 61 6c 6c 20 77 69 6e 64 | 6f 77 20 74 68 61 74 20 |all wind|ow that |
|00000880| 73 68 6f 77 73 20 74 68 | 65 20 63 75 72 72 65 6e |shows th|e curren|
|00000890| 74 0d 09 09 09 09 61 6d | 6f 75 6e 74 20 6f 66 20 |t.....am|ount of |
|000008a0| 66 72 65 65 20 6d 65 6d | 6f 72 79 20 69 6e 20 50 |free mem|ory in P|
|000008b0| 72 6f 6c 6f 67 2e 20 20 | 54 68 69 73 20 69 73 20 |rolog. |This is |
|000008c0| 75 70 64 61 74 65 64 0d | 09 09 09 09 65 76 65 72 |updated.|....ever|
|000008d0| 79 20 66 69 76 65 20 73 | 65 63 6f 6e 64 73 2e 20 |y five s|econds. |
|000008e0| 20 49 74 20 75 73 65 73 | 20 74 68 65 20 74 69 6d | It uses| the tim|
|000008f0| 65 64 20 70 72 6f 6c 6f | 67 20 65 76 65 6e 74 73 |ed prolo|g events|
|00000900| 0d 09 09 09 09 74 6f 20 | 68 61 76 65 20 74 68 69 |.....to |have thi|
|00000910| 73 20 75 70 64 61 74 65 | 20 64 6f 6e 65 20 65 76 |s update| done ev|
|00000920| 65 72 79 20 35 20 73 65 | 63 6f 6e 64 73 2e 20 20 |ery 5 se|conds. |
|00000930| 54 68 65 20 74 69 6d 65 | 64 0d 09 09 09 09 65 76 |The time|d.....ev|
|00000940| 65 6e 74 20 77 69 6c 6c | 20 72 75 6e 20 65 76 65 |ent will| run eve|
|00000950| 6e 20 77 68 65 6e 20 6f | 74 68 65 72 20 50 72 6f |n when o|ther Pro|
|00000960| 6c 6f 67 20 70 72 6f 67 | 72 61 6d 73 20 61 72 65 |log prog|rams are|
|00000970| 0d 09 09 09 09 72 75 6e | 6e 69 6e 67 2e 20 20 54 |.....run|ning. T|
|00000980| 69 6d 65 64 20 70 72 6f | 67 72 61 6d 73 20 63 61 |imed pro|grams ca|
|00000990| 6e 6e 6f 74 20 69 6e 74 | 65 72 72 75 70 74 20 72 |nnot int|errupt r|
|000009a0| 6f 6d 20 74 72 61 70 73 | 2c 0d 09 09 09 09 6f 72 |om traps|,.....or|
|000009b0| 20 43 20 63 6f 64 65 20 | 6f 72 20 6f 74 68 65 72 | C code |or other|
|000009c0| 20 70 72 6f 63 65 73 73 | 65 73 3b 20 74 68 65 79 | process|es; they|
|000009d0| 20 63 61 6e 20 74 61 6b | 65 20 70 6c 61 63 65 0d | can tak|e place.|
|000009e0| 09 09 09 09 61 74 20 74 | 68 65 20 73 61 6d 65 20 |....at t|he same |
|000009f0| 74 69 6d 65 20 74 68 61 | 74 20 74 68 65 20 69 6e |time tha|t the in|
|00000a00| 74 65 72 72 75 70 74 20 | 6b 65 79 20 63 61 6e 20 |terrupt |key can |
|00000a10| 74 61 6b 65 0d 09 09 09 | 09 65 66 66 65 63 74 2e |take....|.effect.|
|00000a20| 0d 0d 68 61 6e 6f 69 2e | 70 09 09 09 54 68 69 73 |..hanoi.|p...This|
|00000a30| 20 69 73 20 61 20 74 68 | 65 20 63 6c 61 73 73 69 | is a th|e classi|
|00000a40| 63 20 74 6f 77 65 72 73 | 20 6f 66 20 68 61 6e 6f |c towers| of hano|
|00000a50| 69 20 77 69 74 68 20 61 | 0d 09 09 09 09 73 69 6d |i with a|.....sim|
|00000a60| 70 6c 65 20 69 6e 74 65 | 72 66 61 63 65 20 61 74 |ple inte|rface at|
|00000a70| 74 61 63 68 65 64 20 74 | 6f 20 74 68 65 20 66 72 |tached t|o the fr|
|00000a80| 6f 6e 74 20 65 6e 64 2e | 0d 09 09 09 09 49 6c 6c |ont end.|.....Ill|
|00000a90| 75 73 74 72 61 74 65 73 | 20 74 68 65 20 75 73 65 |ustrates| the use|
|00000aa0| 20 6f 66 20 77 69 6e 64 | 6f 77 73 2c 20 62 75 74 | of wind|ows, but|
|00000ab0| 74 6f 6e 73 2c 20 0d 09 | 09 09 09 69 6e 74 5f 65 |tons, ..|...int_e|
|00000ac0| 6e 74 72 79 20 66 69 65 | 6c 64 73 2c 20 69 63 6f |ntry fie|lds, ico|
|00000ad0| 6e 73 2c 20 61 6e 64 20 | 63 6f 6c 6f 72 2e 0d 0d |ns, and |color...|
|00000ae0| 68 61 6e 6f 69 20 6f 6c | 64 2e 70 09 09 41 20 73 |hanoi ol|d.p..A s|
|00000af0| 69 6d 70 6c 65 20 74 6f | 77 65 72 73 20 6f 66 20 |imple to|wers of |
|00000b00| 68 61 6e 6f 69 20 65 78 | 61 6d 70 6c 65 20 75 73 |hanoi ex|ample us|
|00000b10| 69 6e 67 20 74 68 65 0d | 09 09 09 09 62 69 74 6d |ing the.|....bitm|
|00000b20| 61 70 20 64 72 61 77 69 | 6e 67 20 77 69 6e 64 6f |ap drawi|ng windo|
|00000b30| 77 73 2e 20 20 54 68 69 | 73 20 69 73 20 61 20 63 |ws. Thi|s is a c|
|00000b40| 6f 6e 76 65 72 73 69 6f | 6e 0d 09 09 09 09 6f 66 |onversio|n.....of|
|00000b50| 20 74 68 65 20 6f 6c 64 | 65 72 20 76 65 72 73 69 | the old|er versi|
|00000b60| 6f 6e 20 70 72 6f 76 69 | 64 65 64 20 69 6e 20 74 |on provi|ded in t|
|00000b70| 68 65 20 4d 2d 32 2e 30 | 20 0d 09 09 09 09 76 65 |he M-2.0| .....ve|
|00000b80| 72 73 69 6f 6e 20 6f 66 | 20 70 72 6f 6c 6f 67 20 |rsion of| prolog |
|00000b90| 61 6e 64 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |and can |be used |
|00000ba0| 61 73 20 61 6e 20 65 78 | 61 6d 70 6c 65 0d 09 09 |as an ex|ample...|
|00000bb0| 09 09 6f 66 20 68 6f 77 | 20 74 6f 20 75 70 64 61 |..of how| to upda|
|00000bc0| 74 65 20 61 20 4d 2d 32 | 2e 30 20 70 72 6f 67 72 |te a M-2|.0 progr|
|00000bd0| 61 6d 20 77 68 69 63 68 | 20 75 73 65 64 20 67 72 |am which| used gr|
|00000be0| 61 70 68 69 63 0d 09 09 | 09 09 77 69 6e 64 6f 77 |aphic...|..window|
|00000bf0| 73 2e 20 20 53 65 65 20 | 68 61 6e 6f 69 2e 70 20 |s. See |hanoi.p |
|00000c00| 66 6f 72 20 61 20 62 65 | 74 74 65 72 20 65 78 61 |for a be|tter exa|
|00000c10| 6d 70 6c 65 20 75 73 69 | 6e 67 20 0d 09 09 09 09 |mple usi|ng .....|
|00000c20| 6d 6f 72 65 20 41 41 49 | 53 20 46 75 6c 6c 20 43 |more AAI|S Full C|
|00000c30| 6f 6e 74 72 6f 6c 20 50 | 72 6f 6c 6f 67 20 66 65 |ontrol P|rolog fe|
|00000c40| 61 74 75 72 65 73 2e 0d | 09 09 09 0d 70 61 73 63 |atures..|....pasc|
|00000c50| 61 6c 5f 73 74 72 69 6e | 67 73 2e 70 09 54 68 69 |al_strin|gs.p.Thi|
|00000c60| 73 20 70 72 6f 76 69 64 | 65 73 20 73 6f 6d 65 20 |s provid|es some |
|00000c70| 63 6f 6e 76 65 72 74 20 | 66 75 6e 63 74 69 6f 6e |convert |function|
|00000c80| 73 20 62 65 74 77 65 65 | 6e 0d 09 09 09 09 50 61 |s betwee|n.....Pa|
|00000c90| 73 63 61 6c 20 73 74 72 | 69 6e 67 73 20 61 6e 64 |scal str|ings and|
|00000ca0| 20 50 72 6f 6c 6f 67 20 | 73 74 72 69 6e 67 73 20 | Prolog |strings |
|00000cb0| 61 6e 64 20 73 79 6d 62 | 6f 6c 73 2e 0d 09 09 09 |and symb|ols.....|
|00000cc0| 09 54 68 69 73 20 69 73 | 20 6e 6f 74 20 62 75 69 |.This is| not bui|
|00000cd0| 6c 74 2d 69 6e 20 74 6f | 20 50 72 6f 6c 6f 67 2e |lt-in to| Prolog.|
|00000ce0| 09 09 09 0d 0d 70 69 65 | 20 63 68 61 72 74 2e 70 |.....pie| chart.p|
|00000cf0| 09 09 54 68 69 73 20 63 | 72 65 61 74 65 73 20 61 |..This c|reates a|
|00000d00| 20 77 69 6e 64 6f 77 20 | 74 6f 20 65 6e 74 65 72 | window |to enter|
|00000d10| 20 35 20 76 61 6c 75 65 | 73 2c 20 61 6e 64 20 74 | 5 value|s, and t|
|00000d20| 68 65 6e 0d 09 09 09 09 | 73 6f 72 74 20 74 68 65 |hen.....|sort the|
|00000d30| 6d 20 61 6e 64 20 63 68 | 61 72 74 20 74 68 65 6d |m and ch|art them|
|00000d40| 20 69 6e 20 61 20 70 69 | 65 20 63 68 61 72 74 2e | in a pi|e chart.|
|00000d50| 20 20 54 68 69 73 0d 09 | 09 09 09 69 6c 6c 75 73 | This..|...illus|
|00000d60| 74 72 61 74 65 73 20 74 | 68 65 20 75 73 65 20 6f |trates t|he use o|
|00000d70| 66 20 75 73 69 6e 67 20 | 61 20 6d 6f 75 73 65 20 |f using |a mouse |
|00000d80| 66 75 6e 63 74 69 6f 6e | 20 77 69 74 68 0d 09 09 |function| with...|
|00000d90| 09 09 62 61 73 69 63 20 | 64 72 61 77 69 6e 67 20 |..basic |drawing |
|00000da0| 6f 62 6a 65 63 74 73 2c | 20 62 75 74 74 6f 6e 73 |objects,| buttons|
|00000db0| 2c 20 74 65 78 74 20 65 | 6e 74 72 79 20 61 6e 64 |, text e|ntry and|
|00000dc0| 20 69 6e 74 65 67 65 72 | 0d 09 09 09 09 65 6e 74 | integer|.....ent|
|00000dd0| 72 79 20 6f 62 6a 65 63 | 74 73 2e 20 20 41 6c 73 |ry objec|ts. Als|
|00000de0| 6f 20 75 73 65 73 20 73 | 6f 6d 65 20 77 69 6e 64 |o uses s|ome wind|
|00000df0| 6f 77 20 6b 65 79 20 63 | 6f 6d 6d 61 6e 64 73 2e |ow key c|ommands.|
|00000e00| 0d 09 09 09 09 54 68 69 | 73 20 61 6c 73 6f 20 69 |.....Thi|s also i|
|00000e10| 6c 6c 75 73 74 72 61 74 | 65 73 20 67 72 61 70 68 |llustrat|es graph|
|00000e20| 69 63 20 6f 62 6a 65 63 | 74 73 20 77 68 69 63 68 |ic objec|ts which|
|00000e30| 20 61 72 65 20 6e 6f 74 | 0d 09 09 09 09 72 65 63 | are not|.....rec|
|00000e40| 74 61 6e 67 75 6c 61 72 | 20 69 6e 20 73 68 61 70 |tangular| in shap|
|00000e50| 65 2e 0d 09 09 09 0d 70 | 69 65 20 76 61 72 69 61 |e......p|ie varia|
|00000e60| 74 69 6f 6e 2e 70 09 54 | 68 69 73 20 69 73 20 61 |tion.p.T|his is a|
|00000e70| 20 76 61 72 69 61 74 69 | 6f 6e 20 6f 6e 20 70 69 | variati|on on pi|
|00000e80| 65 20 63 68 61 72 74 2e | 70 2e 20 20 53 68 6f 77 |e chart.|p. Show|
|00000e90| 73 20 73 69 6d 69 6c 61 | 72 0d 09 09 09 09 74 68 |s simila|r.....th|
|00000ea0| 69 6e 67 73 2e 0d 09 09 | 09 09 09 09 0d 70 6f 6c |ings....|.....pol|
|00000eb0| 61 72 20 70 6c 6f 74 2e | 70 09 54 68 69 73 20 70 |ar plot.|p.This p|
|00000ec0| 72 6f 67 72 61 6d 20 71 | 75 65 72 69 65 73 20 66 |rogram q|ueries f|
|00000ed0| 6f 72 20 65 71 75 61 74 | 69 6f 6e 73 20 61 6e 64 |or equat|ions and|
|00000ee0| 20 70 6c 6f 74 73 20 74 | 68 65 6d 0d 09 09 09 09 | plots t|hem.....|
|00000ef0| 69 6e 20 70 6f 6c 61 72 | 20 63 6f 2d 6f 72 64 69 |in polar| co-ordi|
|00000f00| 6e 61 74 65 73 2e 20 20 | 4d 61 6b 65 73 20 70 72 |nates. |Makes pr|
|00000f10| 65 74 74 79 20 72 6f 73 | 65 20 74 79 70 65 20 70 |etty ros|e type p|
|00000f20| 61 74 74 65 72 6e 73 2e | 0d 09 09 09 09 53 65 65 |atterns.|.....See|
|00000f30| 20 66 69 6c 65 20 66 6f | 72 20 63 6f 6d 6d 61 6e | file fo|r comman|
|00000f40| 64 73 20 74 68 61 74 20 | 63 61 6e 20 62 65 20 75 |ds that |can be u|
|00000f50| 73 65 64 2e 20 20 49 6c | 6c 75 73 74 72 61 74 65 |sed. Il|lustrate|
|00000f60| 73 0d 09 09 09 09 74 68 | 65 20 75 73 65 20 6f 66 |s.....th|e use of|
|00000f70| 20 77 69 6e 64 6f 77 73 | 2c 20 64 72 61 77 69 6e | windows|, drawin|
|00000f80| 67 2c 20 62 75 74 74 6f | 6e 73 20 61 6e 64 20 74 |g, butto|ns and t|
|00000f90| 65 78 74 20 65 6e 74 72 | 79 0d 09 09 09 09 66 69 |ext entr|y.....fi|
|00000fa0| 65 6c 64 73 2e 0d 09 09 | 09 0d 70 6f 6c 79 67 6f |elds....|..polygo|
|00000fb0| 6e 20 61 72 65 61 2e 63 | 09 54 68 65 20 73 6f 75 |n area.c|.The sou|
|00000fc0| 72 63 65 20 66 6f 72 20 | 74 68 65 20 54 68 69 6e |rce for |the Thin|
|00000fd0| 6b 20 43 20 43 6f 64 65 | 20 72 65 73 6f 75 72 63 |k C Code| resourc|
|00000fe0| 65 20 65 78 61 6d 70 6c | 65 20 70 72 6f 67 72 61 |e exampl|e progra|
|00000ff0| 6d 0d 09 09 09 09 61 73 | 20 64 65 73 63 72 69 62 |m.....as| describ|
|00001000| 65 64 20 69 6e 20 74 68 | 65 20 41 41 49 53 20 50 |ed in th|e AAIS P|
|00001010| 72 6f 6c 6f 67 20 6d 61 | 6e 75 61 6c 2c 20 56 6f |rolog ma|nual, Vo|
|00001020| 6c 75 6d 65 20 32 2c 0d | 09 09 09 09 43 68 61 70 |lume 2,.|....Chap|
|00001030| 74 65 72 20 38 2e 20 20 | 54 68 69 73 20 72 65 71 |ter 8. |This req|
|00001040| 75 69 72 65 73 20 54 68 | 69 6e 6b 20 43 20 34 2e |uires Th|ink C 4.|
|00001050| 30 20 6f 72 20 35 2e 30 | 20 69 6e 20 0d 09 09 09 |0 or 5.0| in ....|
|00001060| 09 6f 72 64 65 72 20 74 | 6f 20 62 65 20 75 73 65 |.order t|o be use|
|00001070| 64 2e 20 20 54 68 69 73 | 20 69 73 20 61 20 67 6f |d. This| is a go|
|00001080| 6f 64 20 70 6c 61 63 65 | 20 74 6f 20 73 74 61 72 |od place| to star|
|00001090| 74 20 0d 09 09 09 09 69 | 66 20 79 6f 75 20 77 69 |t .....i|f you wi|
|000010a0| 73 68 20 74 6f 20 6c 65 | 61 72 6e 20 68 6f 77 20 |sh to le|arn how |
|000010b0| 74 6f 20 6d 61 6b 65 20 | 61 6e 64 20 6c 6f 61 64 |to make |and load|
|000010c0| 0d 09 09 09 09 61 20 66 | 6f 72 65 69 67 6e 20 63 |.....a f|oreign c|
|000010d0| 6f 64 65 20 72 65 73 6f | 75 72 63 65 2e 0d 0d 70 |ode reso|urce...p|
|000010e0| 72 69 6e 74 20 73 65 6c | 65 63 74 69 6f 6e 2e 70 |rint sel|ection.p|
|000010f0| 09 54 68 69 73 20 69 73 | 20 61 20 76 61 72 69 61 |.This is| a varia|
|00001100| 6e 74 20 6f 66 20 74 68 | 65 20 70 72 69 6e 74 5f |nt of th|e print_|
|00001110| 77 69 6e 64 6f 77 20 66 | 75 6e 63 74 69 6f 6e 20 |window f|unction |
|00001120| 66 6f 72 0d 09 09 09 09 | 74 65 78 74 20 65 6e 74 |for.....|text ent|
|00001130| 72 79 20 77 69 6e 64 6f | 77 73 2e 20 20 44 65 66 |ry windo|ws. Def|
|00001140| 69 6e 65 20 74 68 69 73 | 2c 20 61 6e 64 20 74 68 |ine this|, and th|
|00001150| 65 6e 20 77 68 65 6e 0d | 09 09 09 09 79 6f 75 20 |en when.|....you |
|00001160| 68 6f 6c 64 20 74 68 65 | 20 73 68 69 66 74 20 6b |hold the| shift k|
|00001170| 65 79 20 64 6f 77 6e 20 | 77 68 69 6c 65 20 63 68 |ey down |while ch|
|00001180| 6f 6f 73 69 6e 67 20 74 | 68 65 0d 09 09 09 09 50 |oosing t|he.....P|
|00001190| 72 69 6e 74 20 57 69 6e | 64 6f 77 20 63 6f 6d 6d |rint Win|dow comm|
|000011a0| 61 6e 64 20 66 6f 72 20 | 74 65 78 74 20 65 6e 74 |and for |text ent|
|000011b0| 72 79 20 77 69 6e 64 6f | 77 73 2c 20 6f 72 0d 09 |ry windo|ws, or..|
|000011c0| 09 09 09 73 68 69 66 74 | 2d 63 6f 6d 6d 61 6e 64 |...shift|-command|
|000011d0| 2d 70 2c 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |-p, the |current |
|000011e0| 73 65 6c 65 63 74 69 6f | 6e 20 28 69 66 20 69 74 |selectio|n (if it|
|000011f0| 0d 09 09 09 09 65 78 69 | 73 74 73 29 2c 20 77 69 |.....exi|sts), wi|
|00001200| 6c 6c 20 70 72 69 6e 74 | 20 69 6e 73 74 65 61 64 |ll print| instead|
|00001210| 20 6f 66 20 74 68 65 20 | 65 6e 74 69 72 65 20 77 | of the |entire w|
|00001220| 69 6e 64 6f 77 2e 0d 09 | 09 09 09 53 65 65 20 74 |indow...|...See t|
|00001230| 68 69 73 20 66 69 6c 65 | 20 66 6f 72 20 6c 69 6d |his file| for lim|
|00001240| 69 74 61 74 69 6f 6e 73 | 20 61 6e 64 20 64 65 74 |itations| and det|
|00001250| 61 69 6c 73 2e 0d 0d 71 | 75 61 64 2e 63 09 09 09 |ails...q|uad.c...|
|00001260| 54 68 65 20 73 6f 75 72 | 63 65 20 66 6f 72 20 74 |The sour|ce for t|
|00001270| 68 65 20 4d 50 57 20 43 | 20 43 6f 64 65 20 72 65 |he MPW C| Code re|
|00001280| 73 6f 75 72 63 65 20 65 | 78 61 6d 70 6c 65 20 70 |source e|xample p|
|00001290| 72 6f 67 72 61 6d 0d 09 | 09 09 09 61 73 20 64 65 |rogram..|...as de|
|000012a0| 73 63 72 69 62 65 64 20 | 69 6e 20 74 68 65 20 41 |scribed |in the A|
|000012b0| 41 49 53 20 50 72 6f 6c | 6f 67 20 6d 61 6e 75 61 |AIS Prol|og manua|
|000012c0| 6c 2c 20 56 6f 6c 75 6d | 65 20 32 2c 0d 09 09 09 |l, Volum|e 2,....|
|000012d0| 09 43 68 61 70 74 65 72 | 20 38 2e 20 20 54 68 69 |.Chapter| 8. Thi|
|000012e0| 73 20 72 65 71 75 69 72 | 65 73 20 4d 50 57 20 43 |s requir|es MPW C|
|000012f0| 20 33 2e 30 20 6f 72 20 | 6c 61 74 65 72 20 69 6e | 3.0 or |later in|
|00001300| 20 0d 09 09 09 09 6f 72 | 64 65 72 20 74 6f 20 62 | .....or|der to b|
|00001310| 65 20 75 73 65 64 2e 20 | 20 54 68 69 73 20 69 73 |e used. | This is|
|00001320| 20 61 20 67 6f 6f 64 20 | 70 6c 61 63 65 20 74 6f | a good |place to|
|00001330| 20 73 74 61 72 74 20 0d | 09 09 09 09 69 66 20 79 | start .|....if y|
|00001340| 6f 75 20 77 69 73 68 20 | 74 6f 20 6c 65 61 72 6e |ou wish |to learn|
|00001350| 20 68 6f 77 20 74 6f 20 | 6d 61 6b 65 20 61 6e 64 | how to |make and|
|00001360| 20 6c 6f 61 64 0d 09 09 | 09 09 61 20 66 6f 72 65 | load...|..a fore|
|00001370| 69 67 6e 20 63 6f 64 65 | 20 72 65 73 6f 75 72 63 |ign code| resourc|
|00001380| 65 2e 0d 0d 73 65 61 72 | 63 68 20 66 69 6c 65 73 |e...sear|ch files|
|00001390| 2e 70 09 54 68 69 73 20 | 65 78 61 6d 70 6c 65 20 |.p.This |example |
|000013a0| 69 73 20 61 20 73 69 6d | 70 6c 65 20 66 75 6e 63 |is a sim|ple func|
|000013b0| 74 69 6f 6e 20 66 6f 72 | 20 73 65 61 72 63 68 69 |tion for| searchi|
|000013c0| 6e 67 20 0d 09 09 09 09 | 66 69 6c 65 73 20 69 6e |ng .....|files in|
|000013d0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 69 72 | the cur|rent dir|
|000013e0| 65 63 74 6f 72 79 20 66 | 6f 72 20 61 20 73 70 65 |ectory f|or a spe|
|000013f0| 63 69 66 69 65 64 20 0d | 09 09 09 09 74 65 78 74 |cified .|....text|
|00001400| 20 73 74 72 69 6e 67 2e | 0d 0d 73 65 6e 74 65 6e | string.|..senten|
|00001410| 63 65 5f 67 72 61 6d 6d | 61 72 09 54 68 69 73 20 |ce_gramm|ar.This |
|00001420| 69 73 20 61 20 44 43 47 | 20 52 75 6c 65 20 65 78 |is a DCG| Rule ex|
|00001430| 61 6d 70 6c 65 20 66 69 | 6c 65 20 77 69 74 68 20 |ample fi|le with |
|00001440| 61 20 73 69 6d 70 6c 65 | 20 73 65 6e 74 65 6e 63 |a simple| sentenc|
|00001450| 65 0d 09 09 09 09 67 72 | 61 6d 6d 61 72 2e 20 20 |e.....gr|ammar. |
|00001460| 54 68 69 73 20 69 73 20 | 64 65 73 63 72 69 62 65 |This is |describe|
|00001470| 64 20 69 6e 20 56 6f 6c | 75 6d 65 20 31 2c 20 43 |d in Vol|ume 1, C|
|00001480| 68 61 70 74 65 72 20 38 | 2e 0d 09 09 09 0d 73 69 |hapter 8|......si|
|00001490| 6d 70 6c 65 20 74 65 73 | 74 73 2e 70 09 54 68 69 |mple tes|ts.p.Thi|
|000014a0| 73 20 73 68 6f 77 20 74 | 68 65 20 73 74 61 6e 64 |s show t|he stand|
|000014b0| 61 72 64 2c 20 74 72 61 | 64 69 74 69 6f 6e 61 6c |ard, tra|ditional|
|000014c0| 20 62 61 73 69 63 20 64 | 65 66 69 6e 69 74 69 6f | basic d|efinitio|
|000014d0| 6e 73 0d 09 09 09 09 66 | 6f 72 20 72 65 76 65 72 |ns.....f|or rever|
|000014e0| 73 65 2c 20 71 75 69 63 | 6b 73 6f 72 74 2c 20 61 |se, quic|ksort, a|
|000014f0| 6e 64 20 74 6f 77 65 72 | 73 20 6f 66 20 68 61 6e |nd tower|s of han|
|00001500| 6f 69 2e 20 20 49 74 20 | 61 6c 73 6f 0d 09 09 09 |oi. It |also....|
|00001510| 09 64 65 66 69 6e 65 73 | 20 61 20 73 69 6d 70 6c |.defines| a simpl|
|00001520| 65 20 74 69 6d 69 6e 67 | 20 6c 6f 6f 70 20 61 6e |e timing| loop an|
|00001530| 64 20 74 69 6d 65 73 20 | 74 68 65 73 65 20 66 75 |d times |these fu|
|00001540| 6e 63 74 69 6f 6e 73 2e | 0d 09 09 09 09 43 6f 6e |nctions.|.....Con|
|00001550| 73 75 6c 74 69 6e 67 20 | 74 68 69 73 20 66 69 6c |sulting |this fil|
|00001560| 65 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |e automa|tically |
|00001570| 72 75 6e 73 20 74 68 65 | 20 74 69 6d 69 6e 67 73 |runs the| timings|
|00001580| 20 61 6e 64 0d 09 09 09 | 09 70 72 69 6e 74 73 20 | and....|.prints |
|00001590| 74 68 65 20 72 65 73 75 | 6c 74 73 2e 20 20 41 6c |the resu|lts. Al|
|000015a0| 73 6f 20 69 6c 6c 75 73 | 74 72 61 74 65 73 20 75 |so illus|trates u|
|000015b0| 73 65 20 6f 66 20 73 79 | 73 74 65 6d 5f 69 6e 66 |se of sy|stem_inf|
|000015c0| 6f 0d 09 09 09 09 74 6f | 20 67 65 74 20 69 6e 66 |o.....to| get inf|
|000015d0| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 74 |ormation| about t|
|000015e0| 68 65 20 6d 61 63 68 69 | 6e 65 20 79 6f 75 20 61 |he machi|ne you a|
|000015f0| 72 65 20 72 75 6e 6e 69 | 6e 67 0d 09 09 09 09 6f |re runni|ng.....o|
|00001600| 6e 2e 0d 0d 73 74 72 69 | 6e 67 5f 65 78 70 72 65 |n...stri|ng_expre|
|00001610| 73 73 69 6f 6e 73 09 54 | 68 69 73 20 69 73 20 61 |ssions.T|his is a|
|00001620| 20 44 43 47 20 52 75 6c | 65 20 65 78 61 6d 70 6c | DCG Rul|e exampl|
|00001630| 65 20 66 69 6c 65 20 77 | 69 74 68 20 61 20 73 69 |e file w|ith a si|
|00001640| 6d 70 6c 65 20 73 74 72 | 69 6e 67 0d 09 09 09 09 |mple str|ing.....|
|00001650| 65 78 70 72 65 73 73 69 | 6f 6e 20 67 72 61 6d 6d |expressi|on gramm|
|00001660| 61 72 2e 0d 09 09 09 09 | 54 68 69 73 20 69 73 20 |ar......|This is |
|00001670| 64 65 73 63 72 69 62 65 | 64 20 69 6e 20 56 6f 6c |describe|d in Vol|
|00001680| 75 6d 65 20 31 2c 20 43 | 68 61 70 74 65 72 20 38 |ume 1, C|hapter 8|
|00001690| 2e 0d 2a 0d 54 68 69 73 | 20 6c 61 73 74 20 6c 69 |..*.This| last li|
|000016a0| 6e 65 20 77 69 6c 6c 20 | 6c 6f 61 64 20 74 68 69 |ne will |load thi|
|000016b0| 73 20 66 69 6c 65 20 69 | 6e 74 6f 20 74 68 65 20 |s file i|nto the |
|000016c0| 50 72 6f 6c 6f 67 20 65 | 64 69 74 6f 72 0d 69 66 |Prolog e|ditor.if|
|000016d0| 20 64 6f 75 62 6c 65 20 | 63 6c 69 63 6b 65 64 20 | double |clicked |
|000016e0| 6f 6e 20 69 6e 20 74 68 | 65 20 46 69 6e 64 65 72 |on in th|e Finder|
|000016f0| 2e 0d 2a 2f 0d 3a 2d 20 | 66 69 6c 65 20 27 47 75 |..*/.:- |file 'Gu|
|00001700| 69 64 65 27 2c 20 6c 69 | 6e 65 20 31 2e 0d 00 00 |ide', li|ne 1....|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 01 00 00 00 01 22 | 00 00 00 22 00 00 00 5a |......."|..."...Z|
|00001790| 2d 20 43 20 3d 2e 2e 20 | 5b 53 7c 4c 5d 2c 43 2e |- C =.. |[S|L],C.|
|000017a0| 0d 0d 6c 69 73 74 32 67 | 6f 61 6c 73 28 41 2c 42 |..list2g|oals(A,B|
|000017b0| 05 47 75 69 64 65 02 00 | 00 00 54 45 58 54 41 49 |.Guide..|..TEXTAI|
|000017c0| 46 43 01 00 00 00 00 60 | 00 00 00 00 2f d5 00 00 |FC.....`|..../...|
|000017d0| 00 00 54 45 58 54 41 49 | 46 43 01 00 00 00 00 60 |..TEXTAI|FC.....`|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 a5 78 f3 11 00 00 | 16 8e 00 00 01 7c 41 7c |...x....|.....|A||
|00001800| 42 5d 2c 28 41 2c 43 29 | 29 20 3a 2d 20 21 2c 6c |B],(A,C)|) :- !,l|
|00001810| 69 73 74 32 67 6f 61 6c | 73 28 42 2c 43 29 2e 0d |ist2goal|s(B,C)..|
|00001820| 6c 69 73 74 32 67 6f 61 | 6c 73 28 41 2c 41 29 2e |list2goa|ls(A,A).|
|00001830| 09 2f 2a 20 20 3a 2d 20 | 69 6c 6c 65 67 61 6c 28 |./* :- |illegal(|
|00001840| 41 29 2e 20 2a 2f 0d 0d | 5f 20 5e 20 42 20 3a 2d |A). */..|_ ^ B :-|
|00001850| 20 42 2e 0d 0d 3a 2d 20 | 69 67 6e 6f 72 65 28 5b | B...:- |ignore([|
|00001860| 2c 2f 32 2c 73 74 65 70 | 2c 74 72 61 63 65 2c 73 |,/2,step|,trace,s|
|00001870| 70 79 2c 6e 6f 73 70 79 | 2c 6e 6f 73 74 65 70 2c |py,nospy|,nostep,|
|00001880| 00 00 00 0a 00 09 06 4d | 6f 6e 61 63 6f 0b 00 00 |.......M|onaco...|
|00001890| 00 08 00 2a 00 03 01 4c | 01 f5 00 00 00 04 00 18 |...*...L|........|
|000018a0| 00 04 00 00 01 00 00 00 | 01 22 00 00 00 22 00 00 |........|."..."..|
|000018b0| 00 5a 00 1c af 68 09 8e | 00 00 00 1c 00 5a 00 02 |.Z...h..|.....Z..|
|000018c0| 45 46 4e 54 00 00 00 1a | 45 57 4e 44 00 00 00 26 |EFNT....|EWND...&|
|000018d0| 45 54 41 42 00 00 00 32 | 03 eb ff ff 00 00 00 00 |ETAB...2|........|
|000018e0| 00 1c bc 10 01 00 ff ff | 00 00 00 0e 00 1c b9 cc |........|........|
|000018f0| 03 ec ff ff 00 00 00 1a | 00 1c ba 38 00 00 00 00 |........|...8....|
+--------+-------------------------+-------------------------+--------+--------+