home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…on Library 1994 September / ARPLE-Sept-94-Supplement.iso / AppleSoft / System 7.5 Hands-on / Apple Guide / API / Apple Guide1.2 API < prev    next >
MacBinary  |  1994-05-04  |  61.6 KB  |  [ONLN/HLX2]

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: Apple Guide1.2 API

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Apr 28 08:24:08 1994, modified Wed May 4 10:40:22 1994, creator 'HLX2', type 'ONLN', 59446 bytes "Apple Guide1.2 API" , at 0xe8b6 3359 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 41 70 70 6c 65 20 | 47 75 69 64 65 31 2e 32 |..Apple |Guide1.2|
|00000010| 20 41 50 49 00 00 00 00 | 00 00 00 00 00 00 00 00 | API....|........|
|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 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 e8 36 00 | 00 0d 1f a9 e5 5b 68 a9 |......6.|.....[h.|
|00000060| ed 64 56 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.dV.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 1f ca 00 00 |........|........|
|00000080| f0 a8 09 0d 41 70 70 6c | 65 20 47 75 69 64 65 20 |....Appl|e Guide |
|00000090| 31 2e 32 20 41 50 49 0d | 41 50 49 20 a5 20 41 50 |1.2 API.|API . AP|
|000000a0| 50 4c 45 20 4e 45 45 44 | 20 54 4f 20 4b 4e 4f 57 |PLE NEED| TO KNOW|
|000000b0| 20 43 4f 4e 46 49 44 45 | 4e 54 49 41 4c 0d 44 6f | CONFIDE|NTIAL.Do|
|000000c0| 63 75 6d 65 6e 74 20 56 | 65 72 73 69 6f 6e 20 33 |cument V|ersion 3|
|000000d0| 2e 33 20 d1 20 31 39 39 | 34 20 4d 61 72 63 68 20 |.3 . 199|4 March |
|000000e0| 32 38 0d 43 6f 70 79 72 | 69 67 68 74 20 a9 31 39 |28.Copyr|ight .19|
|000000f0| 39 34 2c 20 41 70 70 6c | 65 20 43 6f 6d 70 75 74 |94, Appl|e Comput|
|00000100| 65 72 2c 20 49 6e 63 2e | 0d 54 61 62 6c 65 20 6f |er, Inc.|.Table o|
|00000110| 66 20 43 6f 6e 74 65 6e | 74 73 0d 41 70 70 6c 65 |f Conten|ts.Apple|
|00000120| 20 47 75 69 64 65 20 31 | 2e 32 20 41 50 49 09 32 | Guide 1|.2 API.2|
|00000130| 0d 47 65 73 74 61 6c 74 | 09 32 0d 46 75 6e 63 74 |.Gestalt|.2.Funct|
|00000140| 69 6f 6e 73 09 32 0d 45 | 72 72 6f 72 20 63 6f 64 |ions.2.E|rror cod|
|00000150| 65 73 09 31 32 0d 41 47 | 46 69 6c 65 20 41 50 49 |es.12.AG|File API|
|00000160| 09 31 33 0d 41 70 70 6c | 65 20 47 75 69 64 65 20 |.13.Appl|e Guide |
|00000170| 31 2e 32 20 41 50 49 0d | 47 65 73 74 61 6c 74 0d |1.2 API.|Gestalt.|
|00000180| 54 68 65 72 65 20 69 73 | 20 61 6c 72 65 61 64 79 |There is| already|
|00000190| 20 61 20 48 65 6c 70 20 | 4d 61 6e 61 67 65 72 20 | a Help |Manager |
|000001a0| 47 65 73 74 61 6c 74 20 | 73 65 6c 65 63 74 6f 72 |Gestalt |selector|
|000001b0| 2c 20 77 69 74 68 20 61 | 20 73 69 6e 67 6c 65 20 |, with a| single |
|000001c0| 62 69 74 20 64 65 66 69 | 6e 65 64 20 28 62 69 74 |bit defi|ned (bit|
|000001d0| 20 30 20 6d 65 61 6e 73 | 20 48 65 6c 70 20 4d 61 | 0 means| Help Ma|
|000001e0| 6e 61 67 65 72 20 69 73 | 20 70 72 65 73 65 6e 74 |nager is| present|
|000001f0| 29 2e 0d 57 65 20 64 65 | 66 69 6e 65 20 62 69 74 |)..We de|fine bit|
|00000200| 20 33 31 20 74 6f 20 6d | 65 61 6e 20 74 68 61 74 | 31 to m|ean that|
|00000210| 20 41 70 70 6c 65 20 47 | 75 69 64 65 20 69 73 20 | Apple G|uide is |
|00000220| 61 6c 73 6f 20 70 72 65 | 73 65 6e 74 2e 0d 23 64 |also pre|sent..#d|
|00000230| 65 66 69 6e 65 20 67 65 | 73 74 61 6c 74 48 65 6c |efine ge|staltHel|
|00000240| 70 4d 67 72 41 74 74 72 | 20 27 68 65 6c 70 27 09 |pMgrAttr| 'help'.|
|00000250| 2f 2f 20 48 65 6c 70 20 | 4d 67 72 20 41 74 74 72 |// Help |Mgr Attr|
|00000260| 69 62 75 74 65 73 0d 67 | 65 73 74 61 6c 74 48 65 |ibutes.g|estaltHe|
|00000270| 6c 70 4d 67 72 50 72 65 | 73 65 6e 74 20 3d 20 30 |lpMgrPre|sent = 0|
|00000280| 2c 09 09 2f 2f 20 74 72 | 75 65 20 69 66 20 48 65 |,..// tr|ue if He|
|00000290| 6c 70 20 4d 67 72 20 70 | 72 65 73 65 6e 74 0d 4e |lp Mgr p|resent.N|
|000002a0| 65 77 20 62 69 74 3a 0d | 67 65 73 74 61 6c 74 41 |ew bit:.|gestaltA|
|000002b0| 70 70 6c 65 47 75 69 64 | 65 50 72 65 73 65 6e 74 |ppleGuid|ePresent|
|000002c0| 20 3d 20 33 31 2c 09 2f | 2f 20 74 72 75 65 20 69 | = 31,./|/ true i|
|000002d0| 66 20 41 70 70 6c 65 20 | 47 75 69 64 65 20 70 72 |f Apple |Guide pr|
|000002e0| 65 73 65 6e 74 0d 46 75 | 6e 63 74 69 6f 6e 73 0d |esent.Fu|nctions.|
|000002f0| 54 68 65 20 6e 61 6d 65 | 73 20 61 6c 6c 20 73 74 |The name|s all st|
|00000300| 61 72 74 20 77 69 74 68 | 20 d2 41 47 d3 20 66 6f |art with| .AG. fo|
|00000310| 72 20 41 70 70 6c 65 20 | 47 75 69 64 65 2e 20 54 |r Apple |Guide. T|
|00000320| 68 65 20 66 75 6e 63 74 | 69 6f 6e 73 20 61 72 65 |he funct|ions are|
|00000330| 20 6f 72 64 65 72 65 64 | 20 61 6c 70 68 61 62 65 | ordered| alphabe|
|00000340| 74 69 63 61 6c 6c 79 2e | 0d 41 47 43 6c 6f 73 65 |tically.|.AGClose|
|00000350| 0d 70 61 73 63 61 6c 20 | 41 47 45 72 72 20 41 47 |.pascal |AGErr AG|
|00000360| 43 6c 6f 73 65 28 41 47 | 52 65 66 4e 75 6d 20 2a |Close(AG|RefNum *|
|00000370| 72 65 73 75 6c 74 52 65 | 66 4e 75 6d 29 3b 0d 72 |resultRe|fNum);.r|
|00000380| 65 73 75 6c 74 52 65 66 | 4e 75 6d 09 41 20 72 65 |esultRef|Num.A re|
|00000390| 66 65 72 65 6e 63 65 20 | 74 6f 20 74 68 65 20 6f |ference |to the o|
|000003a0| 70 65 6e 20 64 61 74 61 | 62 61 73 65 2e 20 50 61 |pen data|base. Pa|
|000003b0| 73 73 65 64 20 74 6f 20 | 74 68 65 20 66 75 6e 63 |ssed to |the func|
|000003c0| 74 69 6f 6e 20 61 6e 64 | 20 73 65 74 20 62 79 20 |tion and| set by |
|000003d0| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 2e 0d 43 6c |the func|tion..Cl|
|000003e0| 6f 73 65 20 74 68 65 20 | 73 70 65 63 69 66 69 65 |ose the |specifie|
|000003f0| 64 20 68 65 6c 70 20 64 | 61 74 61 62 61 73 65 2e |d help d|atabase.|
|00000400| 20 41 70 70 6c 65 20 47 | 75 69 64 65 20 69 73 20 | Apple G|uide is |
|00000410| 6c 65 66 74 20 72 75 6e | 6e 69 6e 67 20 69 6e 20 |left run|ning in |
|00000420| 74 68 65 20 62 61 63 6b | 67 72 6f 75 6e 64 20 28 |the back|ground (|
|00000430| 22 73 6c 65 65 70 69 6e | 67 22 29 2e 0d 4f 6e 6c |"sleepin|g")..Onl|
|00000440| 79 20 61 20 72 65 73 75 | 6c 74 52 65 66 4e 75 6d |y a resu|ltRefNum|
|00000450| 20 6f 70 65 6e 65 64 20 | 62 79 20 74 68 65 20 61 | opened |by the a|
|00000460| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6d 61 79 20 62 |pplicati|on may b|
|00000470| 65 20 70 61 73 73 65 64 | 2e 20 41 6e 79 20 6f 74 |e passed|. Any ot|
|00000480| 68 65 72 20 41 47 52 65 | 66 4e 75 6d 20 77 69 6c |her AGRe|fNum wil|
|00000490| 6c 20 72 65 74 75 72 6e | 20 6b 41 47 45 72 72 49 |l return| kAGErrI|
|000004a0| 6e 76 61 6c 69 64 52 65 | 66 4e 75 6d 2e 0d 45 72 |nvalidRe|fNum..Er|
|000004b0| 72 6f 72 20 43 6f 64 65 | 73 0d 6e 6f 45 72 72 0d |ror Code|s.noErr.|
|000004c0| 6b 41 47 45 72 72 44 61 | 74 61 62 61 73 65 4e 6f |kAGErrDa|tabaseNo|
|000004d0| 74 4f 70 65 6e 0d 6b 41 | 47 45 72 72 49 6e 76 61 |tOpen.kA|GErrInva|
|000004e0| 6c 69 64 52 65 66 4e 75 | 6d 0d 41 47 47 65 6e 65 |lidRefNu|m.AGGene|
|000004f0| 72 61 6c 0d 70 61 73 63 | 61 6c 20 41 47 45 72 72 |ral.pasc|al AGErr|
|00000500| 20 41 47 47 65 6e 65 72 | 61 6c 28 41 47 52 65 66 | AGGener|al(AGRef|
|00000510| 4e 75 6d 20 72 65 66 4e | 75 6d 2c 0d 09 09 09 09 |Num refN|um,.....|
|00000520| 09 09 09 09 09 09 41 47 | 45 76 65 6e 74 20 74 68 |......AG|Event th|
|00000530| 65 45 76 65 6e 74 29 3b | 0d 72 65 66 4e 75 6d 09 |eEvent);|.refNum.|
|00000540| 41 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 74 |A refere|nce to t|
|00000550| 68 65 20 6f 70 65 6e 20 | 64 61 74 61 62 61 73 65 |he open |database|
|00000560| 2e 0d 74 68 65 45 76 65 | 6e 74 09 41 6e 20 41 70 |..theEve|nt.An Ap|
|00000570| 70 6c 65 20 47 75 69 64 | 65 20 65 76 65 6e 74 2e |ple Guid|e event.|
|00000580| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 65 | The fol|lowing e|
|00000590| 76 65 6e 74 73 20 72 65 | 71 75 69 72 65 20 61 20 |vents re|quire a |
|000005a0| 70 72 65 73 65 6e 74 61 | 74 69 6f 6e 20 77 69 6e |presenta|tion win|
|000005b0| 64 6f 77 20 74 6f 20 62 | 65 20 73 68 6f 77 69 6e |dow to b|e showin|
|000005c0| 67 3a 0d 6b 41 47 45 76 | 65 6e 74 44 6f 43 6f 61 |g:.kAGEv|entDoCoa|
|000005d0| 63 68 09 49 66 20 61 20 | 43 6f 61 63 68 20 6d 61 |ch.If a |Coach ma|
|000005e0| 72 6b 20 65 78 69 73 74 | 73 20 66 6f 72 20 74 68 |rk exist|s for th|
|000005f0| 69 73 20 70 61 6e 65 6c | 2c 20 64 6f 20 69 74 2e |is panel|, do it.|
|00000600| 0d 6b 41 47 45 76 65 6e | 74 44 6f 48 75 68 09 49 |.kAGEven|tDoHuh.I|
|00000610| 66 20 61 20 48 75 68 3f | 20 74 6f 70 69 63 20 65 |f a Huh?| topic e|
|00000620| 78 69 73 74 73 20 66 6f | 72 20 74 68 69 73 20 70 |xists fo|r this p|
|00000630| 61 6e 65 6c 2c 20 6f 70 | 65 6e 20 69 74 2e 0d 6b |anel, op|en it..k|
|00000640| 41 47 45 76 65 6e 74 47 | 6f 4e 65 78 74 09 47 6f |AGEventG|oNext.Go|
|00000650| 20 74 6f 20 74 68 65 20 | 6e 65 78 74 20 70 61 6e | to the |next pan|
|00000660| 65 6c 2e 0d 6b 41 47 45 | 76 65 6e 74 47 6f 50 72 |el..kAGE|ventGoPr|
|00000670| 65 76 09 47 6f 20 74 6f | 20 74 68 65 20 70 72 65 |ev.Go to| the pre|
|00000680| 76 69 6f 75 73 20 70 61 | 6e 65 6c 2e 0d 6b 41 47 |vious pa|nel..kAG|
|00000690| 45 76 65 6e 74 48 69 64 | 65 50 61 6e 65 6c 09 49 |EventHid|ePanel.I|
|000006a0| 66 20 74 68 65 20 70 61 | 6e 65 6c 20 69 73 20 65 |f the pa|nel is e|
|000006b0| 78 70 61 6e 64 65 64 2c | 20 63 6f 6c 6c 61 70 73 |xpanded,| collaps|
|000006c0| 65 20 69 74 2e 20 49 66 | 20 74 68 65 20 70 61 6e |e it. If| the pan|
|000006d0| 65 6c 20 69 73 20 63 6f | 6c 6c 61 70 73 65 64 2c |el is co|llapsed,|
|000006e0| 20 6c 65 61 76 65 20 69 | 74 20 63 6f 6c 6c 61 70 | leave i|t collap|
|000006f0| 73 65 64 2e 0d 6b 41 47 | 45 76 65 6e 74 52 65 74 |sed..kAG|EventRet|
|00000700| 75 72 6e 42 61 63 6b 09 | 52 65 74 75 72 6e 20 66 |urnBack.|Return f|
|00000710| 72 6f 6d 20 61 6e 20 4f | 6f 70 73 20 74 6f 70 69 |rom an O|ops topi|
|00000720| 63 2e 0d 6b 41 47 45 76 | 65 6e 74 53 68 6f 77 50 |c..kAGEv|entShowP|
|00000730| 61 6e 65 6c 09 49 66 20 | 74 68 65 20 70 61 6e 65 |anel.If |the pane|
|00000740| 6c 20 69 73 20 63 6f 6c | 6c 61 70 73 65 64 2c 20 |l is col|lapsed, |
|00000750| 65 78 70 61 6e 64 20 69 | 74 2e 20 49 66 20 74 68 |expand i|t. If th|
|00000760| 65 20 70 61 6e 65 6c 20 | 69 73 20 65 78 70 61 6e |e panel |is expan|
|00000770| 64 65 64 2c 20 6c 65 61 | 76 65 20 69 74 20 65 78 |ded, lea|ve it ex|
|00000780| 70 61 6e 64 65 64 2e 0d | 6b 41 47 45 76 65 6e 74 |panded..|kAGEvent|
|00000790| 54 6f 67 67 6c 65 50 61 | 6e 65 6c 09 49 66 20 74 |TogglePa|nel.If t|
|000007a0| 68 65 20 70 61 6e 65 6c | 20 69 73 20 63 6f 6c 6c |he panel| is coll|
|000007b0| 61 70 73 65 64 2c 20 65 | 78 70 61 6e 64 20 69 74 |apsed, e|xpand it|
|000007c0| 2e 20 49 66 20 74 68 65 | 20 70 61 6e 65 6c 20 69 |. If the| panel i|
|000007d0| 73 20 65 78 70 61 6e 64 | 65 64 2c 20 63 6f 6c 6c |s expand|ed, coll|
|000007e0| 61 70 73 65 20 69 74 2e | 0d 4f 6e 6c 79 20 61 20 |apse it.|.Only a |
|000007f0| 72 65 73 75 6c 74 52 65 | 66 4e 75 6d 20 6f 70 65 |resultRe|fNum ope|
|00000800| 6e 65 64 20 62 79 20 74 | 68 65 20 61 70 70 6c 69 |ned by t|he appli|
|00000810| 63 61 74 69 6f 6e 20 6d | 61 79 20 62 65 20 70 61 |cation m|ay be pa|
|00000820| 73 73 65 64 2e 20 41 6e | 79 20 6f 74 68 65 72 20 |ssed. An|y other |
|00000830| 41 47 52 65 66 4e 75 6d | 20 77 69 6c 6c 20 72 65 |AGRefNum| will re|
|00000840| 74 75 72 6e 20 6b 41 47 | 45 72 72 49 6e 76 61 6c |turn kAG|ErrInval|
|00000850| 69 64 52 65 66 4e 75 6d | 2e 0d 4e 6f 74 65 3a 20 |idRefNum|..Note: |
|00000860| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 6d 61 |This fun|ction ma|
|00000870| 79 20 62 65 20 72 65 6d | 6f 76 65 64 20 6f 72 20 |y be rem|oved or |
|00000880| 74 68 65 20 65 76 65 6e | 74 20 6c 69 73 74 20 6d |the even|t list m|
|00000890| 61 79 20 63 68 61 6e 67 | 65 20 62 65 66 6f 72 65 |ay chang|e before|
|000008a0| 20 41 70 70 6c 65 20 47 | 75 69 64 65 20 31 2e 32 | Apple G|uide 1.2|
|000008b0| 20 70 75 62 6c 69 63 20 | 72 65 6c 65 61 73 65 2e | public |release.|
|000008c0| 0d 45 72 72 6f 72 20 43 | 6f 64 65 73 0d 6e 6f 45 |.Error C|odes.noE|
|000008d0| 72 72 0d 6b 41 47 45 72 | 72 44 61 74 61 62 61 73 |rr.kAGEr|rDatabas|
|000008e0| 65 4e 6f 74 4f 70 65 6e | 0d 6b 41 47 45 72 72 49 |eNotOpen|.kAGErrI|
|000008f0| 6e 76 61 6c 69 64 52 65 | 66 4e 75 6d 0d 41 47 47 |nvalidRe|fNum.AGG|
|00000900| 65 74 41 76 61 69 6c 61 | 62 6c 65 44 42 54 79 70 |etAvaila|bleDBTyp|
|00000910| 65 73 0d 70 61 73 63 61 | 6c 20 55 49 6e 74 33 32 |es.pasca|l UInt32|
|00000920| 20 41 47 47 65 74 41 76 | 61 69 6c 61 62 6c 65 44 | AGGetAv|ailableD|
|00000930| 42 54 79 70 65 73 28 76 | 6f 69 64 29 3b 0d 52 65 |BTypes(v|oid);.Re|
|00000940| 74 75 72 6e 73 20 61 20 | 63 6f 6c 6c 65 63 74 69 |turns a |collecti|
|00000950| 6f 6e 20 6f 66 20 62 69 | 74 20 66 6c 61 67 73 20 |on of bi|t flags |
|00000960| 69 6e 64 69 63 61 74 69 | 6f 6e 20 77 68 61 74 20 |indicati|on what |
|00000970| 74 79 70 65 73 20 6f 66 | 20 64 61 74 61 62 61 73 |types of| databas|
|00000980| 65 73 20 61 72 65 20 61 | 76 61 69 6c 61 62 6c 65 |es are a|vailable|
|00000990| 20 69 6e 20 74 68 65 20 | 48 65 6c 70 20 6d 65 6e | in the |Help men|
|000009a0| 75 2e 20 50 6f 73 73 69 | 62 69 6c 69 74 69 65 73 |u. Possi|bilities|
|000009b0| 20 61 72 65 3a 0d 09 6b | 41 47 44 42 54 79 70 65 | are:..k|AGDBType|
|000009c0| 42 69 74 41 6e 79 0d 6b | 41 47 44 42 54 79 70 65 |BitAny.k|AGDBType|
|000009d0| 42 69 74 48 65 6c 70 0d | 6b 41 47 44 42 54 79 70 |BitHelp.|kAGDBTyp|
|000009e0| 65 42 69 74 54 75 74 6f | 72 69 61 6c 0d 6b 41 47 |eBitTuto|rial.kAG|
|000009f0| 44 42 54 79 70 65 42 69 | 74 53 68 6f 72 74 63 75 |DBTypeBi|tShortcu|
|00000a00| 74 73 0d 6b 41 47 44 42 | 54 79 70 65 42 69 74 41 |ts.kAGDB|TypeBitA|
|00000a10| 62 6f 75 74 0d 6b 41 47 | 44 42 54 79 70 65 42 69 |bout.kAG|DBTypeBi|
|00000a20| 74 4f 74 68 65 72 0d 49 | 66 20 6e 6f 20 64 61 74 |tOther.I|f no dat|
|00000a30| 61 62 61 73 65 73 20 61 | 72 65 20 61 76 61 69 6c |abases a|re avail|
|00000a40| 61 62 6c 65 20 69 6e 20 | 74 68 65 20 48 65 6c 70 |able in |the Help|
|00000a50| 20 6d 65 6e 75 2c 20 30 | 20 69 73 20 72 65 74 75 | menu, 0| is retu|
|00000a60| 72 6e 65 64 2e 0d 45 72 | 72 6f 72 20 43 6f 64 65 |rned..Er|ror Code|
|00000a70| 73 0d 28 6e 6f 6e 65 29 | 0d 41 47 47 65 74 46 72 |s.(none)|.AGGetFr|
|00000a80| 6f 6e 74 57 69 6e 64 6f | 77 4b 69 6e 64 0d 70 61 |ontWindo|wKind.pa|
|00000a90| 73 63 61 6c 20 41 47 57 | 69 6e 64 6f 77 4b 69 6e |scal AGW|indowKin|
|00000aa0| 64 20 41 47 47 65 74 46 | 72 6f 6e 74 57 69 6e 64 |d AGGetF|rontWind|
|00000ab0| 6f 77 4b 69 6e 64 28 41 | 47 52 65 66 4e 75 6d 20 |owKind(A|GRefNum |
|00000ac0| 72 65 66 4e 75 6d 29 3b | 0d 72 65 66 4e 75 6d 09 |refNum);|.refNum.|
|00000ad0| 41 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 74 |A refere|nce to t|
|00000ae0| 68 65 20 6f 70 65 6e 20 | 64 61 74 61 62 61 73 65 |he open |database|
|00000af0| 2e 0d 52 65 74 75 72 6e | 20 74 68 65 20 6b 69 6e |..Return| the kin|
|00000b00| 64 20 6f 66 20 77 69 6e | 64 6f 77 20 74 68 61 74 |d of win|dow that|
|00000b10| 20 69 73 20 66 72 6f 6e | 74 6d 6f 73 74 2e 20 50 | is fron|tmost. P|
|00000b20| 6f 73 73 69 62 69 6c 69 | 74 69 65 73 20 61 72 65 |ossibili|ties are|
|00000b30| 3a 0d 09 6b 41 47 4e 6f | 57 69 6e 64 6f 77 0d 6b |:..kAGNo|Window.k|
|00000b40| 41 47 41 63 63 65 73 73 | 57 69 6e 64 6f 77 0d 6b |AGAccess|Window.k|
|00000b50| 41 47 50 72 65 73 65 6e | 74 61 74 69 6f 6e 57 69 |AGPresen|tationWi|
|00000b60| 6e 64 6f 77 0d 49 66 20 | 6b 41 47 4e 6f 57 69 6e |ndow.If |kAGNoWin|
|00000b70| 64 6f 77 20 69 73 20 72 | 65 74 75 72 6e 2c 20 74 |dow is r|eturn, t|
|00000b80| 68 65 6e 20 74 68 65 20 | 64 61 74 61 62 61 73 65 |hen the |database|
|00000b90| 20 69 73 20 6e 6f 74 20 | 72 75 6e 6e 69 6e 67 2e | is not |running.|
|00000ba0| 20 49 66 20 73 6f 6d 65 | 74 68 69 6e 67 20 6f 74 | If some|thing ot|
|00000bb0| 68 65 72 20 74 68 61 6e | 20 61 20 6c 69 73 74 65 |her than| a liste|
|00000bc0| 64 20 76 61 6c 75 65 20 | 69 73 20 72 65 74 75 72 |d value |is retur|
|00000bd0| 6e 2c 20 74 68 65 6e 20 | 65 69 74 68 65 72 20 28 |n, then |either (|
|00000be0| 61 29 20 74 68 65 20 64 | 61 74 61 62 61 73 65 20 |a) the d|atabase |
|00000bf0| 69 73 20 6e 6f 74 20 72 | 75 6e 6e 69 6e 67 20 6f |is not r|unning o|
|00000c00| 72 20 28 62 29 20 74 68 | 65 20 64 61 74 61 62 61 |r (b) th|e databa|
|00000c10| 73 65 20 69 73 20 6e 6f | 74 20 66 72 6f 6e 74 6d |se is no|t frontm|
|00000c20| 6f 73 74 2e 20 41 64 64 | 69 74 69 6f 6e 61 6c 20 |ost. Add|itional |
|00000c30| 63 6f 6e 73 74 61 6e 74 | 73 20 77 69 6c 6c 20 62 |constant|s will b|
|00000c40| 65 20 70 72 6f 76 69 64 | 65 64 20 69 6e 20 61 20 |e provid|ed in a |
|00000c50| 66 75 74 75 72 65 20 72 | 65 6c 65 61 73 65 20 6f |future r|elease o|
|00000c60| 66 20 41 70 70 6c 65 20 | 47 75 69 64 65 2e 20 46 |f Apple |Guide. F|
|00000c70| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 73 6f 6d 65 |or examp|le, some|
|00000c80| 6f 6e 65 20 65 6c 73 65 | 27 73 20 61 63 63 65 73 |one else|'s acces|
|00000c90| 73 20 77 69 6e 64 6f 77 | 20 69 73 20 66 72 6f 6e |s window| is fron|
|00000ca0| 74 2e 0d 54 68 65 20 63 | 6f 6e 73 74 61 6e 74 2c |t..The c|onstant,|
|00000cb0| 20 6b 41 47 46 72 6f 6e | 74 44 61 74 61 62 61 73 | kAGFron|tDatabas|
|00000cc0| 65 2c 20 6d 61 79 20 62 | 65 20 73 75 62 73 69 74 |e, may b|e subsit|
|00000cd0| 69 74 75 65 64 20 66 6f | 72 20 74 68 65 20 72 65 |itued fo|r the re|
|00000ce0| 66 4e 75 6d 2e 0d 45 72 | 72 6f 72 20 43 6f 64 65 |fNum..Er|ror Code|
|00000cf0| 73 0d 28 6e 6f 6e 65 29 | 0d 41 47 47 65 74 46 53 |s.(none)|.AGGetFS|
|00000d00| 53 70 65 63 0d 70 61 73 | 63 61 6c 20 41 47 45 72 |Spec.pas|cal AGEr|
|00000d10| 72 20 41 47 47 65 74 46 | 53 53 70 65 63 28 41 47 |r AGGetF|SSpec(AG|
|00000d20| 52 65 66 4e 75 6d 20 72 | 65 66 4e 75 6d 2c 20 46 |RefNum r|efNum, F|
|00000d30| 53 53 70 65 63 2a 20 66 | 69 6c 65 53 70 65 63 29 |SSpec* f|ileSpec)|
|00000d40| 3b 0d 47 65 74 20 74 68 | 65 20 46 53 53 70 65 63 |;.Get th|e FSSpec|
|00000d50| 20 66 6f 72 20 74 68 65 | 20 64 61 74 61 62 61 73 | for the| databas|
|00000d60| 65 20 61 73 73 6f 63 69 | 61 74 65 64 20 77 69 74 |e associ|ated wit|
|00000d70| 68 20 74 68 65 20 41 47 | 52 65 66 4e 75 6d 2e 0d |h the AG|RefNum..|
|00000d80| 54 68 65 20 63 6f 6e 73 | 74 61 6e 74 2c 20 6b 41 |The cons|tant, kA|
|00000d90| 47 46 72 6f 6e 74 44 61 | 74 61 62 61 73 65 2c 20 |GFrontDa|tabase, |
|00000da0| 6d 61 79 20 62 65 20 73 | 75 62 73 69 74 69 74 75 |may be s|ubsititu|
|00000db0| 65 64 20 66 6f 72 20 74 | 68 65 20 72 65 66 4e 75 |ed for t|he refNu|
|00000dc0| 6d 2e 0d 45 72 72 6f 72 | 20 43 6f 64 65 73 0d 6e |m..Error| Codes.n|
|00000dd0| 6f 45 72 72 0d 6b 41 47 | 45 72 72 44 61 74 61 62 |oErr.kAG|ErrDatab|
|00000de0| 61 73 65 4e 6f 74 4f 70 | 65 6e 0d 41 47 47 65 74 |aseNotOp|en.AGGet|
|00000df0| 53 74 61 74 75 73 0d 70 | 61 73 63 61 6c 20 41 47 |Status.p|ascal AG|
|00000e00| 53 74 61 74 75 73 20 41 | 47 47 65 74 53 74 61 74 |Status A|GGetStat|
|00000e10| 75 73 28 76 6f 69 64 29 | 3b 0d 47 65 74 20 74 68 |us(void)|;.Get th|
|00000e20| 65 20 73 74 61 74 65 20 | 6f 66 20 74 68 65 20 68 |e state |of the h|
|00000e30| 65 6c 70 20 65 78 74 65 | 6e 73 69 6f 6e 2e 20 50 |elp exte|nsion. P|
|00000e40| 6f 73 73 69 62 69 6c 69 | 74 69 65 73 20 61 72 65 |ossibili|ties are|
|00000e50| 3a 0d 09 6b 41 47 49 73 | 4e 6f 74 52 75 6e 6e 69 |:..kAGIs|NotRunni|
|00000e60| 6e 67 0d 6b 41 47 49 73 | 53 6c 65 65 70 69 6e 67 |ng.kAGIs|Sleeping|
|00000e70| 0d 6b 41 47 49 73 41 63 | 74 69 76 65 0d 44 6f 20 |.kAGIsAc|tive.Do |
|00000e80| 6e 6f 74 20 75 73 65 20 | 74 68 69 73 20 66 75 6e |not use |this fun|
|00000e90| 63 74 69 6f 6e 20 74 6f | 20 73 65 65 20 69 66 20 |ction to| see if |
|00000ea0| 41 70 70 6c 65 20 47 75 | 69 64 65 20 69 73 20 69 |Apple Gu|ide is i|
|00000eb0| 6e 73 74 61 6c 6c 65 64 | 2e 20 55 73 65 20 74 68 |nstalled|. Use th|
|00000ec0| 65 20 47 65 73 74 61 6c | 74 20 63 68 65 63 6b 20 |e Gestal|t check |
|00000ed0| 66 6f 72 20 74 68 61 74 | 2e 0d 45 72 72 6f 72 20 |for that|..Error |
|00000ee0| 43 6f 64 65 73 0d 28 6e | 6f 6e 65 29 0d 41 47 49 |Codes.(n|one).AGI|
|00000ef0| 6e 73 74 61 6c 6c 43 6f | 61 63 68 48 61 6e 64 6c |nstallCo|achHandl|
|00000f00| 65 72 0d 70 61 73 63 61 | 6c 20 4f 53 45 72 72 20 |er.pasca|l OSErr |
|00000f10| 41 47 49 6e 73 74 61 6c | 6c 43 6f 61 63 68 48 61 |AGInstal|lCoachHa|
|00000f20| 6e 64 6c 65 72 28 0d 09 | 09 09 09 09 09 09 43 6f |ndler(..|......Co|
|00000f30| 61 63 68 52 65 70 6c 79 | 50 72 6f 63 50 74 72 20 |achReply|ProcPtr |
|00000f40| 43 6f 61 63 68 52 65 70 | 6c 79 50 72 6f 63 2c 0d |CoachRep|lyProc,.|
|00000f50| 09 09 09 09 09 09 09 6c | 6f 6e 67 20 72 65 66 43 |.......l|ong refC|
|00000f60| 6f 6e 2c 0d 09 09 09 09 | 09 09 09 41 47 43 6f 61 |on,.....|...AGCoa|
|00000f70| 63 68 52 65 66 4e 75 6d | 20 2a 72 65 73 75 6c 74 |chRefNum| *result|
|00000f80| 52 65 66 4e 75 6d 29 3b | 0d 43 6f 61 63 68 52 65 |RefNum);|.CoachRe|
|00000f90| 70 6c 79 50 72 6f 63 09 | 54 68 65 20 70 72 6f 63 |plyProc.|The proc|
|00000fa0| 20 63 61 6c 6c 65 64 20 | 62 79 20 74 68 65 20 67 | called |by the g|
|00000fb0| 6c 75 65 20 74 6f 20 67 | 65 74 20 6f 62 6a 65 63 |lue to g|et objec|
|00000fc0| 74 20 6c 6f 63 61 74 69 | 6f 6e 20 69 6e 66 6f 72 |t locati|on infor|
|00000fd0| 6d 61 74 69 6f 6e 20 66 | 6f 72 20 63 6f 61 63 68 |mation f|or coach|
|00000fe0| 20 6d 61 72 6b 69 6e 67 | 2e 0d 72 65 66 43 6f 6e | marking|..refCon|
|00000ff0| 09 41 6e 20 6f 70 74 69 | 6f 6e 61 6c 20 72 65 66 |.An opti|onal ref|
|00001000| 65 72 65 6e 63 65 20 63 | 6f 6e 73 74 61 6e 74 20 |erence c|onstant |
|00001010| 73 65 74 20 62 79 20 74 | 68 65 20 61 70 70 6c 69 |set by t|he appli|
|00001020| 63 61 74 69 6f 6e 20 61 | 6e 64 20 72 65 74 75 72 |cation a|nd retur|
|00001030| 6e 65 64 20 69 6e 20 74 | 68 65 20 43 6f 61 63 68 |ned in t|he Coach|
|00001040| 52 65 70 6c 79 50 72 6f | 63 20 70 61 72 61 6d 65 |ReplyPro|c parame|
|00001050| 74 65 72 20 6c 69 73 74 | 2e 0d 72 65 73 75 6c 74 |ter list|..result|
|00001060| 52 65 66 4e 75 6d 09 41 | 20 72 65 66 65 72 65 6e |RefNum.A| referen|
|00001070| 63 65 20 74 6f 20 74 68 | 65 20 43 6f 61 63 68 20 |ce to th|e Coach |
|00001080| 68 61 6e 64 6c 65 72 2e | 20 52 65 74 75 72 6e 65 |handler.| Returne|
|00001090| 64 20 62 79 20 74 68 65 | 20 66 75 6e 63 74 69 6f |d by the| functio|
|000010a0| 6e 2e 0d 49 6e 69 74 69 | 61 6c 69 7a 65 20 66 6f |n..Initi|alize fo|
|000010b0| 72 20 74 68 65 20 72 65 | 63 65 69 70 74 20 6f 66 |r the re|ceipt of|
|000010c0| 20 63 6f 61 63 68 2d 6d | 61 72 6b 20 6c 6f 63 61 | coach-m|ark loca|
|000010d0| 74 69 6f 6e 20 71 75 65 | 72 69 65 73 2e 20 4f 6e |tion que|ries. On|
|000010e0| 6c 79 20 6f 6e 65 20 43 | 6f 61 63 68 20 68 61 6e |ly one C|oach han|
|000010f0| 64 6c 65 72 20 73 68 6f | 75 6c 64 20 62 65 20 69 |dler sho|uld be i|
|00001100| 6e 73 74 61 6c 6c 65 64 | 2e 20 54 68 65 20 69 6e |nstalled|. The in|
|00001110| 73 74 61 6c 6c 65 64 20 | 43 6f 61 63 68 20 68 61 |stalled |Coach ha|
|00001120| 6e 64 6c 65 72 20 6d 75 | 73 74 20 62 65 20 72 65 |ndler mu|st be re|
|00001130| 6d 6f 76 65 64 20 77 69 | 74 68 20 61 6e 20 41 47 |moved wi|th an AG|
|00001140| 52 65 6d 6f 76 65 43 6f | 61 63 68 48 61 6e 64 6c |RemoveCo|achHandl|
|00001150| 65 72 20 63 61 6c 6c 20 | 77 68 65 6e 20 6e 6f 20 |er call |when no |
|00001160| 6c 6f 6e 67 65 72 20 6e | 65 65 64 65 64 2e 0d 45 |longer n|eeded..E|
|00001170| 72 72 6f 72 20 43 6f 64 | 65 73 0d 6e 6f 45 72 72 |rror Cod|es.noErr|
|00001180| 0d 6b 41 47 45 72 72 43 | 61 6e 6e 6f 74 49 6e 69 |.kAGErrC|annotIni|
|00001190| 74 43 6f 61 63 68 0d 54 | 68 65 20 70 72 6f 74 6f |tCoach.T|he proto|
|000011a0| 74 79 70 65 20 66 6f 72 | 20 74 68 65 20 43 6f 61 |type for| the Coa|
|000011b0| 63 68 52 65 70 6c 79 50 | 72 6f 63 20 69 73 20 61 |chReplyP|roc is a|
|000011c0| 73 20 66 6f 6c 6c 6f 77 | 73 3a 0d 74 79 70 65 64 |s follow|s:.typed|
|000011d0| 65 66 20 70 61 73 63 61 | 6c 20 4f 53 45 72 72 20 |ef pasca|l OSErr |
|000011e0| 28 2a 43 6f 61 63 68 52 | 65 70 6c 79 50 72 6f 63 |(*CoachR|eplyProc|
|000011f0| 50 74 72 29 28 0d 09 09 | 09 09 09 09 09 09 09 09 |Ptr)(...|........|
|00001200| 09 09 09 52 65 63 74 2a | 20 70 52 65 63 74 2c 0d |...Rect*| pRect,.|
|00001210| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 50 74 72 |........|.....Ptr|
|00001220| 20 6e 61 6d 65 2c 0d 09 | 09 09 09 09 09 09 09 09 | name,..|........|
|00001230| 09 09 09 09 6c 6f 6e 67 | 20 72 65 66 43 6f 6e 29 |....long| refCon)|
|00001240| 3b 0d 70 52 65 63 74 09 | 52 65 74 75 72 6e 20 74 |;.pRect.|Return t|
|00001250| 68 65 20 6f 62 6a 65 63 | 74 20 72 65 63 74 61 6e |he objec|t rectan|
|00001260| 67 6c 65 20 69 6e 20 67 | 6c 6f 62 61 6c 20 63 6f |gle in g|lobal co|
|00001270| 6f 72 64 69 6e 61 74 65 | 73 2e 0d 6e 61 6d 65 09 |ordinate|s..name.|
|00001280| 54 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |The name| of the |
|00001290| 6f 62 6a 65 63 74 20 64 | 65 73 69 72 65 64 20 62 |object d|esired b|
|000012a0| 79 20 41 70 70 6c 65 20 | 47 75 69 64 65 2e 20 53 |y Apple |Guide. S|
|000012b0| 74 6f 72 65 64 20 61 73 | 20 61 20 6e 75 6c 6c 2d |tored as| a null-|
|000012c0| 74 65 72 6d 69 6e 61 74 | 65 64 20 73 74 72 69 6e |terminat|ed strin|
|000012d0| 67 2e 0d 72 65 66 43 6f | 6e 09 54 68 65 20 72 65 |g..refCo|n.The re|
|000012e0| 66 43 6f 6e 20 66 72 6f | 6d 20 74 68 65 20 41 47 |fCon fro|m the AG|
|000012f0| 49 6e 73 74 61 6c 6c 43 | 6f 61 63 68 48 61 6e 64 |InstallC|oachHand|
|00001300| 6c 65 72 2e 0d 41 47 49 | 6e 73 74 61 6c 6c 43 6f |ler..AGI|nstallCo|
|00001310| 6e 74 65 78 74 48 61 6e | 64 6c 65 72 0d 70 61 73 |ntextHan|dler.pas|
|00001320| 63 61 6c 20 4f 53 45 72 | 72 20 41 47 49 6e 73 74 |cal OSEr|r AGInst|
|00001330| 61 6c 6c 43 6f 6e 74 65 | 78 74 48 61 6e 64 6c 65 |allConte|xtHandle|
|00001340| 72 28 0d 09 09 09 09 09 | 09 43 6f 6e 74 65 78 74 |r(......|.Context|
|00001350| 52 65 70 6c 79 50 72 6f | 63 50 74 72 20 43 6f 6e |ReplyPro|cPtr Con|
|00001360| 74 65 78 74 52 65 70 6c | 79 50 72 6f 63 2c 0d 09 |textRepl|yProc,..|
|00001370| 09 09 09 09 09 41 45 45 | 76 65 6e 74 49 44 20 65 |.....AEE|ventID e|
|00001380| 76 65 6e 74 49 64 2c 0d | 09 09 09 09 09 09 6c 6f |ventId,.|......lo|
|00001390| 6e 67 20 72 65 66 43 6f | 6e 2c 0d 09 09 09 09 09 |ng refCo|n,......|
|000013a0| 09 41 47 43 6f 6e 74 65 | 78 74 52 65 66 4e 75 6d |.AGConte|xtRefNum|
|000013b0| 20 2a 72 65 73 75 6c 74 | 52 65 66 4e 75 6d 29 3b | *result|RefNum);|
|000013c0| 0d 43 6f 6e 74 65 78 74 | 52 65 70 6c 79 50 72 6f |.Context|ReplyPro|
|000013d0| 63 09 54 68 65 20 70 72 | 6f 63 20 63 61 6c 6c 65 |c.The pr|oc calle|
|000013e0| 64 20 62 79 20 74 68 65 | 20 67 6c 75 65 20 74 6f |d by the| glue to|
|000013f0| 20 67 65 74 20 63 6f 6e | 74 65 78 74 20 69 6e 66 | get con|text inf|
|00001400| 6f 72 6d 61 74 69 6f 6e | 2e 0d 65 76 65 6e 74 49 |ormation|..eventI|
|00001410| 64 09 41 6e 20 41 70 70 | 6c 65 20 65 76 65 6e 74 |d.An App|le event|
|00001420| 20 49 44 20 61 73 73 69 | 67 6e 65 64 20 62 79 20 | ID assi|gned by |
|00001430| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2e |the appl|ication.|
|00001440| 0d 72 65 66 43 6f 6e 09 | 41 6e 20 6f 70 74 69 6f |.refCon.|An optio|
|00001450| 6e 61 6c 20 72 65 66 65 | 72 65 6e 63 65 20 63 6f |nal refe|rence co|
|00001460| 6e 73 74 61 6e 74 20 73 | 65 74 20 62 79 20 74 68 |nstant s|et by th|
|00001470| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 61 6e |e applic|ation an|
|00001480| 64 20 72 65 74 75 72 6e | 65 64 20 69 6e 20 74 68 |d return|ed in th|
|00001490| 65 20 43 6f 6e 74 65 78 | 74 52 65 70 6c 79 50 72 |e Contex|tReplyPr|
|000014a0| 6f 63 20 70 61 72 61 6d | 65 74 65 72 20 6c 69 73 |oc param|eter lis|
|000014b0| 74 2e 0d 72 65 73 75 6c | 74 52 65 66 4e 75 6d 09 |t..resul|tRefNum.|
|000014c0| 41 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 74 |A refere|nce to t|
|000014d0| 68 65 20 43 6f 6e 74 65 | 78 74 20 68 61 6e 64 6c |he Conte|xt handl|
|000014e0| 65 72 2e 20 52 65 74 75 | 72 6e 65 64 20 62 79 20 |er. Retu|rned by |
|000014f0| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 2e 0d 49 6e |the func|tion..In|
|00001500| 69 74 69 61 6c 69 7a 65 | 20 66 6f 72 20 74 68 65 |itialize| for the|
|00001510| 20 72 65 63 65 69 70 74 | 20 6f 66 20 63 6f 6e 74 | receipt| of cont|
|00001520| 65 78 74 2d 63 68 65 63 | 6b 20 71 75 65 72 69 65 |ext-chec|k querie|
|00001530| 73 2e 20 4d 6f 72 65 20 | 74 68 61 6e 20 6f 6e 65 |s. More |than one|
|00001540| 20 63 6f 6e 74 65 78 74 | 20 68 61 6e 64 6c 65 72 | context| handler|
|00001550| 20 6d 61 79 20 62 65 20 | 69 6e 73 74 61 6c 6c 65 | may be |installe|
|00001560| 64 2e 20 45 61 63 68 20 | 68 61 6e 64 6c 65 72 20 |d. Each |handler |
|00001570| 6d 75 73 74 20 68 61 76 | 65 20 61 20 75 6e 69 71 |must hav|e a uniq|
|00001580| 75 65 20 65 76 65 6e 74 | 49 64 2e 20 41 20 75 6e |ue event|Id. A un|
|00001590| 69 71 75 65 20 72 65 73 | 75 6c 74 52 65 66 4e 75 |ique res|ultRefNu|
|000015a0| 6d 20 69 73 20 72 65 74 | 75 72 6e 65 64 20 66 6f |m is ret|urned fo|
|000015b0| 72 20 65 61 63 68 20 69 | 6e 73 74 61 6c 6c 65 64 |r each i|nstalled|
|000015c0| 20 68 61 6e 64 65 72 2e | 20 45 61 63 68 20 69 6e | hander.| Each in|
|000015d0| 73 74 61 6c 6c 65 64 20 | 63 6f 6e 74 65 78 74 20 |stalled |context |
|000015e0| 68 61 6e 64 6c 65 72 20 | 6d 75 73 74 20 62 65 20 |handler |must be |
|000015f0| 72 65 6d 6f 76 65 64 20 | 77 69 74 68 20 61 6e 20 |removed |with an |
|00001600| 41 47 52 65 6d 6f 76 65 | 43 6f 6e 74 65 78 74 48 |AGRemove|ContextH|
|00001610| 61 6e 64 6c 65 72 20 63 | 61 6c 6c 20 77 68 65 6e |andler c|all when|
|00001620| 20 6e 6f 20 6c 6f 6e 67 | 65 72 20 6e 65 65 64 65 | no long|er neede|
|00001630| 64 2e 0d 45 72 72 6f 72 | 20 43 6f 64 65 73 0d 6e |d..Error| Codes.n|
|00001640| 6f 45 72 72 0d 6b 41 47 | 45 72 72 43 61 6e 6e 6f |oErr.kAG|ErrCanno|
|00001650| 74 49 6e 69 74 43 6f 6e | 74 65 78 74 0d 6b 41 47 |tInitCon|text.kAG|
|00001660| 45 72 72 4d 69 73 73 69 | 6e 67 41 70 70 49 6e 66 |ErrMissi|ngAppInf|
|00001670| 6f 48 64 6c 0d 6b 41 47 | 45 72 72 4d 69 73 73 69 |oHdl.kAG|ErrMissi|
|00001680| 6e 67 43 6f 6e 74 65 78 | 74 4f 62 6a 65 63 74 0d |ngContex|tObject.|
|00001690| 54 68 65 20 70 72 6f 74 | 6f 74 79 70 65 20 66 6f |The prot|otype fo|
|000016a0| 72 20 74 68 65 20 43 6f | 6e 74 65 78 74 52 65 70 |r the Co|ntextRep|
|000016b0| 6c 79 50 72 6f 63 20 69 | 73 20 61 73 20 66 6f 6c |lyProc i|s as fol|
|000016c0| 6c 6f 77 73 3a 0d 74 79 | 70 65 64 65 66 20 70 61 |lows:.ty|pedef pa|
|000016d0| 73 63 61 6c 20 4f 53 45 | 72 72 20 28 2a 43 6f 6e |scal OSE|rr (*Con|
|000016e0| 74 65 78 74 52 65 70 6c | 79 50 72 6f 63 50 74 72 |textRepl|yProcPtr|
|000016f0| 29 28 0d 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |)(......|........|
|00001700| 50 74 72 20 70 49 6e 70 | 75 74 44 61 74 61 2c 0d |Ptr pInp|utData,.|
|00001710| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 53 69 7a |........|.....Siz|
|00001720| 65 20 69 6e 70 75 74 44 | 61 74 61 53 69 7a 65 2c |e inputD|ataSize,|
|00001730| 0d 09 09 09 09 09 09 09 | 09 09 09 09 09 09 50 74 |........|......Pt|
|00001740| 72 20 2a 70 70 4f 75 74 | 70 75 74 44 61 74 61 2c |r *ppOut|putData,|
|00001750| 0d 09 09 09 09 09 09 09 | 09 09 09 09 09 09 53 69 |........|......Si|
|00001760| 7a 65 20 2a 70 4f 75 74 | 70 75 74 44 61 74 61 53 |ze *pOut|putDataS|
|00001770| 69 7a 65 2c 0d 09 09 09 | 09 09 09 09 09 09 09 09 |ize,....|........|
|00001780| 09 09 41 47 41 70 70 49 | 6e 66 6f 48 64 6c 20 68 |..AGAppI|nfoHdl h|
|00001790| 41 70 70 49 6e 66 6f 29 | 3b 0d 70 49 6e 70 75 74 |AppInfo)|;.pInput|
|000017a0| 44 61 74 61 09 54 68 65 | 20 64 61 74 61 20 66 72 |Data.The| data fr|
|000017b0| 6f 6d 20 74 68 65 20 64 | 61 74 61 62 61 73 65 20 |om the d|atabase |
|000017c0| 63 6f 6e 74 65 78 74 20 | 63 68 65 63 6b 20 64 61 |context |check da|
|000017d0| 74 61 20 66 69 65 6c 64 | 2e 0d 69 6e 70 75 74 44 |ta field|..inputD|
|000017e0| 61 74 61 53 69 7a 65 09 | 54 68 65 20 73 69 7a 65 |ataSize.|The size|
|000017f0| 20 6f 66 20 74 68 65 20 | 69 6e 70 75 74 20 64 61 | of the |input da|
|00001800| 74 61 20 69 6e 20 62 79 | 74 65 73 2e 0d 70 70 4f |ta in by|tes..ppO|
|00001810| 75 74 70 75 74 44 61 74 | 61 09 52 65 74 75 72 6e |utputDat|a.Return|
|00001820| 20 61 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 61 20 | a point|er to a |
|00001830| 73 68 6f 72 74 2e 20 54 | 68 65 20 73 68 6f 72 74 |short. T|he short|
|00001840| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 72 65 | contain|s the re|
|00001850| 74 75 72 6e 20 64 61 74 | 61 2c 20 75 73 75 61 6c |turn dat|a, usual|
|00001860| 6c 79 20 31 20 28 74 72 | 75 65 29 20 6f 72 20 30 |ly 1 (tr|ue) or 0|
|00001870| 20 28 66 61 6c 73 65 29 | 2e 20 54 68 65 20 70 6f | (false)|. The po|
|00001880| 69 6e 74 65 72 20 6d 75 | 73 74 20 62 65 20 64 69 |inter mu|st be di|
|00001890| 73 70 6f 73 65 64 20 62 | 79 20 74 68 65 20 63 61 |sposed b|y the ca|
|000018a0| 6c 6c 65 72 2e 0d 6f 75 | 74 70 75 74 44 61 74 61 |ller..ou|tputData|
|000018b0| 53 69 7a 65 09 54 68 65 | 20 73 69 7a 65 20 6f 66 |Size.The| size of|
|000018c0| 20 74 68 65 20 6f 75 74 | 70 75 74 20 64 61 74 61 | the out|put data|
|000018d0| 20 69 6e 20 62 79 74 65 | 73 2c 20 75 73 75 61 6c | in byte|s, usual|
|000018e0| 6c 79 20 32 2e 0d 68 41 | 70 70 49 6e 66 6f 09 41 |ly 2..hA|ppInfo.A|
|000018f0| 20 48 61 6e 64 6c 65 20 | 74 6f 20 69 6e 66 6f 72 | Handle |to infor|
|00001900| 6d 61 74 69 6f 6e 20 66 | 72 6f 6d 20 74 68 65 20 |mation f|rom the |
|00001910| 41 47 49 6e 73 74 61 6c | 6c 43 6f 6e 74 65 78 74 |AGInstal|lContext|
|00001920| 48 61 6e 64 6c 65 72 20 | 61 73 20 66 6f 6c 6c 6f |Handler |as follo|
|00001930| 77 73 3a 0d 66 69 65 6c | 64 20 31 09 65 76 65 6e |ws:.fiel|d 1.even|
|00001940| 74 49 64 0d 66 69 65 6c | 64 20 32 09 72 65 66 43 |tId.fiel|d 2.refC|
|00001950| 6f 6e 0d 66 69 65 6c 64 | 20 33 09 70 72 69 76 61 |on.field| 3.priva|
|00001960| 74 65 20 73 79 73 74 65 | 6d 20 66 69 65 6c 64 20 |te syste|m field |
|00001970| 28 76 6f 69 64 2a 29 0d | 41 47 49 73 44 61 74 61 |(void*).|AGIsData|
|00001980| 62 61 73 65 4f 70 65 6e | 0d 70 61 73 63 61 6c 20 |baseOpen|.pascal |
|00001990| 42 6f 6f 6c 65 61 6e 20 | 41 47 49 73 44 61 74 61 |Boolean |AGIsData|
|000019a0| 62 61 73 65 4f 70 65 6e | 28 41 47 52 65 66 4e 75 |baseOpen|(AGRefNu|
|000019b0| 6d 20 72 65 66 4e 75 6d | 29 3b 0d 72 65 66 4e 75 |m refNum|);.refNu|
|000019c0| 6d 09 41 20 72 65 66 65 | 72 65 6e 63 65 20 74 6f |m.A refe|rence to|
|000019d0| 20 74 68 65 20 64 61 74 | 61 62 61 73 65 2e 0d 43 | the dat|abase..C|
|000019e0| 68 65 63 6b 73 20 77 68 | 65 74 68 65 72 20 74 68 |hecks wh|ether th|
|000019f0| 65 20 64 61 74 61 62 61 | 73 65 20 61 73 73 6f 63 |e databa|se assoc|
|00001a00| 69 61 74 65 64 20 77 69 | 74 68 20 72 65 66 4e 75 |iated wi|th refNu|
|00001a10| 6d 20 69 73 20 73 74 69 | 6c 6c 20 6f 70 65 6e 2e |m is sti|ll open.|
|00001a20| 20 52 65 74 75 72 6e 73 | 20 74 72 75 65 20 6f 72 | Returns| true or|
|00001a30| 20 66 61 6c 73 65 2e 20 | 49 66 20 74 68 65 20 64 | false. |If the d|
|00001a40| 61 74 61 62 61 73 65 20 | 69 73 20 6e 6f 74 20 6f |atabase |is not o|
|00001a50| 70 65 6e 20 6f 72 20 74 | 68 65 20 72 65 66 4e 75 |pen or t|he refNu|
|00001a60| 6d 20 69 73 20 69 6e 76 | 61 6c 69 64 2c 20 66 61 |m is inv|alid, fa|
|00001a70| 6c 73 65 20 69 73 20 72 | 65 74 75 72 6e 65 64 2e |lse is r|eturned.|
|00001a80| 0d 54 68 65 20 63 6f 6e | 73 74 61 6e 74 2c 20 6b |.The con|stant, k|
|00001a90| 41 47 46 72 6f 6e 74 44 | 61 74 61 62 61 73 65 2c |AGFrontD|atabase,|
|00001aa0| 20 6d 61 79 20 62 65 20 | 73 75 62 73 69 74 69 74 | may be |subsitit|
|00001ab0| 75 65 64 20 66 6f 72 20 | 74 68 65 20 72 65 66 4e |ued for |the refN|
|00001ac0| 75 6d 2e 20 49 66 20 66 | 61 6c 73 65 20 69 73 20 |um. If f|alse is |
|00001ad0| 72 65 74 75 72 6e 65 64 | 2c 20 74 68 65 6e 20 6e |returned|, then n|
|00001ae0| 6f 20 64 61 74 61 62 61 | 73 65 20 69 73 20 6f 70 |o databa|se is op|
|00001af0| 65 6e 2e 0d 45 72 72 6f | 72 20 43 6f 64 65 73 0d |en..Erro|r Codes.|
|00001b00| 28 6e 6f 6e 65 29 0d 41 | 47 4f 70 65 6e 0d 70 61 |(none).A|GOpen.pa|
|00001b10| 73 63 61 6c 20 41 47 45 | 72 72 20 41 47 4f 70 65 |scal AGE|rr AGOpe|
|00001b20| 6e 28 46 53 53 70 65 63 | 20 2a 66 69 6c 65 53 70 |n(FSSpec| *fileSp|
|00001b30| 65 63 2c 0d 09 09 09 09 | 09 09 09 09 55 49 6e 74 |ec,.....|....UInt|
|00001b40| 33 32 20 66 6c 61 67 73 | 2c 0d 09 09 09 09 09 09 |32 flags|,.......|
|00001b50| 09 09 48 61 6e 64 6c 65 | 20 6d 69 78 69 6e 43 6f |..Handle| mixinCo|
|00001b60| 6e 74 72 6f 6c 2c 0d 09 | 09 09 09 09 09 09 09 41 |ntrol,..|.......A|
|00001b70| 47 52 65 66 4e 75 6d 20 | 2a 72 65 73 75 6c 74 52 |GRefNum |*resultR|
|00001b80| 65 66 4e 75 6d 29 3b 0d | 66 69 6c 65 53 70 65 63 |efNum);.|fileSpec|
|00001b90| 09 54 68 65 20 46 53 53 | 70 65 63 20 66 6f 72 20 |.The FSS|pec for |
|00001ba0| 74 68 65 20 64 61 74 61 | 62 61 73 65 20 66 69 6c |the data|base fil|
|00001bb0| 65 20 74 6f 20 6f 70 65 | 6e 2e 0d 66 6c 61 67 73 |e to ope|n..flags|
|00001bc0| 09 41 20 63 6f 6c 6c 65 | 63 74 69 6f 6e 20 6f 66 |.A colle|ction of|
|00001bd0| 20 62 69 74 20 66 6c 61 | 67 73 20 74 68 61 74 20 | bit fla|gs that |
|00001be0| 73 70 65 63 69 66 79 20 | 6f 70 74 69 6f 6e 73 2e |specify |options.|
|00001bf0| 20 41 6c 77 61 79 73 20 | 30 20 66 6f 72 20 41 70 | Always |0 for Ap|
|00001c00| 70 6c 65 20 47 75 69 64 | 65 20 31 2e 32 2e 0d 6d |ple Guid|e 1.2..m|
|00001c10| 69 78 69 6e 43 6f 6e 74 | 72 6f 6c 09 41 20 48 61 |ixinCont|rol.A Ha|
|00001c20| 6e 64 6c 65 20 74 6f 20 | 61 20 6c 69 73 74 20 6f |ndle to |a list o|
|00001c30| 66 20 6d 69 78 69 6e 20 | 66 69 6c 65 73 20 74 6f |f mixin |files to|
|00001c40| 20 62 65 20 6d 69 78 65 | 64 2d 69 6e 74 6f 20 74 | be mixe|d-into t|
|00001c50| 68 65 20 6d 61 69 6e 20 | 64 61 74 61 62 61 73 65 |he main |database|
|00001c60| 20 73 70 65 63 69 66 69 | 65 64 20 69 6e 20 74 68 | specifi|ed in th|
|00001c70| 65 20 66 69 6c 65 53 70 | 65 63 2e 20 41 6c 77 61 |e fileSp|ec. Alwa|
|00001c80| 79 73 20 6e 69 6c 20 66 | 6f 72 20 41 70 70 6c 65 |ys nil f|or Apple|
|00001c90| 20 47 75 69 64 65 20 31 | 2e 32 2e 0d 72 65 73 75 | Guide 1|.2..resu|
|00001ca0| 6c 74 52 65 66 4e 75 6d | 09 41 20 72 65 66 65 72 |ltRefNum|.A refer|
|00001cb0| 65 6e 63 65 20 74 6f 20 | 74 68 65 20 6f 70 65 6e |ence to |the open|
|00001cc0| 20 64 61 74 61 62 61 73 | 65 2e 20 52 65 74 75 72 | databas|e. Retur|
|00001cd0| 6e 65 64 20 62 79 20 74 | 68 65 20 66 75 6e 63 74 |ned by t|he funct|
|00001ce0| 69 6f 6e 2e 0d 4f 70 65 | 6e 20 74 68 65 20 67 69 |ion..Ope|n the gi|
|00001cf0| 76 65 6e 20 64 61 74 61 | 62 61 73 65 2e 0d 54 68 |ven data|base..Th|
|00001d00| 65 20 41 47 4f 70 65 6e | 20 63 61 6c 6c 73 20 72 |e AGOpen| calls r|
|00001d10| 65 74 75 72 6e 20 61 6e | 20 41 47 52 65 66 4e 75 |eturn an| AGRefNu|
|00001d20| 6d 20 61 6e 64 20 6d 6f | 73 74 20 6f 74 68 65 72 |m and mo|st other|
|00001d30| 20 63 61 6c 6c 73 20 72 | 65 71 75 69 72 65 20 6f | calls r|equire o|
|00001d40| 6e 65 2e 0d 41 47 4f 70 | 65 6e 20 63 61 6c 6c 73 |ne..AGOp|en calls|
|00001d50| 20 64 6f 20 6e 6f 74 20 | 72 65 71 75 69 72 65 20 | do not |require |
|00001d60| 61 20 70 72 69 6f 72 20 | 41 47 53 74 61 72 74 2e |a prior |AGStart.|
|00001d70| 20 49 66 20 41 70 70 6c | 65 20 47 75 69 64 65 20 | If Appl|e Guide |
|00001d80| 69 73 20 6e 6f 74 20 72 | 75 6e 6e 69 6e 67 2c 20 |is not r|unning, |
|00001d90| 69 74 20 77 69 6c 6c 20 | 62 65 20 73 74 61 72 74 |it will |be start|
|00001da0| 65 64 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |ed autom|atically|
|00001db0| 2e 0d 49 66 20 6b 41 47 | 44 65 66 61 75 6c 74 20 |..If kAG|Default |
|00001dc0| 69 73 20 70 61 73 73 65 | 64 20 69 6e 73 74 65 61 |is passe|d instea|
|00001dd0| 64 20 6f 66 20 61 20 46 | 53 53 70 65 63 20 70 6f |d of a F|SSpec po|
|00001de0| 69 6e 74 65 72 2c 20 74 | 68 65 20 64 65 66 61 75 |inter, t|he defau|
|00001df0| 6c 74 20 48 65 6c 70 20 | 6d 65 6e 75 20 64 61 74 |lt Help |menu dat|
|00001e00| 61 62 61 73 65 2c 20 69 | 66 20 70 72 65 73 65 6e |abase, i|f presen|
|00001e10| 74 2c 20 69 73 20 6f 70 | 65 6e 65 64 2e 0d 45 72 |t, is op|ened..Er|
|00001e20| 72 6f 72 20 43 6f 64 65 | 73 0d 6e 6f 45 72 72 0d |ror Code|s.noErr.|
|00001e30| 6b 41 47 45 72 72 43 61 | 6e 6e 6f 74 4f 70 65 6e |kAGErrCa|nnotOpen|
|00001e40| 41 6c 69 61 73 46 69 6c | 65 0d 6b 41 47 45 72 72 |AliasFil|e.kAGErr|
|00001e50| 4e 6f 41 6c 69 61 73 52 | 65 73 6f 75 72 63 65 0d |NoAliasR|esource.|
|00001e60| 6b 41 47 45 72 72 44 61 | 74 61 62 61 73 65 4e 6f |kAGErrDa|tabaseNo|
|00001e70| 74 41 76 61 69 6c 61 62 | 6c 65 0d 6b 41 47 45 72 |tAvailab|le.kAGEr|
|00001e80| 72 49 6e 73 75 66 66 69 | 63 69 65 6e 74 4d 65 6d |rInsuffi|cientMem|
|00001e90| 6f 72 79 0d 41 47 4f 70 | 65 6e 57 69 74 68 53 65 |ory.AGOp|enWithSe|
|00001ea0| 61 72 63 68 0d 70 61 73 | 63 61 6c 20 41 47 45 72 |arch.pas|cal AGEr|
|00001eb0| 72 20 41 47 4f 70 65 6e | 57 69 74 68 53 65 61 72 |r AGOpen|WithSear|
|00001ec0| 63 68 28 46 53 53 70 65 | 63 20 2a 66 69 6c 65 53 |ch(FSSpe|c *fileS|
|00001ed0| 70 65 63 2c 0d 09 09 09 | 09 09 09 09 09 09 09 09 |pec,....|........|
|00001ee0| 09 55 49 6e 74 33 32 20 | 66 6c 61 67 73 2c 0d 09 |.UInt32 |flags,..|
|00001ef0| 09 09 09 09 09 09 09 09 | 09 09 09 48 61 6e 64 6c |........|...Handl|
|00001f00| 65 20 6d 69 78 69 6e 43 | 6f 6e 74 72 6f 6c 2c 0d |e mixinC|ontrol,.|
|00001f10| 09 09 09 09 09 09 09 09 | 09 09 09 09 43 6f 6e 73 |........|....Cons|
|00001f20| 74 53 74 72 32 35 35 50 | 61 72 61 6d 20 73 65 61 |tStr255P|aram sea|
|00001f30| 72 63 68 53 74 72 69 6e | 67 2c 0d 09 09 09 09 09 |rchStrin|g,......|
|00001f40| 09 09 09 09 09 09 09 41 | 47 52 65 66 4e 75 6d 20 |.......A|GRefNum |
|00001f50| 2a 72 65 73 75 6c 74 52 | 65 66 4e 75 6d 29 3b 0d |*resultR|efNum);.|
|00001f60| 66 69 6c 65 53 70 65 63 | 09 54 68 65 20 46 53 53 |fileSpec|.The FSS|
|00001f70| 70 65 63 20 66 6f 72 20 | 74 68 65 20 64 61 74 61 |pec for |the data|
|00001f80| 62 61 73 65 20 66 69 6c | 65 20 74 6f 20 6f 70 65 |base fil|e to ope|
|00001f90| 6e 2e 0d 66 6c 61 67 73 | 09 41 20 63 6f 6c 6c 65 |n..flags|.A colle|
|00001fa0| 63 74 69 6f 6e 20 6f 66 | 20 62 69 74 20 66 6c 61 |ction of| bit fla|
|00001fb0| 67 73 20 74 68 61 74 20 | 73 70 65 63 69 66 79 20 |gs that |specify |
|00001fc0| 6f 70 74 69 6f 6e 73 2e | 20 41 6c 77 61 79 73 20 |options.| Always |
|00001fd0| 30 20 66 6f 72 20 41 70 | 70 6c 65 20 47 75 69 64 |0 for Ap|ple Guid|
|00001fe0| 65 20 31 2e 32 2e 0d 6d | 69 78 69 6e 43 6f 6e 74 |e 1.2..m|ixinCont|
|00001ff0| 72 6f 6c 09 41 20 48 61 | 6e 64 6c 65 20 74 6f 20 |rol.A Ha|ndle to |
|00002000| 61 20 6c 69 73 74 20 6f | 66 20 6d 69 78 69 6e 20 |a list o|f mixin |
|00002010| 66 69 6c 65 73 20 74 6f | 20 62 65 20 6d 69 78 65 |files to| be mixe|
|00002020| 64 2d 69 6e 74 6f 20 74 | 68 65 20 6d 61 69 6e 20 |d-into t|he main |
|00002030| 64 61 74 61 62 61 73 65 | 20 73 70 65 63 69 66 69 |database| specifi|
|00002040| 65 64 20 69 6e 20 74 68 | 65 20 66 69 6c 65 53 70 |ed in th|e fileSp|
|00002050| 65 63 2e 20 41 6c 77 61 | 79 73 20 6e 69 6c 20 66 |ec. Alwa|ys nil f|
|00002060| 6f 72 20 41 70 70 6c 65 | 20 47 75 69 64 65 20 31 |or Apple| Guide 1|
|00002070| 2e 32 2e 0d 73 65 61 72 | 63 68 53 74 72 69 6e 67 |.2..sear|chString|
|00002080| 09 41 20 73 74 72 69 6e | 67 20 74 6f 20 69 6e 73 |.A strin|g to ins|
|00002090| 65 72 74 20 69 6e 74 6f | 20 74 68 65 20 6c 6f 6f |ert into| the loo|
|000020a0| 6b 2d 66 6f 72 20 65 64 | 69 74 54 65 78 74 20 62 |k-for ed|itText b|
|000020b0| 6f 78 20 6f 6e 20 74 68 | 65 20 6c 6f 6f 6b 2d 66 |ox on th|e look-f|
|000020c0| 6f 72 20 76 69 65 77 20 | 6f 66 20 74 68 65 20 61 |or view |of the a|
|000020d0| 63 63 65 73 73 20 77 69 | 6e 64 6f 77 2e 20 41 20 |ccess wi|ndow. A |
|000020e0| 73 65 61 72 63 68 20 69 | 73 20 61 75 74 6f 6d 61 |search i|s automa|
|000020f0| 74 69 63 61 6c 6c 79 20 | 69 6e 69 74 69 61 74 65 |tically |initiate|
|00002100| 64 20 77 69 74 68 20 74 | 68 69 73 20 73 74 72 69 |d with t|his stri|
|00002110| 6e 67 2e 0d 72 65 73 75 | 6c 74 52 65 66 4e 75 6d |ng..resu|ltRefNum|
|00002120| 09 41 20 72 65 66 65 72 | 65 6e 63 65 20 74 6f 20 |.A refer|ence to |
|00002130| 74 68 65 20 6f 70 65 6e | 20 64 61 74 61 62 61 73 |the open| databas|
|00002140| 65 2e 20 52 65 74 75 72 | 6e 65 64 20 62 79 20 74 |e. Retur|ned by t|
|00002150| 68 65 20 66 75 6e 63 74 | 69 6f 6e 2e 0d 53 74 61 |he funct|ion..Sta|
|00002160| 72 74 20 68 65 6c 70 20 | 69 6e 20 4c 6f 6f 6b 2d |rt help |in Look-|
|00002170| 46 6f 72 20 76 69 65 77 | 20 77 69 74 68 20 61 20 |For view| with a |
|00002180| 73 65 61 72 63 68 20 75 | 6e 64 65 72 77 61 79 2e |search u|nderway.|
|00002190| 0d 45 72 72 6f 72 20 43 | 6f 64 65 73 0d 6e 6f 45 |.Error C|odes.noE|
|000021a0| 72 72 0d 6b 41 47 45 72 | 72 43 61 6e 6e 6f 74 4f |rr.kAGEr|rCannotO|
|000021b0| 70 65 6e 41 6c 69 61 73 | 46 69 6c 65 0d 6b 41 47 |penAlias|File.kAG|
|000021c0| 45 72 72 4e 6f 41 6c 69 | 61 73 52 65 73 6f 75 72 |ErrNoAli|asResour|
|000021d0| 63 65 0d 6b 41 47 45 72 | 72 44 61 74 61 62 61 73 |ce.kAGEr|rDatabas|
|000021e0| 65 4e 6f 74 41 76 61 69 | 6c 61 62 6c 65 0d 6b 41 |eNotAvai|lable.kA|
|000021f0| 47 45 72 72 49 6e 73 75 | 66 66 69 63 69 65 6e 74 |GErrInsu|fficient|
|00002200| 4d 65 6d 6f 72 79 0d 41 | 47 4f 70 65 6e 57 69 74 |Memory.A|GOpenWit|
|00002210| 68 53 65 71 75 65 6e 63 | 65 0d 70 61 73 63 61 6c |hSequenc|e.pascal|
|00002220| 20 41 47 45 72 72 20 41 | 47 4f 70 65 6e 57 69 74 | AGErr A|GOpenWit|
|00002230| 68 53 65 71 75 65 6e 63 | 65 28 46 53 53 70 65 63 |hSequenc|e(FSSpec|
|00002240| 20 2a 66 69 6c 65 53 70 | 65 63 2c 0d 09 09 09 09 | *fileSp|ec,.....|
|00002250| 09 09 09 09 09 09 09 09 | 55 49 6e 74 33 32 20 66 |........|UInt32 f|
|00002260| 6c 61 67 73 2c 0d 09 09 | 09 09 09 09 09 09 09 09 |lags,...|........|
|00002270| 09 09 48 61 6e 64 6c 65 | 20 6d 69 78 69 6e 43 6f |..Handle| mixinCo|
|00002280| 6e 74 72 6f 6c 2c 0d 09 | 09 09 09 09 09 09 09 09 |ntrol,..|........|
|00002290| 09 09 09 73 68 6f 72 74 | 20 73 65 71 75 65 6e 63 |...short| sequenc|
|000022a0| 65 49 64 2c 0d 09 09 09 | 09 09 09 09 09 09 09 09 |eId,....|........|
|000022b0| 09 41 47 52 65 66 4e 75 | 6d 20 2a 72 65 73 75 6c |.AGRefNu|m *resul|
|000022c0| 74 52 65 66 4e 75 6d 29 | 3b 0d 66 69 6c 65 53 70 |tRefNum)|;.fileSp|
|000022d0| 65 63 09 54 68 65 20 46 | 53 53 70 65 63 20 66 6f |ec.The F|SSpec fo|
|000022e0| 72 20 74 68 65 20 64 61 | 74 61 62 61 73 65 20 66 |r the da|tabase f|
|000022f0| 69 6c 65 20 74 6f 20 6f | 70 65 6e 2e 0d 66 6c 61 |ile to o|pen..fla|
|00002300| 67 73 09 41 20 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |gs.A col|lection |
|00002310| 6f 66 20 62 69 74 20 66 | 6c 61 67 73 20 74 68 61 |of bit f|lags tha|
|00002320| 74 20 73 70 65 63 69 66 | 79 20 6f 70 74 69 6f 6e |t specif|y option|
|00002330| 73 2e 20 41 6c 77 61 79 | 73 20 30 20 66 6f 72 20 |s. Alway|s 0 for |
|00002340| 41 70 70 6c 65 20 47 75 | 69 64 65 20 31 2e 32 2e |Apple Gu|ide 1.2.|
|00002350| 0d 6d 69 78 69 6e 43 6f | 6e 74 72 6f 6c 09 41 20 |.mixinCo|ntrol.A |
|00002360| 48 61 6e 64 6c 65 20 74 | 6f 20 61 20 6c 69 73 74 |Handle t|o a list|
|00002370| 20 6f 66 20 6d 69 78 69 | 6e 20 66 69 6c 65 73 20 | of mixi|n files |
|00002380| 74 6f 20 62 65 20 6d 69 | 78 65 64 2d 69 6e 74 6f |to be mi|xed-into|
|00002390| 20 74 68 65 20 6d 61 69 | 6e 20 64 61 74 61 62 61 | the mai|n databa|
|000023a0| 73 65 20 73 70 65 63 69 | 66 69 65 64 20 69 6e 20 |se speci|fied in |
|000023b0| 74 68 65 20 66 69 6c 65 | 53 70 65 63 2e 20 41 6c |the file|Spec. Al|
|000023c0| 77 61 79 73 20 6e 69 6c | 20 66 6f 72 20 41 70 70 |ways nil| for App|
|000023d0| 6c 65 20 47 75 69 64 65 | 20 31 2e 32 2e 0d 73 65 |le Guide| 1.2..se|
|000023e0| 71 75 65 6e 63 65 49 64 | 09 54 68 65 20 69 64 20 |quenceId|.The id |
|000023f0| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 65 20 73 65 |number o|f the se|
|00002400| 71 75 65 6e 63 65 2e 20 | 54 68 65 20 73 65 71 75 |quence. |The sequ|
|00002410| 65 6e 63 65 20 69 64 20 | 6e 75 6d 62 65 72 20 69 |ence id |number i|
|00002420| 73 20 61 73 73 69 67 6e | 65 64 20 62 79 20 74 68 |s assign|ed by th|
|00002430| 65 20 61 75 74 68 6f 72 | 69 6e 67 20 74 6f 6f 6c |e author|ing tool|
|00002440| 2e 0d 72 65 73 75 6c 74 | 52 65 66 4e 75 6d 09 41 |..result|RefNum.A|
|00002450| 20 72 65 66 65 72 65 6e | 63 65 20 74 6f 20 74 68 | referen|ce to th|
|00002460| 65 20 6f 70 65 6e 20 64 | 61 74 61 62 61 73 65 2e |e open d|atabase.|
|00002470| 20 52 65 74 75 72 6e 65 | 64 20 62 79 20 74 68 65 | Returne|d by the|
|00002480| 20 66 75 6e 63 74 69 6f | 6e 2e 0d 53 74 61 72 74 | functio|n..Start|
|00002490| 20 68 65 6c 70 20 77 69 | 74 68 20 61 20 70 72 65 | help wi|th a pre|
|000024a0| 73 65 6e 74 61 74 69 6f | 6e 20 73 65 71 75 65 6e |sentatio|n sequen|
|000024b0| 63 65 2e 0d 45 72 72 6f | 72 20 43 6f 64 65 73 0d |ce..Erro|r Codes.|
|000024c0| 6e 6f 45 72 72 0d 6b 41 | 47 45 72 72 43 61 6e 6e |noErr.kA|GErrCann|
|000024d0| 6f 74 4f 70 65 6e 41 6c | 69 61 73 46 69 6c 65 0d |otOpenAl|iasFile.|
|000024e0| 6b 41 47 45 72 72 4e 6f | 41 6c 69 61 73 52 65 73 |kAGErrNo|AliasRes|
|000024f0| 6f 75 72 63 65 0d 6b 41 | 47 45 72 72 44 61 74 61 |ource.kA|GErrData|
|00002500| 62 61 73 65 4e 6f 74 41 | 76 61 69 6c 61 62 6c 65 |baseNotA|vailable|
|00002510| 0d 6b 41 47 45 72 72 49 | 6e 73 75 66 66 69 63 69 |.kAGErrI|nsuffici|
|00002520| 65 6e 74 4d 65 6d 6f 72 | 79 0d 41 47 4f 70 65 6e |entMemor|y.AGOpen|
|00002530| 57 69 74 68 56 69 65 77 | 0d 70 61 73 63 61 6c 20 |WithView|.pascal |
|00002540| 41 47 45 72 72 20 41 47 | 4f 70 65 6e 57 69 74 68 |AGErr AG|OpenWith|
|00002550| 56 69 65 77 28 46 53 53 | 70 65 63 20 2a 66 69 6c |View(FSS|pec *fil|
|00002560| 65 53 70 65 63 2c 0d 09 | 09 09 09 09 09 09 09 09 |eSpec,..|........|
|00002570| 09 09 09 55 49 6e 74 33 | 32 20 66 6c 61 67 73 2c |...UInt3|2 flags,|
|00002580| 0d 09 09 09 09 09 09 09 | 09 09 09 09 09 48 61 6e |........|.....Han|
|00002590| 64 6c 65 20 6d 69 78 69 | 6e 43 6f 6e 74 72 6f 6c |dle mixi|nControl|
|000025a0| 2c 0d 09 09 09 09 09 09 | 09 09 09 09 09 09 73 68 |,.......|......sh|
|000025b0| 6f 72 74 20 76 69 65 77 | 4e 75 6d 2c 0d 09 09 09 |ort view|Num,....|
|000025c0| 09 09 09 09 09 09 09 09 | 09 41 47 52 65 66 4e 75 |........|.AGRefNu|
|000025d0| 6d 20 2a 72 65 73 75 6c | 74 52 65 66 4e 75 6d 29 |m *resul|tRefNum)|
|000025e0| 3b 0d 66 69 6c 65 53 70 | 65 63 09 54 68 65 20 46 |;.fileSp|ec.The F|
|000025f0| 53 53 70 65 63 20 66 6f | 72 20 74 68 65 20 64 61 |SSpec fo|r the da|
|00002600| 74 61 62 61 73 65 20 66 | 69 6c 65 20 74 6f 20 6f |tabase f|ile to o|
|00002610| 70 65 6e 2e 0d 66 6c 61 | 67 73 09 41 20 63 6f 6c |pen..fla|gs.A col|
|00002620| 6c 65 63 74 69 6f 6e 20 | 6f 66 20 62 69 74 20 66 |lection |of bit f|
|00002630| 6c 61 67 73 20 74 68 61 | 74 20 73 70 65 63 69 66 |lags tha|t specif|
|00002640| 79 20 6f 70 74 69 6f 6e | 73 2e 20 41 6c 77 61 79 |y option|s. Alway|
|00002650| 73 20 30 20 66 6f 72 20 | 41 70 70 6c 65 20 47 75 |s 0 for |Apple Gu|
|00002660| 69 64 65 20 31 2e 32 2e | 0d 6d 69 78 69 6e 43 6f |ide 1.2.|.mixinCo|
|00002670| 6e 74 72 6f 6c 09 41 20 | 48 61 6e 64 6c 65 20 74 |ntrol.A |Handle t|
|00002680| 6f 20 61 20 6c 69 73 74 | 20 6f 66 20 6d 69 78 69 |o a list| of mixi|
|00002690| 6e 20 66 69 6c 65 73 20 | 74 6f 20 62 65 20 6d 69 |n files |to be mi|
|000026a0| 78 65 64 2d 69 6e 74 6f | 20 74 68 65 20 6d 61 69 |xed-into| the mai|
|000026b0| 6e 20 64 61 74 61 62 61 | 73 65 20 73 70 65 63 69 |n databa|se speci|
|000026c0| 66 69 65 64 20 69 6e 20 | 74 68 65 20 66 69 6c 65 |fied in |the file|
|000026d0| 53 70 65 63 2e 20 41 6c | 77 61 79 73 20 6e 69 6c |Spec. Al|ways nil|
|000026e0| 20 66 6f 72 20 41 70 70 | 6c 65 20 47 75 69 64 65 | for App|le Guide|
|000026f0| 20 31 2e 32 2e 0d 76 69 | 65 77 4e 75 6d 09 54 68 | 1.2..vi|ewNum.Th|
|00002700| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 65 20 |e number| of the |
|00002710| 76 69 65 77 2e 20 54 68 | 65 20 63 68 6f 69 63 65 |view. Th|e choice|
|00002720| 73 20 61 72 65 3a 0d 09 | 6b 41 47 56 69 65 77 46 |s are:..|kAGViewF|
|00002730| 75 6c 6c 48 6f 77 64 79 | 0d 6b 41 47 56 69 65 77 |ullHowdy|.kAGView|
|00002740| 54 6f 70 69 63 41 72 65 | 61 73 0d 6b 41 47 56 69 |TopicAre|as.kAGVi|
|00002750| 65 77 49 6e 64 65 78 0d | 6b 41 47 56 69 65 77 4c |ewIndex.|kAGViewL|
|00002760| 6f 6f 6b 46 6f 72 0d 6b | 41 47 56 69 65 77 53 69 |ookFor.k|AGViewSi|
|00002770| 6e 67 6c 65 48 6f 77 64 | 79 0d 6b 41 47 56 69 65 |ngleHowd|y.kAGVie|
|00002780| 77 53 69 6e 67 6c 65 54 | 6f 70 69 63 73 0d 72 65 |wSingleT|opics.re|
|00002790| 73 75 6c 74 52 65 66 4e | 75 6d 09 41 20 72 65 66 |sultRefN|um.A ref|
|000027a0| 65 72 65 6e 63 65 20 74 | 6f 20 74 68 65 20 6f 70 |erence t|o the op|
|000027b0| 65 6e 20 64 61 74 61 62 | 61 73 65 2e 20 52 65 74 |en datab|ase. Ret|
|000027c0| 75 72 6e 65 64 20 62 79 | 20 74 68 65 20 66 75 6e |urned by| the fun|
|000027d0| 63 74 69 6f 6e 2e 0d 53 | 74 61 72 74 20 68 65 6c |ction..S|tart hel|
|000027e0| 70 20 69 6e 20 74 68 65 | 20 73 70 65 63 69 66 69 |p in the| specifi|
|000027f0| 65 64 20 76 69 65 77 2e | 0d 45 72 72 6f 72 20 43 |ed view.|.Error C|
|00002800| 6f 64 65 73 0d 6e 6f 45 | 72 72 0d 6b 41 47 45 72 |odes.noE|rr.kAGEr|
|00002810| 72 43 61 6e 6e 6f 74 4f | 70 65 6e 41 6c 69 61 73 |rCannotO|penAlias|
|00002820| 46 69 6c 65 0d 6b 41 47 | 45 72 72 4e 6f 41 6c 69 |File.kAG|ErrNoAli|
|00002830| 61 73 52 65 73 6f 75 72 | 63 65 0d 6b 41 47 45 72 |asResour|ce.kAGEr|
|00002840| 72 44 61 74 61 62 61 73 | 65 4e 6f 74 41 76 61 69 |rDatabas|eNotAvai|
|00002850| 6c 61 62 6c 65 0d 6b 41 | 47 45 72 72 49 6e 73 75 |lable.kA|GErrInsu|
|00002860| 66 66 69 63 69 65 6e 74 | 4d 65 6d 6f 72 79 0d 41 |fficient|Memory.A|
|00002870| 47 51 75 69 74 0d 70 61 | 73 63 61 6c 20 41 47 45 |GQuit.pa|scal AGE|
|00002880| 72 72 20 41 47 51 75 69 | 74 28 76 6f 69 64 29 3b |rr AGQui|t(void);|
|00002890| 0d 49 66 20 6e 6f 20 64 | 61 74 61 62 61 73 65 73 |.If no d|atabases|
|000028a0| 20 61 72 65 20 6f 70 65 | 6e 2c 20 6d 61 6b 65 20 | are ope|n, make |
|000028b0| 41 70 70 6c 65 20 47 75 | 69 64 65 20 71 75 69 74 |Apple Gu|ide quit|
|000028c0| 2e 20 41 6e 20 41 47 51 | 75 69 74 20 75 73 75 61 |. An AGQ|uit usua|
|000028d0| 6c 6c 79 20 66 6f 6c 6c | 6f 77 73 20 74 68 65 20 |lly foll|ows the |
|000028e0| 6c 61 73 74 20 41 47 43 | 6c 6f 73 65 2e 20 49 66 |last AGC|lose. If|
|000028f0| 20 61 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 | an appl|ication |
|00002900| 71 75 69 74 73 20 77 69 | 74 68 6f 75 74 20 63 61 |quits wi|thout ca|
|00002910| 6c 6c 69 6e 67 20 41 47 | 51 75 69 74 20 61 6e 64 |lling AG|Quit and|
|00002920| 20 41 70 70 6c 65 20 47 | 75 69 64 65 20 69 73 20 | Apple G|uide is |
|00002930| 72 75 6e 6e 69 6e 67 20 | 77 69 74 68 20 6e 6f 20 |running |with no |
|00002940| 64 61 74 61 62 61 73 65 | 20 6f 70 65 6e 20 28 49 |database| open (I|
|00002950| 45 20 73 6c 65 65 70 69 | 6e 67 29 2c 20 41 70 70 |E sleepi|ng), App|
|00002960| 6c 65 20 47 75 69 64 65 | 20 77 69 6c 6c 20 72 65 |le Guide| will re|
|00002970| 6d 61 69 6e 20 72 75 6e | 6e 69 6e 67 2e 0d 49 66 |main run|ning..If|
|00002980| 20 61 20 64 61 74 61 62 | 61 73 65 20 69 73 20 6f | a datab|ase is o|
|00002990| 70 65 6e 2c 20 6b 41 47 | 45 72 72 44 61 74 61 62 |pen, kAG|ErrDatab|
|000029a0| 61 73 65 4f 70 65 6e 20 | 69 73 20 72 65 74 75 72 |aseOpen |is retur|
|000029b0| 6e 65 64 20 61 6e 64 20 | 41 70 70 6c 65 20 47 75 |ned and |Apple Gu|
|000029c0| 69 64 65 20 64 6f 65 73 | 20 6e 6f 74 20 71 75 69 |ide does| not qui|
|000029d0| 74 2e 0d 49 66 20 41 70 | 70 6c 65 20 47 75 69 64 |t..If Ap|ple Guid|
|000029e0| 65 20 68 61 73 20 61 6c | 72 65 61 64 79 20 71 75 |e has al|ready qu|
|000029f0| 69 74 2c 20 6e 6f 45 72 | 72 20 69 73 20 72 65 74 |it, noEr|r is ret|
|00002a00| 75 72 6e 65 64 2e 0d 45 | 72 72 6f 72 20 43 6f 64 |urned..E|rror Cod|
|00002a10| 65 73 0d 6e 6f 45 72 72 | 0d 6b 41 47 45 72 72 44 |es.noErr|.kAGErrD|
|00002a20| 61 74 61 62 61 73 65 4f | 70 65 6e 0d 41 47 52 65 |atabaseO|pen.AGRe|
|00002a30| 6d 6f 76 65 43 6f 61 63 | 68 48 61 6e 64 6c 65 72 |moveCoac|hHandler|
|00002a40| 0d 70 61 73 63 61 6c 20 | 4f 53 45 72 72 20 41 47 |.pascal |OSErr AG|
|00002a50| 52 65 6d 6f 76 65 43 6f | 61 63 68 48 61 6e 64 6c |RemoveCo|achHandl|
|00002a60| 65 72 28 41 47 43 6f 61 | 63 68 52 65 66 4e 75 6d |er(AGCoa|chRefNum|
|00002a70| 20 2a 74 68 65 52 65 66 | 4e 75 6d 29 3b 0d 72 65 | *theRef|Num);.re|
|00002a80| 66 4e 75 6d 09 41 20 72 | 65 66 65 72 65 6e 63 65 |fNum.A r|eference|
|00002a90| 20 74 6f 20 74 68 65 20 | 43 6f 61 63 68 20 68 61 | to the |Coach ha|
|00002aa0| 6e 64 6c 65 72 2e 20 50 | 61 73 73 65 64 20 74 6f |ndler. P|assed to|
|00002ab0| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 20 61 6e | the fun|ction an|
|00002ac0| 64 20 72 65 74 75 72 6e | 65 64 20 62 79 20 74 68 |d return|ed by th|
|00002ad0| 65 20 66 75 6e 63 74 69 | 6f 6e 2e 0d 52 65 6d 6f |e functi|on..Remo|
|00002ae0| 76 65 20 74 68 65 20 68 | 61 6e 64 6c 65 72 20 74 |ve the h|andler t|
|00002af0| 68 61 74 20 77 61 73 20 | 69 6e 73 74 61 6c 6c 65 |hat was |installe|
|00002b00| 64 2e 0d 45 72 72 6f 72 | 20 43 6f 64 65 73 0d 6e |d..Error| Codes.n|
|00002b10| 6f 45 72 72 0d 41 47 52 | 65 6d 6f 76 65 43 6f 6e |oErr.AGR|emoveCon|
|00002b20| 74 65 78 74 48 61 6e 64 | 6c 65 72 0d 70 61 73 63 |textHand|ler.pasc|
|00002b30| 61 6c 20 4f 53 45 72 72 | 20 41 47 52 65 6d 6f 76 |al OSErr| AGRemov|
|00002b40| 65 43 6f 6e 74 65 78 74 | 48 61 6e 64 6c 65 72 28 |eContext|Handler(|
|00002b50| 41 47 43 6f 6e 74 65 78 | 74 52 65 66 4e 75 6d 20 |AGContex|tRefNum |
|00002b60| 2a 72 65 66 4e 75 6d 29 | 3b 0d 72 65 66 4e 75 6d |*refNum)|;.refNum|
|00002b70| 09 41 20 72 65 66 65 72 | 65 6e 63 65 20 74 6f 20 |.A refer|ence to |
|00002b80| 74 68 65 20 43 6f 6e 74 | 65 78 74 20 68 61 6e 64 |the Cont|ext hand|
|00002b90| 6c 65 72 2e 20 50 61 73 | 73 65 64 20 74 6f 20 74 |ler. Pas|sed to t|
|00002ba0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 61 6e 64 20 |he funct|ion and |
|00002bb0| 72 65 74 75 72 6e 65 64 | 20 62 79 20 74 68 65 20 |returned| by the |
|00002bc0| 66 75 6e 63 74 69 6f 6e | 2e 0d 52 65 6d 6f 76 65 |function|..Remove|
|00002bd0| 20 74 68 65 20 68 61 6e | 64 6c 65 72 20 74 68 61 | the han|dler tha|
|00002be0| 74 20 77 61 73 20 69 6e | 73 74 61 6c 6c 65 64 2e |t was in|stalled.|
|00002bf0| 20 49 66 20 6d 6f 72 65 | 20 74 68 61 6e 20 6f 6e | If more| than on|
|00002c00| 65 20 68 61 6e 64 6c 65 | 72 20 77 61 73 20 69 6e |e handle|r was in|
|00002c10| 73 74 61 6c 6c 65 64 2c | 20 61 6e 20 41 47 52 65 |stalled,| an AGRe|
|00002c20| 6d 6f 76 65 43 6f 6e 74 | 65 78 74 48 61 6e 64 6c |moveCont|extHandl|
|00002c30| 65 72 20 6d 75 73 74 20 | 62 65 20 63 61 6c 6c 65 |er must |be calle|
|00002c40| 64 20 66 6f 72 20 65 61 | 63 68 2e 0d 45 72 72 6f |d for ea|ch..Erro|
|00002c50| 72 20 43 6f 64 65 73 0d | 6e 6f 45 72 72 0d 41 47 |r Codes.|noErr.AG|
|00002c60| 53 74 61 72 74 0d 70 61 | 73 63 61 6c 20 41 47 45 |Start.pa|scal AGE|
|00002c70| 72 72 20 41 47 53 74 61 | 72 74 28 76 6f 69 64 29 |rr AGSta|rt(void)|
|00002c80| 3b 0d 53 74 61 72 74 20 | 41 70 70 6c 65 20 47 75 |;.Start |Apple Gu|
|00002c90| 69 64 65 20 69 6e 20 74 | 68 65 20 62 61 63 6b 67 |ide in t|he backg|
|00002ca0| 72 6f 75 6e 64 20 77 69 | 74 68 6f 75 74 20 61 6e |round wi|thout an|
|00002cb0| 79 20 64 69 73 70 6c 61 | 79 20 6f 72 20 64 61 74 |y displa|y or dat|
|00002cc0| 61 62 61 73 65 2e 20 20 | 54 68 69 73 20 66 75 6e |abase. |This fun|
|00002cd0| 63 74 69 6f 6e 20 64 6f | 65 73 20 6e 6f 74 68 69 |ction do|es nothi|
|00002ce0| 6e 67 20 61 6e 64 20 72 | 65 74 75 72 6e 73 20 6e |ng and r|eturns n|
|00002cf0| 6f 45 72 72 20 69 66 20 | 41 70 70 6c 65 20 47 75 |oErr if |Apple Gu|
|00002d00| 69 64 65 20 69 73 20 61 | 6c 72 65 61 64 79 20 61 |ide is a|lready a|
|00002d10| 63 74 69 76 65 20 6f 72 | 20 73 6c 65 65 70 69 6e |ctive or| sleepin|
|00002d20| 67 2e 0d 45 72 72 6f 72 | 20 43 6f 64 65 73 0d 6e |g..Error| Codes.n|
|00002d30| 6f 45 72 72 0d 45 72 72 | 6f 72 20 63 6f 64 65 73 |oErr.Err|or codes|
|00002d40| 0d 54 68 65 20 41 70 70 | 6c 65 20 47 75 69 64 65 |.The App|le Guide|
|00002d50| 20 65 72 72 6f 72 20 63 | 6f 64 65 73 20 61 72 65 | error c|odes are|
|00002d60| 20 69 6e 20 74 68 65 20 | 72 61 6e 67 65 20 2d 32 | in the |range -2|
|00002d70| 39 30 30 20 74 6f 20 2d | 32 39 39 39 2e 20 43 75 |900 to -|2999. Cu|
|00002d80| 72 72 65 6e 74 20 70 75 | 62 6c 69 63 20 63 6f 64 |rrent pu|blic cod|
|00002d90| 65 73 20 61 72 65 20 61 | 73 20 66 6f 6c 6c 6f 77 |es are a|s follow|
|00002da0| 73 3a 0d 09 2f 2f 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |s:..// -|--------|
|00002db0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 41 70 70 6c |--------|--- Appl|
|00002dc0| 65 20 65 76 65 6e 74 20 | 72 65 70 6c 79 20 63 6f |e event |reply co|
|00002dd0| 64 65 73 0d 09 6b 41 47 | 45 72 72 55 6e 6b 6e 6f |des..kAG|ErrUnkno|
|00002de0| 77 6e 45 76 65 6e 74 20 | 3d 09 09 09 2d 32 39 30 |wnEvent |=...-290|
|00002df0| 30 2c 0d 09 6b 41 47 45 | 72 72 43 61 6e 74 53 74 |0,..kAGE|rrCantSt|
|00002e00| 61 72 74 75 70 20 3d 09 | 09 09 09 2d 32 39 30 31 |artup =.|...-2901|
|00002e10| 2c 0d 09 6b 41 47 45 72 | 72 4e 6f 41 63 63 57 69 |,..kAGEr|rNoAccWi|
|00002e20| 6e 20 3d 09 09 09 09 2d | 32 39 30 32 2c 0d 09 6b |n =....-|2902,..k|
|00002e30| 41 47 45 72 72 4e 6f 50 | 72 65 57 69 6e 20 3d 09 |AGErrNoP|reWin =.|
|00002e40| 09 09 09 2d 32 39 30 33 | 2c 0d 09 6b 41 47 45 72 |...-2903|,..kAGEr|
|00002e50| 72 4e 6f 53 65 71 75 65 | 6e 63 65 20 3d 09 09 09 |rNoSeque|nce =...|
|00002e60| 2d 32 39 30 34 2c 0d 09 | 6b 41 47 45 72 72 4e 6f |-2904,..|kAGErrNo|
|00002e70| 74 4f 6f 70 73 53 65 71 | 75 65 6e 63 65 20 3d 09 |tOopsSeq|uence =.|
|00002e80| 09 09 2d 32 39 30 35 2c | 0d 09 6b 41 47 45 72 72 |..-2905,|..kAGErr|
|00002e90| 52 65 73 65 72 76 65 64 | 30 36 20 3d 09 09 09 09 |Reserved|06 =....|
|00002ea0| 2d 32 39 30 36 2c 0d 09 | 6b 41 47 45 72 72 4e 6f |-2906,..|kAGErrNo|
|00002eb0| 50 61 6e 65 6c 20 3d 09 | 09 09 09 2d 32 39 30 37 |Panel =.|...-2907|
|00002ec0| 2c 0d 09 6b 41 47 45 72 | 72 43 6f 6e 74 65 6e 74 |,..kAGEr|rContent|
|00002ed0| 4e 6f 74 46 6f 75 6e 64 | 20 3d 09 09 09 2d 32 39 |NotFound| =...-29|
|00002ee0| 30 38 2c 0d 09 6b 41 47 | 45 72 72 4d 69 73 73 69 |08,..kAG|ErrMissi|
|00002ef0| 6e 67 53 74 72 69 6e 67 | 20 3d 09 09 09 2d 32 39 |ngString| =...-29|
|00002f00| 30 39 2c 0d 09 6b 41 47 | 45 72 72 49 6e 66 6f 4e |09,..kAG|ErrInfoN|
|00002f10| 6f 74 41 76 61 69 6c 20 | 3d 09 09 09 2d 32 39 31 |otAvail |=...-291|
|00002f20| 30 2c 0d 09 6b 41 47 45 | 72 72 45 76 65 6e 74 4e |0,..kAGE|rrEventN|
|00002f30| 6f 74 41 76 61 69 6c 61 | 62 6c 65 20 3d 09 09 2d |otAvaila|ble =..-|
|00002f40| 32 39 31 31 2c 0d 09 6b | 41 47 45 72 72 43 61 6e |2911,..k|AGErrCan|
|00002f50| 6e 6f 74 4d 61 6b 65 43 | 6f 61 63 68 20 3d 09 09 |notMakeC|oach =..|
|00002f60| 2d 32 39 31 32 2c 0d 09 | 6b 41 47 45 72 72 53 65 |-2912,..|kAGErrSe|
|00002f70| 73 73 69 6f 6e 49 44 73 | 4e 6f 74 4d 61 74 63 68 |ssionIDs|NotMatch|
|00002f80| 20 3d 09 09 2d 32 39 31 | 33 2c 0d 09 6b 41 47 45 | =..-291|3,..kAGE|
|00002f90| 72 72 4d 69 73 73 69 6e | 67 44 61 74 61 62 61 73 |rrMissin|gDatabas|
|00002fa0| 65 53 70 65 63 20 3d 09 | 09 2d 32 39 31 34 2c 0d |eSpec =.|.-2914,.|
|00002fb0| 09 2f 2f 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.// ----|--------|
|00002fc0| 2d 2d 2d 2d 2d 2d 2d 2d | 20 43 6f 61 63 68 27 73 |--------| Coach's|
|00002fd0| 20 43 68 61 6c 6b 62 6f | 61 72 64 20 72 65 70 6c | Chalkbo|ard repl|
|00002fe0| 79 20 63 6f 64 65 73 0d | 09 6b 41 47 45 72 72 49 |y codes.|.kAGErrI|
|00002ff0| 74 65 6d 4e 6f 74 46 6f | 75 6e 64 20 3d 09 09 09 |temNotFo|und =...|
|00003000| 2d 32 39 32 35 2c 0d 09 | 6b 41 47 45 72 72 42 61 |-2925,..|kAGErrBa|
|00003010| 6c 6c 6f 6f 6e 52 65 73 | 6f 75 72 63 65 4e 6f 74 |lloonRes|ourceNot|
|00003020| 46 6f 75 6e 64 20 3d 09 | 2d 32 39 32 36 2c 0d 09 |Found =.|-2926,..|
|00003030| 6b 41 47 45 72 72 43 68 | 61 6c 6b 52 65 73 6f 75 |kAGErrCh|alkResou|
|00003040| 72 63 65 4e 6f 74 46 6f | 75 6e 64 20 3d 09 2d 32 |rceNotFo|und =.-2|
|00003050| 39 32 37 2c 0d 09 6b 41 | 47 45 72 72 43 68 64 76 |927,..kA|GErrChdv|
|00003060| 52 65 73 6f 75 72 63 65 | 4e 6f 74 46 6f 75 6e 64 |Resource|NotFound|
|00003070| 20 3d 09 2d 32 39 32 38 | 2c 0d 09 6b 41 47 45 72 | =.-2928|,..kAGEr|
|00003080| 72 41 6c 72 65 61 64 79 | 53 68 6f 77 69 6e 67 20 |rAlready|Showing |
|00003090| 3d 09 09 09 2d 32 39 32 | 39 2c 0d 09 6b 41 47 45 |=...-292|9,..kAGE|
|000030a0| 72 72 42 61 6c 6c 6f 6f | 6e 52 65 73 6f 75 72 63 |rrBalloo|nResourc|
|000030b0| 65 53 6b 69 70 20 3d 09 | 09 2d 32 39 33 30 2c 0d |eSkip =.|.-2930,.|
|000030c0| 09 6b 41 47 45 72 72 49 | 74 65 6d 4e 6f 74 56 69 |.kAGErrI|temNotVi|
|000030d0| 73 69 62 6c 65 20 3d 09 | 09 09 2d 32 39 33 31 2c |sible =.|..-2931,|
|000030e0| 0d 09 6b 41 47 45 72 72 | 52 65 73 65 72 76 65 64 |..kAGErr|Reserved|
|000030f0| 33 32 20 3d 09 09 09 09 | 2d 32 39 33 32 2c 0d 09 |32 =....|-2932,..|
|00003100| 6b 41 47 45 72 72 4e 6f | 74 46 72 6f 6e 74 50 72 |kAGErrNo|tFrontPr|
|00003110| 6f 63 65 73 73 20 3d 09 | 09 09 2d 32 39 33 33 2c |ocess =.|..-2933,|
|00003120| 0d 09 6b 41 47 45 72 72 | 4d 61 63 72 6f 52 65 73 |..kAGErr|MacroRes|
|00003130| 6f 75 72 63 65 4e 6f 74 | 46 6f 75 6e 64 20 3d 09 |ourceNot|Found =.|
|00003140| 2d 32 39 33 34 2c 0d 09 | 2f 2f 20 2d 2d 2d 2d 2d |-2934,..|// -----|
|00003150| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |--------|------- |
|00003160| 41 50 49 20 72 65 70 6c | 79 20 63 6f 64 65 73 0d |API repl|y codes.|
|00003170| 09 6b 41 47 45 72 72 41 | 70 70 6c 65 47 75 69 64 |.kAGErrA|ppleGuid|
|00003180| 65 4e 6f 74 41 76 61 69 | 6c 61 62 6c 65 20 3d 09 |eNotAvai|lable =.|
|00003190| 2d 32 39 35 31 2c 0d 09 | 6b 41 47 45 72 72 43 61 |-2951,..|kAGErrCa|
|000031a0| 6e 6e 6f 74 49 6e 69 74 | 43 6f 61 63 68 20 3d 09 |nnotInit|Coach =.|
|000031b0| 09 09 2d 32 39 35 32 2c | 0d 09 6b 41 47 45 72 72 |..-2952,|..kAGErr|
|000031c0| 43 61 6e 6e 6f 74 49 6e | 69 74 43 6f 6e 74 65 78 |CannotIn|itContex|
|000031d0| 74 20 3d 09 09 09 2d 32 | 39 35 33 2c 0d 09 6b 41 |t =...-2|953,..kA|
|000031e0| 47 45 72 72 43 61 6e 6e | 6f 74 4f 70 65 6e 41 6c |GErrCann|otOpenAl|
|000031f0| 69 61 73 46 69 6c 65 20 | 3d 09 09 2d 32 39 35 34 |iasFile |=..-2954|
|00003200| 2c 0d 09 6b 41 47 45 72 | 72 4e 6f 41 6c 69 61 73 |,..kAGEr|rNoAlias|
|00003210| 52 65 73 6f 75 72 63 65 | 20 3d 09 09 09 2d 32 39 |Resource| =...-29|
|00003220| 35 35 2c 0d 09 6b 41 47 | 45 72 72 44 61 74 61 62 |55,..kAG|ErrDatab|
|00003230| 61 73 65 4e 6f 74 41 76 | 61 69 6c 61 62 6c 65 20 |aseNotAv|ailable |
|00003240| 3d 09 09 2d 32 39 35 36 | 2c 0d 09 6b 41 47 45 72 |=..-2956|,..kAGEr|
|00003250| 72 44 61 74 61 62 61 73 | 65 4e 6f 74 4f 70 65 6e |rDatabas|eNotOpen|
|00003260| 20 3d 20 09 09 09 2d 32 | 39 35 37 2c 0d 09 6b 41 | = ...-2|957,..kA|
|00003270| 47 45 72 72 4d 69 73 73 | 69 6e 67 41 70 70 49 6e |GErrMiss|ingAppIn|
|00003280| 66 6f 48 64 6c 20 3d 09 | 09 2d 32 39 35 38 2c 0d |foHdl =.|.-2958,.|
|00003290| 09 6b 41 47 45 72 72 4d | 69 73 73 69 6e 67 43 6f |.kAGErrM|issingCo|
|000032a0| 6e 74 65 78 74 4f 62 6a | 65 63 74 20 3d 09 09 2d |ntextObj|ect =..-|
|000032b0| 32 39 35 39 2c 0d 09 6b | 41 47 45 72 72 49 6e 76 |2959,..k|AGErrInv|
|000032c0| 61 6c 69 64 52 65 66 4e | 75 6d 20 3d 09 09 09 2d |alidRefN|um =...-|
|000032d0| 32 39 36 30 2c 0d 09 6b | 41 47 45 72 72 44 61 74 |2960,..k|AGErrDat|
|000032e0| 61 62 61 73 65 4f 70 65 | 6e 20 3d 09 09 09 2d 32 |abaseOpe|n =...-2|
|000032f0| 39 36 31 2c 0d 09 6b 41 | 47 45 72 72 49 6e 73 75 |961,..kA|GErrInsu|
|00003300| 66 66 69 63 69 65 6e 74 | 4d 65 6d 6f 72 79 20 3d |fficient|Memory =|
|00003310| 09 09 2d 32 39 36 32 0d | 41 47 46 69 6c 65 20 41 |..-2962.|AGFile A|
|00003320| 50 49 0d 41 47 46 69 6c | 65 20 69 73 20 61 20 43 |PI.AGFil|e is a C|
|00003330| 20 6c 69 62 72 61 72 79 | 20 66 6f 72 20 61 63 63 | library| for acc|
|00003340| 65 73 73 69 6e 67 20 69 | 6e 66 6f 72 6d 61 74 69 |essing i|nformati|
|00003350| 6f 6e 20 61 62 6f 75 74 | 20 41 70 70 6c 65 20 47 |on about| Apple G|
|00003360| 75 69 64 65 20 31 2e 32 | 20 64 61 74 61 62 61 73 |uide 1.2| databas|
|00003370| 65 73 2e 20 49 74 20 64 | 6f 65 73 20 6e 6f 74 20 |es. It d|oes not |
|00003380| 75 73 65 20 6f 72 20 72 | 65 71 75 69 72 65 20 74 |use or r|equire t|
|00003390| 68 65 20 41 70 70 6c 65 | 20 47 75 69 64 65 20 65 |he Apple| Guide e|
|000033a0| 78 74 65 6e 73 69 6f 6e | 2e 20 49 74 20 70 72 6f |xtension|. It pro|
|000033b0| 76 69 64 65 73 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |vides th|e follow|
|000033c0| 69 6e 67 20 73 65 72 76 | 69 63 65 73 3a 0d 47 69 |ing serv|ices:.Gi|
|000033d0| 76 65 6e 20 61 20 64 69 | 72 65 63 74 6f 72 79 2c |ven a di|rectory,|
|000033e0| 20 63 6f 75 6e 74 20 74 | 68 65 20 68 65 6c 70 20 | count t|he help |
|000033f0| 64 61 74 61 62 61 73 65 | 73 20 6f 66 20 61 20 70 |database|s of a p|
|00003400| 61 72 74 69 63 75 6c 61 | 72 20 64 61 74 61 62 61 |articula|r databa|
|00003410| 73 65 20 74 79 70 65 20 | 61 6e 64 20 6d 61 69 6e |se type |and main|
|00003420| 2f 6d 69 78 69 6e 20 63 | 6f 6d 62 69 6e 61 74 69 |/mixin c|ombinati|
|00003430| 6f 6e 2e 0d 47 69 76 65 | 6e 20 61 20 64 69 72 65 |on..Give|n a dire|
|00003440| 63 74 6f 72 79 2c 20 72 | 65 74 75 72 6e 20 74 68 |ctory, r|eturn th|
|00003450| 65 20 46 53 53 70 65 63 | 20 66 6f 72 20 74 68 65 |e FSSpec| for the|
|00003460| 20 69 2d 74 68 20 68 65 | 6c 70 20 64 61 74 61 62 | i-th he|lp datab|
|00003470| 61 73 65 20 6f 66 20 61 | 20 70 61 72 74 69 63 75 |ase of a| particu|
|00003480| 6c 61 72 20 64 61 74 61 | 62 61 73 65 20 74 79 70 |lar data|base typ|
|00003490| 65 20 61 6e 64 20 6d 61 | 69 6e 2f 6d 69 78 69 6e |e and ma|in/mixin|
|000034a0| 20 63 6f 6d 62 69 6e 61 | 74 69 6f 6e 2e 0d 47 69 | combina|tion..Gi|
|000034b0| 76 65 6e 20 61 6e 20 46 | 53 53 70 65 63 2c 20 72 |ven an F|SSpec, r|
|000034c0| 65 74 75 72 6e 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |eturn th|e follow|
|000034d0| 69 6e 67 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 3a |ing info|rmation:|
|000034e0| 0d a5 20 54 68 65 20 64 | 61 74 61 62 61 73 65 20 |.. The d|atabase |
|000034f0| 74 79 70 65 20 28 48 65 | 6c 70 2c 20 54 75 74 6f |type (He|lp, Tuto|
|00003500| 72 69 61 6c 2c 20 4f 74 | 68 65 72 2c 20 65 74 63 |rial, Ot|her, etc|
|00003510| 2e 29 0d a5 20 4d 65 6e | 75 20 69 74 65 6d 20 6e |.).. Men|u item n|
|00003520| 61 6d 65 0d a5 20 44 61 | 74 61 62 61 73 65 20 76 |ame.. Da|tabase v|
|00003530| 65 72 73 69 6f 6e 0d a5 | 20 54 68 65 20 6e 75 6d |ersion..| The num|
|00003540| 62 65 72 20 6f 66 20 73 | 65 6c 65 63 74 6f 72 73 |ber of s|electors|
|00003550| 0d a5 20 54 68 65 20 69 | 2d 74 68 20 73 65 6c 65 |.. The i|-th sele|
|00003560| 63 74 6f 72 20 61 6e 64 | 20 76 61 6c 75 65 0d a5 |ctor and| value..|
|00003570| 20 57 68 65 74 68 65 72 | 20 6f 72 20 6e 6f 74 20 | Whether| or not |
|00003580| 74 68 65 20 64 61 74 61 | 62 61 73 65 20 69 73 20 |the data|base is |
|00003590| 61 20 6d 69 78 69 6e 20 | 64 61 74 61 62 61 73 65 |a mixin |database|
|000035a0| 0d a5 20 41 20 73 65 6c | 65 63 74 6f 72 20 66 6f |.. A sel|ector fo|
|000035b0| 72 20 61 70 70 65 61 72 | 69 6e 67 20 69 6e 20 74 |r appear|ing in t|
|000035c0| 68 65 20 68 6f 73 74 20 | 61 70 70 6c 69 63 61 74 |he host |applicat|
|000035d0| 69 6f 6e 27 73 20 48 65 | 6c 70 20 6d 65 6e 75 2e |ion's He|lp menu.|
|000035e0| 0d a5 20 41 20 73 65 6c | 65 63 74 6f 72 20 66 6f |.. A sel|ector fo|
|000035f0| 72 20 63 6f 6e 74 72 6f | 6c 6c 69 6e 67 20 6d 61 |r contro|lling ma|
|00003600| 69 6e 2d 6d 69 78 69 6e | 20 6d 69 78 69 6e 67 2e |in-mixin| mixing.|
|00003610| 0d a5 20 54 68 65 20 74 | 65 78 74 20 6f 66 20 74 |.. The t|ext of t|
|00003620| 68 65 20 48 65 6c 70 20 | 6d 65 6e 75 20 69 74 65 |he Help |menu ite|
|00003630| 6d 20 62 61 6c 6c 6f 6f | 6e 2e 0d 54 6f 20 75 73 |m balloo|n..To us|
|00003640| 65 2c 20 62 75 69 6c 64 | 20 41 47 46 69 6c 65 4c |e, build| AGFileL|
|00003650| 69 62 20 61 6e 64 20 6c | 69 6e 6b 20 69 6e 74 6f |ib and l|ink into|
|00003660| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00003670| 6e 2e 20 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |n. The f|ollowing|
|00003680| 20 61 72 65 20 74 68 65 | 20 41 47 46 69 6c 65 20 | are the| AGFile |
|00003690| 66 75 6e 63 74 69 6f 6e | 73 20 69 6e 20 61 6c 70 |function|s in alp|
|000036a0| 68 61 62 65 74 69 63 61 | 6c 20 6f 72 64 65 72 2e |habetica|l order.|
|000036b0| 0d 41 47 46 69 6c 65 47 | 65 74 44 42 43 6f 75 6e |.AGFileG|etDBCoun|
|000036c0| 74 0d 70 61 73 63 61 6c | 20 41 47 46 69 6c 65 43 |t.pascal| AGFileC|
|000036d0| 6f 75 6e 74 54 79 70 65 | 0d 41 47 46 69 6c 65 47 |ountType|.AGFileG|
|000036e0| 65 74 44 42 43 6f 75 6e | 74 28 73 68 6f 72 74 20 |etDBCoun|t(short |
|000036f0| 76 52 65 66 4e 75 6d 2c | 0d 09 09 09 09 09 09 09 |vRefNum,|........|
|00003700| 09 6c 6f 6e 67 20 64 69 | 72 49 44 2c 0d 09 09 09 |.long di|rID,....|
|00003710| 09 09 09 09 09 41 47 46 | 69 6c 65 44 42 54 79 70 |.....AGF|ileDBTyp|
|00003720| 65 20 64 61 74 61 62 61 | 73 65 54 79 70 65 2c 0d |e databa|seType,.|
|00003730| 09 09 09 09 09 09 09 09 | 42 6f 6f 6c 65 61 6e 20 |........|Boolean |
|00003740| 77 61 6e 74 4d 69 78 69 | 6e 29 3b 0d 76 52 65 66 |wantMixi|n);.vRef|
|00003750| 4e 75 6d 09 54 68 65 20 | 76 6f 6c 75 6d 65 20 72 |Num.The |volume r|
|00003760| 65 66 4e 75 6d 20 66 6f | 72 20 74 68 65 20 66 6f |efNum fo|r the fo|
|00003770| 6c 64 65 72 2e 0d 64 69 | 72 49 44 09 54 68 65 20 |lder..di|rID.The |
|00003780| 64 69 72 65 63 74 6f 72 | 79 20 49 44 20 66 6f 72 |director|y ID for|
|00003790| 20 74 68 65 20 66 6f 6c | 64 65 72 2e 0d 64 61 74 | the fol|der..dat|
|000037a0| 61 62 61 73 65 54 79 70 | 65 09 54 68 65 20 41 70 |abaseTyp|e.The Ap|
|000037b0| 70 6c 65 20 47 75 69 64 | 65 20 64 61 74 61 62 61 |ple Guid|e databa|
|000037c0| 73 65 20 74 79 70 65 20 | 64 65 73 69 72 65 64 2e |se type |desired.|
|000037d0| 0d 77 61 6e 74 4d 69 78 | 69 6e 09 53 65 74 20 74 |.wantMix|in.Set t|
|000037e0| 6f 20 74 72 75 65 20 69 | 66 20 6d 69 78 69 6e 20 |o true i|f mixin |
|000037f0| 66 69 6c 65 73 20 61 72 | 65 20 64 65 73 69 72 65 |files ar|e desire|
|00003800| 64 2e 0d 53 65 74 20 74 | 6f 20 66 61 6c 73 65 20 |d..Set t|o false |
|00003810| 69 66 20 6d 61 69 6e 20 | 66 69 6c 65 73 20 61 72 |if main |files ar|
|00003820| 65 20 64 65 73 69 72 65 | 64 2e 0d 52 65 74 75 72 |e desire|d..Retur|
|00003830| 6e 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |n the nu|mber of |
|00003840| 41 70 70 6c 65 20 47 75 | 69 64 65 20 64 61 74 61 |Apple Gu|ide data|
|00003850| 62 61 73 65 20 66 69 6c | 65 73 20 69 6e 20 74 68 |base fil|es in th|
|00003860| 65 20 69 6e 64 69 63 61 | 74 65 64 20 66 6f 6c 64 |e indica|ted fold|
|00003870| 65 72 2e 0d 45 72 72 6f | 72 20 43 6f 64 65 73 0d |er..Erro|r Codes.|
|00003880| 28 6e 6f 6e 65 29 0d 41 | 47 46 69 6c 65 47 65 74 |(none).A|GFileGet|
|00003890| 44 42 43 6f 75 6e 74 72 | 79 0d 70 61 73 63 61 6c |DBCountr|y.pascal|
|000038a0| 20 4f 53 45 72 72 20 41 | 47 46 69 6c 65 47 65 74 | OSErr A|GFileGet|
|000038b0| 44 42 43 6f 75 6e 74 72 | 79 28 41 47 46 69 6c 65 |DBCountr|y(AGFile|
|000038c0| 46 53 53 70 65 63 54 79 | 70 65 20 2a 66 69 6c 65 |FSSpecTy|pe *file|
|000038d0| 53 70 65 63 2c 0d 09 09 | 09 09 09 09 09 09 09 09 |Spec,...|........|
|000038e0| 41 47 46 69 6c 65 44 42 | 53 63 72 69 70 74 54 79 |AGFileDB|ScriptTy|
|000038f0| 70 65 20 2a 73 63 72 69 | 70 74 2c 0d 09 09 09 09 |pe *scri|pt,.....|
|00003900| 09 09 09 09 09 09 41 47 | 46 69 6c 65 44 42 52 65 |......AG|FileDBRe|
|00003910| 67 69 6f 6e 54 79 70 65 | 20 2a 72 65 67 69 6f 6e |gionType| *region|
|00003920| 29 3b 0d 66 69 6c 65 53 | 70 65 63 09 41 20 70 6f |);.fileS|pec.A po|
|00003930| 69 6e 74 65 72 20 74 6f | 20 74 68 65 20 46 53 53 |inter to| the FSS|
|00003940| 70 65 63 20 66 6f 72 20 | 74 68 65 20 41 70 70 6c |pec for |the Appl|
|00003950| 65 20 47 75 69 64 65 20 | 64 61 74 61 62 61 73 65 |e Guide |database|
|00003960| 20 66 69 6c 65 2e 0d 73 | 63 72 69 70 74 09 41 20 | file..s|cript.A |
|00003970| 70 6f 69 6e 74 65 72 20 | 74 6f 20 74 68 65 20 73 |pointer |to the s|
|00003980| 63 72 69 70 74 20 64 65 | 73 69 67 6e 61 74 69 6f |cript de|signatio|
|00003990| 6e 20 66 6f 72 20 74 68 | 65 20 66 69 6c 65 2e 0d |n for th|e file..|
|000039a0| 72 65 67 69 6f 6e 09 41 | 20 70 6f 69 6e 74 65 72 |region.A| pointer|
|000039b0| 20 74 6f 20 74 68 65 20 | 72 65 67 69 6f 6e 20 64 | to the |region d|
|000039c0| 65 73 69 67 6e 61 74 69 | 6f 6e 20 66 6f 72 20 74 |esignati|on for t|
|000039d0| 68 65 20 66 69 6c 65 2e | 0d 52 65 74 75 72 6e 20 |he file.|.Return |
|000039e0| 74 68 65 20 73 63 72 69 | 70 74 20 61 6e 64 20 72 |the scri|pt and r|
|000039f0| 65 67 69 6f 6e 20 69 6e | 66 6f 72 6d 61 74 69 6f |egion in|formatio|
|00003a00| 6e 20 66 6f 72 20 74 68 | 65 20 41 70 70 6c 65 20 |n for th|e Apple |
|00003a10| 47 75 69 64 65 20 66 69 | 6c 65 2e 0d 45 72 72 6f |Guide fi|le..Erro|
|00003a20| 72 20 43 6f 64 65 73 0d | 6e 6f 45 72 72 0d 46 69 |r Codes.|noErr.Fi|
|00003a30| 6c 65 20 4d 61 6e 61 67 | 65 72 20 65 72 72 6f 72 |le Manag|er error|
|00003a40| 20 63 6f 64 65 0d 41 47 | 46 69 6c 65 47 65 74 44 | code.AG|FileGetD|
|00003a50| 42 4d 65 6e 75 4e 61 6d | 65 0d 70 61 73 63 61 6c |BMenuNam|e.pascal|
|00003a60| 20 4f 53 45 72 72 20 41 | 47 46 69 6c 65 47 65 74 | OSErr A|GFileGet|
|00003a70| 44 42 4d 65 6e 75 4e 61 | 6d 65 28 41 47 46 69 6c |DBMenuNa|me(AGFil|
|00003a80| 65 46 53 53 70 65 63 54 | 79 70 65 20 2a 66 69 6c |eFSSpecT|ype *fil|
|00003a90| 65 53 70 65 63 2c 0d 09 | 09 09 09 09 09 09 09 41 |eSpec,..|.......A|
|00003aa0| 47 46 69 6c 65 44 42 4d | 65 6e 75 4e 61 6d 65 50 |GFileDBM|enuNameP|
|00003ab0| 74 72 20 6d 65 6e 75 49 | 74 65 6d 4e 61 6d 65 53 |tr menuI|temNameS|
|00003ac0| 74 72 29 3b 0d 66 69 6c | 65 53 70 65 63 09 41 20 |tr);.fil|eSpec.A |
|00003ad0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 74 68 65 20 46 |pointer |to the F|
|00003ae0| 53 53 70 65 63 20 66 6f | 72 20 74 68 65 20 41 70 |SSpec fo|r the Ap|
|00003af0| 70 6c 65 20 47 75 69 64 | 65 20 64 61 74 61 62 61 |ple Guid|e databa|
|00003b00| 73 65 20 66 69 6c 65 2e | 0d 6d 65 6e 75 49 74 65 |se file.|.menuIte|
|00003b10| 6d 4e 61 6d 65 53 74 72 | 09 41 20 70 6f 69 6e 74 |mNameStr|.A point|
|00003b20| 65 72 20 74 6f 20 74 68 | 65 20 73 74 72 69 6e 67 |er to th|e string|
|00003b30| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 74 68 65 20 | contain|ing the |
|00003b40| 6d 65 6e 75 20 69 74 65 | 6d 20 6e 61 6d 65 20 66 |menu ite|m name f|
|00003b50| 6f 72 20 74 68 65 20 66 | 69 6c 65 2e 0d 52 65 74 |or the f|ile..Ret|
|00003b60| 75 72 6e 20 74 68 65 20 | 6d 65 6e 75 20 69 74 65 |urn the |menu ite|
|00003b70| 6d 20 6e 61 6d 65 20 66 | 6f 72 20 74 68 65 20 41 |m name f|or the A|
|00003b80| 70 70 6c 65 20 47 75 69 | 64 65 20 64 61 74 61 62 |pple Gui|de datab|
|00003b90| 61 73 65 20 66 69 6c 65 | 2e 0d 45 72 72 6f 72 20 |ase file|..Error |
|00003ba0| 43 6f 64 65 73 0d 6e 6f | 45 72 72 0d 46 69 6c 65 |Codes.no|Err.File|
|00003bb0| 20 4d 61 6e 61 67 65 72 | 20 65 72 72 6f 72 20 63 | Manager| error c|
|00003bc0| 6f 64 65 0d 41 47 46 69 | 6c 65 47 65 74 44 42 53 |ode.AGFi|leGetDBS|
|00003bd0| 65 6c 65 63 74 6f 72 43 | 6f 75 6e 74 0d 70 61 73 |electorC|ount.pas|
|00003be0| 63 61 6c 20 41 47 46 69 | 6c 65 53 65 6c 65 63 74 |cal AGFi|leSelect|
|00003bf0| 6f 72 43 6f 75 6e 74 54 | 79 70 65 0d 41 47 46 69 |orCountT|ype.AGFi|
|00003c00| 6c 65 47 65 74 44 42 53 | 65 6c 65 63 74 6f 72 43 |leGetDBS|electorC|
|00003c10| 6f 75 6e 74 28 41 47 46 | 69 6c 65 46 53 53 70 65 |ount(AGF|ileFSSpe|
|00003c20| 63 54 79 70 65 20 2a 66 | 69 6c 65 53 70 65 63 29 |cType *f|ileSpec)|
|00003c30| 3b 0d 66 69 6c 65 53 70 | 65 63 09 41 20 70 6f 69 |;.fileSp|ec.A poi|
|00003c40| 6e 74 65 72 20 74 6f 20 | 74 68 65 20 46 53 53 70 |nter to |the FSSp|
|00003c50| 65 63 20 66 6f 72 20 74 | 68 65 20 41 70 70 6c 65 |ec for t|he Apple|
|00003c60| 20 47 75 69 64 65 20 64 | 61 74 61 62 61 73 65 20 | Guide d|atabase |
|00003c70| 66 69 6c 65 2e 0d 52 65 | 74 75 72 6e 20 74 68 65 |file..Re|turn the|
|00003c80| 20 6e 75 6d 62 65 72 20 | 6f 66 20 47 65 73 74 61 | number |of Gesta|
|00003c90| 6c 74 20 73 65 6c 65 63 | 74 6f 72 73 20 66 6f 72 |lt selec|tors for|
|00003ca0| 20 74 68 65 20 41 70 70 | 6c 65 20 47 75 69 64 65 | the App|le Guide|
|00003cb0| 20 64 61 74 61 62 61 73 | 65 20 66 69 6c 65 2e 0d | databas|e file..|
|00003cc0| 45 72 72 6f 72 20 43 6f | 64 65 73 0d 28 6e 6f 6e |Error Co|des.(non|
|00003cd0| 65 29 0d 41 47 46 69 6c | 65 47 65 74 44 42 54 79 |e).AGFil|eGetDBTy|
|00003ce0| 70 65 0d 70 61 73 63 61 | 6c 20 4f 53 45 72 72 20 |pe.pasca|l OSErr |
|00003cf0| 41 47 46 69 6c 65 47 65 | 74 44 42 54 79 70 65 28 |AGFileGe|tDBType(|
|00003d00| 41 47 46 69 6c 65 46 53 | 53 70 65 63 54 79 70 65 |AGFileFS|SpecType|
|00003d10| 20 2a 66 69 6c 65 53 70 | 65 63 2c 0d 09 09 09 09 | *fileSp|ec,.....|
|00003d20| 09 09 09 09 09 09 09 09 | 41 47 46 69 6c 65 44 42 |........|AGFileDB|
|00003d30| 54 79 70 65 20 2a 64 61 | 74 61 62 61 73 65 54 79 |Type *da|tabaseTy|
|00003d40| 70 65 29 3b 0d 66 69 6c | 65 53 70 65 63 09 41 20 |pe);.fil|eSpec.A |
|00003d50| 70 6f 69 6e 74 65 72 20 | 74 6f 20 74 68 65 20 46 |pointer |to the F|
|00003d60| 53 53 70 65 63 20 66 6f | 72 20 74 68 65 20 41 70 |SSpec fo|r the Ap|
|00003d70| 70 6c 65 20 47 75 69 64 | 65 20 64 61 74 61 62 61 |ple Guid|e databa|
|00003d80| 73 65 20 66 69 6c 65 2e | 0d 64 61 74 61 62 61 73 |se file.|.databas|
|00003d90| 65 54 79 70 65 09 41 20 | 70 6f 69 6e 74 65 72 20 |eType.A |pointer |
|00003da0| 74 6f 20 74 68 65 20 64 | 61 74 61 62 61 73 65 20 |to the d|atabase |
|00003db0| 74 79 70 65 20 66 6f 72 | 20 74 68 65 20 66 69 6c |type for| the fil|
|00003dc0| 65 2e 0d 52 65 74 75 72 | 6e 20 74 68 65 20 64 61 |e..Retur|n the da|
|00003dd0| 74 61 62 61 73 65 20 74 | 79 70 65 20 66 6f 72 20 |tabase t|ype for |
|00003de0| 74 68 65 20 41 70 70 6c | 65 20 47 75 69 64 65 20 |the Appl|e Guide |
|00003df0| 64 61 74 61 62 61 73 65 | 20 66 69 6c 65 2e 0d 45 |database| file..E|
|00003e00| 72 72 6f 72 20 43 6f 64 | 65 73 0d 6e 6f 45 72 72 |rror Cod|es.noErr|
|00003e10| 0d 46 69 6c 65 20 4d 61 | 6e 61 67 65 72 20 65 72 |.File Ma|nager er|
|00003e20| 72 6f 72 20 63 6f 64 65 | 0d 41 47 46 69 6c 65 47 |ror code|.AGFileG|
|00003e30| 65 74 44 42 56 65 72 73 | 69 6f 6e 0d 70 61 73 63 |etDBVers|ion.pasc|
|00003e40| 61 6c 20 4f 53 45 72 72 | 20 41 47 46 69 6c 65 47 |al OSErr| AGFileG|
|00003e50| 65 74 44 42 56 65 72 73 | 69 6f 6e 28 41 47 46 69 |etDBVers|ion(AGFi|
|00003e60| 6c 65 46 53 53 70 65 63 | 54 79 70 65 20 2a 66 69 |leFSSpec|Type *fi|
|00003e70| 6c 65 53 70 65 63 2c 0d | 09 09 09 09 09 09 09 09 |leSpec,.|........|
|00003e80| 09 09 41 47 46 69 6c 65 | 4d 61 6a 6f 72 52 65 76 |..AGFile|MajorRev|
|00003e90| 54 79 70 65 20 2a 6d 61 | 6a 6f 72 52 65 76 2c 0d |Type *ma|jorRev,.|
|00003ea0| 09 09 09 09 09 09 09 09 | 09 09 41 47 46 69 6c 65 |........|..AGFile|
|00003eb0| 4d 69 6e 6f 72 52 65 76 | 54 79 70 65 20 2a 6d 69 |MinorRev|Type *mi|
|00003ec0| 6e 6f 72 52 65 76 29 3b | 0d 66 69 6c 65 53 70 65 |norRev);|.fileSpe|
|00003ed0| 63 09 41 20 70 6f 69 6e | 74 65 72 20 74 6f 20 74 |c.A poin|ter to t|
|00003ee0| 68 65 20 46 53 53 70 65 | 63 20 66 6f 72 20 74 68 |he FSSpe|c for th|
|00003ef0| 65 20 41 70 70 6c 65 20 | 47 75 69 64 65 20 64 61 |e Apple |Guide da|
|00003f00| 74 61 62 61 73 65 20 66 | 69 6c 65 2e 0d 6d 61 6a |tabase f|ile..maj|
|00003f10| 6f 72 52 65 76 09 41 20 | 70 6f 69 6e 74 65 72 20 |orRev.A |pointer |
|00003f20| 74 6f 20 74 68 65 20 6d | 61 6a 6f 72 20 76 65 72 |to the m|ajor ver|
|00003f30| 73 69 6f 6e 20 64 65 73 | 69 67 6e 61 74 69 6f 6e |sion des|ignation|
|00003f40| 20 66 6f 72 20 74 68 65 | 20 66 69 6c 65 2e 0d 6d | for the| file..m|
|00003f50| 69 6e 6f 72 52 65 76 09 | 41 20 70 6f 69 6e 74 65 |inorRev.|A pointe|
|00003f60| 72 20 74 6f 20 74 68 65 | 20 6d 69 6e 6f 72 20 76 |r to the| minor v|
|00003f70| 65 72 73 69 6f 6e 20 64 | 65 73 69 67 6e 61 74 69 |ersion d|esignati|
|00003f80| 6f 6e 20 66 6f 72 20 74 | 68 65 20 66 69 6c 65 2e |on for t|he file.|
|00003f90| 0d 52 65 74 75 72 6e 20 | 74 68 65 20 6d 61 6a 6f |.Return |the majo|
|00003fa0| 72 20 61 6e 64 20 6d 69 | 6e 6f 72 20 76 65 72 73 |r and mi|nor vers|
|00003fb0| 69 6f 6e 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ion info|rmation |
|00003fc0| 66 6f 72 20 74 68 65 20 | 41 70 70 6c 65 20 47 75 |for the |Apple Gu|
|00003fd0| 69 64 65 20 64 61 74 61 | 62 61 73 65 20 66 69 6c |ide data|base fil|
|00003fe0| 65 2e 0d 45 72 72 6f 72 | 20 43 6f 64 65 73 0d 6e |e..Error| Codes.n|
|00003ff0| 6f 45 72 72 0d 46 69 6c | 65 20 4d 61 6e 61 67 65 |oErr.Fil|e Manage|
|00004000| 72 20 65 72 72 6f 72 20 | 63 6f 64 65 0d 41 47 46 |r error |code.AGF|
|00004010| 69 6c 65 47 65 74 49 6e | 64 44 42 0d 70 61 73 63 |ileGetIn|dDB.pasc|
|00004020| 61 6c 20 4f 53 45 72 72 | 20 41 47 46 69 6c 65 47 |al OSErr| AGFileG|
|00004030| 65 74 49 6e 64 44 42 28 | 73 68 6f 72 74 20 76 52 |etIndDB(|short vR|
|00004040| 65 66 4e 75 6d 2c 0d 09 | 09 09 09 09 09 09 09 09 |efNum,..|........|
|00004050| 09 09 6c 6f 6e 67 20 64 | 69 72 49 44 2c 0d 09 09 |..long d|irID,...|
|00004060| 09 09 09 09 09 09 09 09 | 09 41 47 46 69 6c 65 44 |........|.AGFileD|
|00004070| 42 54 79 70 65 20 64 61 | 74 61 62 61 73 65 54 79 |BType da|tabaseTy|
|00004080| 70 65 2c 0d 09 09 09 09 | 09 09 09 09 09 09 09 42 |pe,.....|.......B|
|00004090| 6f 6f 6c 65 61 6e 20 77 | 61 6e 74 4d 69 78 69 6e |oolean w|antMixin|
|000040a0| 2c 0d 09 09 09 09 09 09 | 09 09 09 09 09 73 68 6f |,.......|.....sho|
|000040b0| 72 74 20 64 62 49 6e 64 | 65 78 2c 0d 09 09 09 09 |rt dbInd|ex,.....|
|000040c0| 09 09 09 09 09 09 09 46 | 53 53 70 65 63 20 2a 66 |.......F|SSpec *f|
|000040d0| 69 6c 65 53 70 65 63 29 | 3b 0d 76 52 65 66 4e 75 |ileSpec)|;.vRefNu|
|000040e0| 6d 09 54 68 65 20 76 6f | 6c 75 6d 65 20 72 65 66 |m.The vo|lume ref|
|000040f0| 4e 75 6d 20 66 6f 72 20 | 74 68 65 20 66 6f 6c 64 |Num for |the fold|
|00004100| 65 72 2e 0d 64 69 72 49 | 44 09 54 68 65 20 64 69 |er..dirI|D.The di|
|00004110| 72 65 63 74 6f 72 79 20 | 49 44 20 66 6f 72 20 74 |rectory |ID for t|
|00004120| 68 65 20 66 6f 6c 64 65 | 72 2e 0d 64 61 74 61 62 |he folde|r..datab|
|00004130| 61 73 65 54 79 70 65 09 | 54 68 65 20 41 70 70 6c |aseType.|The Appl|
|00004140| 65 20 47 75 69 64 65 20 | 64 61 74 61 62 61 73 65 |e Guide |database|
|00004150| 20 74 79 70 65 20 64 65 | 73 69 72 65 64 2e 0d 77 | type de|sired..w|
|00004160| 61 6e 74 4d 69 78 69 6e | 09 53 65 74 20 74 6f 20 |antMixin|.Set to |
|00004170| 74 72 75 65 20 69 66 20 | 6d 69 78 69 6e 20 66 69 |true if |mixin fi|
|00004180| 6c 65 73 20 61 72 65 20 | 64 65 73 69 72 65 64 2e |les are |desired.|
|00004190| 0d 53 65 74 20 74 6f 20 | 66 61 6c 73 65 20 69 66 |.Set to |false if|
|000041a0| 20 6d 61 69 6e 20 66 69 | 6c 65 73 20 61 72 65 20 | main fi|les are |
|000041b0| 64 65 73 69 72 65 64 2e | 0d 64 62 49 6e 64 65 78 |desired.|.dbIndex|
|000041c0| 09 54 68 65 20 69 6e 64 | 65 78 20 6f 66 20 74 68 |.The ind|ex of th|
|000041d0| 65 20 41 70 70 6c 65 20 | 47 75 69 64 65 20 64 61 |e Apple |Guide da|
|000041e0| 74 61 62 61 73 65 20 66 | 69 6c 65 20 28 62 61 73 |tabase f|ile (bas|
|000041f0| 65 20 31 29 2e 0d 66 69 | 6c 65 53 70 65 63 09 50 |e 1)..fi|leSpec.P|
|00004200| 6f 69 6e 74 65 72 20 74 | 6f 20 74 68 65 20 72 65 |ointer t|o the re|
|00004210| 74 75 72 6e 65 64 20 46 | 53 53 70 65 63 20 66 6f |turned F|SSpec fo|
|00004220| 72 20 74 68 65 20 66 69 | 6c 65 2e 0d 52 65 74 75 |r the fi|le..Retu|
|00004230| 72 6e 20 74 68 65 20 46 | 53 53 70 65 63 20 66 6f |rn the F|SSpec fo|
|00004240| 72 20 74 68 65 20 41 70 | 70 6c 65 20 47 75 69 64 |r the Ap|ple Guid|
|00004250| 65 20 64 61 74 61 62 61 | 73 65 20 66 69 6c 65 20 |e databa|se file |
|00004260| 69 6e 20 74 68 65 20 69 | 6e 64 69 63 61 74 65 64 |in the i|ndicated|
|00004270| 20 66 6f 6c 64 65 72 2e | 0d 45 72 72 6f 72 20 43 | folder.|.Error C|
|00004280| 6f 64 65 73 0d 28 6e 6f | 6e 65 29 0d 41 47 46 69 |odes.(no|ne).AGFi|
|00004290| 6c 65 47 65 74 53 65 6c | 65 63 74 6f 72 0d 70 61 |leGetSel|ector.pa|
|000042a0| 73 63 61 6c 20 4f 53 45 | 72 72 20 41 47 46 69 6c |scal OSE|rr AGFil|
|000042b0| 65 47 65 74 53 65 6c 65 | 63 74 6f 72 28 41 47 46 |eGetSele|ctor(AGF|
|000042c0| 69 6c 65 46 53 53 70 65 | 63 54 79 70 65 20 2a 66 |ileFSSpe|cType *f|
|000042d0| 69 6c 65 53 70 65 63 2c | 0d 09 09 09 09 09 09 09 |ileSpec,|........|
|000042e0| 09 41 47 46 69 6c 65 53 | 65 6c 65 63 74 6f 72 49 |.AGFileS|electorI|
|000042f0| 6e 64 65 78 54 79 70 65 | 20 73 65 6c 65 63 74 6f |ndexType| selecto|
|00004300| 72 4e 75 6d 62 65 72 2c | 0d 09 09 09 09 09 09 09 |rNumber,|........|
|00004310| 09 41 47 46 69 6c 65 53 | 65 6c 65 63 74 6f 72 54 |.AGFileS|electorT|
|00004320| 79 70 65 20 2a 73 65 6c | 65 63 74 6f 72 2c 0d 09 |ype *sel|ector,..|
|00004330| 09 09 09 09 09 09 09 41 | 47 46 69 6c 65 53 65 6c |.......A|GFileSel|
|00004340| 65 63 74 6f 72 56 61 6c | 75 65 54 79 70 65 20 2a |ectorVal|ueType *|
|00004350| 76 61 6c 75 65 29 3b 0d | 66 69 6c 65 53 70 65 63 |value);.|fileSpec|
|00004360| 09 41 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 74 68 |.A point|er to th|
|00004370| 65 20 46 53 53 70 65 63 | 20 66 6f 72 20 74 68 65 |e FSSpec| for the|
|00004380| 20 41 70 70 6c 65 20 47 | 75 69 64 65 20 64 61 74 | Apple G|uide dat|
|00004390| 61 62 61 73 65 20 66 69 | 6c 65 2e 0d 73 65 6c 65 |abase fi|le..sele|
|000043a0| 63 74 6f 72 09 41 20 70 | 6f 69 6e 74 65 72 20 74 |ctor.A p|ointer t|
|000043b0| 6f 20 74 68 65 20 73 65 | 6c 65 63 74 6f 72 20 66 |o the se|lector f|
|000043c0| 6f 72 20 74 68 65 20 66 | 69 6c 65 2e 0d 76 61 6c |or the f|ile..val|
|000043d0| 75 65 09 41 20 70 6f 69 | 6e 74 65 72 20 74 6f 20 |ue.A poi|nter to |
|000043e0| 74 68 65 20 76 61 6c 75 | 65 20 61 73 73 6f 63 69 |the valu|e associ|
|000043f0| 61 74 65 64 20 77 69 74 | 68 20 74 68 65 20 73 65 |ated wit|h the se|
|00004400| 6c 65 63 74 6f 72 2e 0d | 52 65 74 75 72 6e 20 74 |lector..|Return t|
|00004410| 68 65 20 73 65 6c 65 63 | 74 6f 72 20 61 6e 64 20 |he selec|tor and |
|00004420| 69 74 73 20 76 61 6c 75 | 65 20 66 6f 72 20 61 20 |its valu|e for a |
|00004430| 67 69 76 65 6e 20 73 65 | 6c 65 63 74 6f 72 20 6e |given se|lector n|
|00004440| 75 6d 62 65 72 20 69 6e | 20 74 68 65 20 41 70 70 |umber in| the App|
|00004450| 6c 65 20 47 75 69 64 65 | 20 64 61 74 61 62 61 73 |le Guide| databas|
|00004460| 65 20 66 69 6c 65 2e 0d | 45 72 72 6f 72 20 43 6f |e file..|Error Co|
|00004470| 64 65 73 0d 6e 6f 45 72 | 72 0d 46 69 6c 65 20 4d |des.noEr|r.File M|
|00004480| 61 6e 61 67 65 72 20 65 | 72 72 6f 72 20 63 6f 64 |anager e|rror cod|
|00004490| 65 0d 41 47 46 69 6c 65 | 49 73 4d 69 78 69 6e 0d |e.AGFile|IsMixin.|
|000044a0| 70 61 73 63 61 6c 20 42 | 6f 6f 6c 65 61 6e 20 41 |pascal B|oolean A|
|000044b0| 47 46 69 6c 65 49 73 4d | 69 78 69 6e 28 41 47 46 |GFileIsM|ixin(AGF|
|000044c0| 69 6c 65 46 53 53 70 65 | 63 54 79 70 65 20 2a 66 |ileFSSpe|cType *f|
|000044d0| 69 6c 65 53 70 65 63 29 | 3b 0d 66 69 6c 65 53 70 |ileSpec)|;.fileSp|
|000044e0| 65 63 09 41 20 70 6f 69 | 6e 74 65 72 20 74 6f 20 |ec.A poi|nter to |
|000044f0| 74 68 65 20 46 53 53 70 | 65 63 20 66 6f 72 20 74 |the FSSp|ec for t|
|00004500| 68 65 20 41 70 70 6c 65 | 20 47 75 69 64 65 20 64 |he Apple| Guide d|
|00004510| 61 74 61 62 61 73 65 20 | 66 69 6c 65 2e 0d 52 65 |atabase |file..Re|
|00004520| 74 75 72 6e 20 74 72 75 | 65 20 69 66 20 74 68 69 |turn tru|e if thi|
|00004530| 73 20 41 70 70 6c 65 20 | 47 75 69 64 65 20 64 61 |s Apple |Guide da|
|00004540| 74 61 62 61 73 65 20 66 | 69 6c 65 20 69 73 20 61 |tabase f|ile is a|
|00004550| 20 6d 69 78 69 6e 20 66 | 69 6c 65 2e 0d 45 72 72 | mixin f|ile..Err|
|00004560| 6f 72 20 43 6f 64 65 73 | 0d 28 6e 6f 6e 65 29 0d |or Codes|.(none).|
|00004570| 41 47 46 69 6c 65 47 65 | 74 48 65 6c 70 4d 65 6e |AGFileGe|tHelpMen|
|00004580| 75 41 70 70 43 72 65 61 | 74 6f 72 0d 70 61 73 63 |uAppCrea|tor.pasc|
|00004590| 61 6c 20 4f 53 45 72 72 | 20 41 47 46 69 6c 65 47 |al OSErr| AGFileG|
|000045a0| 65 74 48 65 6c 70 4d 65 | 6e 75 41 70 70 43 72 65 |etHelpMe|nuAppCre|
|000045b0| 61 74 6f 72 28 0d 09 09 | 09 09 09 09 41 47 46 69 |ator(...|....AGFi|
|000045c0| 6c 65 46 53 53 70 65 63 | 54 79 70 65 20 2a 66 69 |leFSSpec|Type *fi|
|000045d0| 6c 65 53 70 65 63 2c 0d | 09 09 09 09 09 09 4f 53 |leSpec,.|......OS|
|000045e0| 54 79 70 65 20 2a 68 65 | 6c 70 4d 65 6e 75 41 70 |Type *he|lpMenuAp|
|000045f0| 70 43 72 65 61 74 6f 72 | 29 3b 0d 66 69 6c 65 53 |pCreator|);.fileS|
|00004600| 70 65 63 09 41 20 70 6f | 69 6e 74 65 72 20 74 6f |pec.A po|inter to|
|00004610| 20 74 68 65 20 46 53 53 | 70 65 63 20 66 6f 72 20 | the FSS|pec for |
|00004620| 74 68 65 20 41 70 70 6c | 65 20 47 75 69 64 65 20 |the Appl|e Guide |
|00004630| 64 61 74 61 62 61 73 65 | 20 66 69 6c 65 2e 0d 68 |database| file..h|
|00004640| 65 6c 70 4d 65 6e 75 41 | 70 70 43 72 65 61 74 6f |elpMenuA|ppCreato|
|00004650| 72 09 41 20 70 6f 69 6e | 74 65 72 20 74 6f 20 74 |r.A poin|ter to t|
|00004660| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 63 |he appli|cation c|
|00004670| 72 65 61 74 6f 72 20 66 | 6f 72 20 74 68 65 20 48 |reator f|or the H|
|00004680| 65 6c 70 20 6d 65 6e 75 | 20 69 74 65 6d 2e 0d 54 |elp menu| item..T|
|00004690| 68 65 20 68 65 6c 70 4d | 65 6e 75 41 70 70 43 72 |he helpM|enuAppCr|
|000046a0| 65 61 74 6f 72 20 6d 75 | 73 74 20 6d 61 74 63 68 |eator mu|st match|
|000046b0| 20 77 69 74 68 20 74 68 | 65 20 61 70 70 6c 69 63 | with th|e applic|
|000046c0| 61 74 69 6f 6e 20 63 72 | 65 61 74 6f 72 20 69 6e |ation cr|eator in|
|000046d0| 20 6f 72 64 65 72 20 66 | 6f 72 20 74 68 69 73 20 | order f|or this |
|000046e0| 64 61 74 61 62 61 73 65 | 20 74 6f 20 61 70 70 65 |database| to appe|
|000046f0| 61 72 20 69 6e 20 74 68 | 65 20 61 70 70 6c 69 63 |ar in th|e applic|
|00004700| 61 74 69 6f 6e 27 73 20 | 48 65 6c 70 20 6d 65 6e |ation's |Help men|
|00004710| 75 2e 20 49 67 6e 6f 72 | 65 64 20 66 6f 72 20 6d |u. Ignor|ed for m|
|00004720| 69 78 69 6e 20 64 61 74 | 61 62 61 73 65 73 20 62 |ixin dat|abases b|
|00004730| 65 63 61 75 73 65 20 74 | 68 65 79 20 6e 65 76 65 |ecause t|hey neve|
|00004740| 72 20 61 70 70 65 61 72 | 20 69 6e 20 74 68 65 20 |r appear| in the |
|00004750| 48 65 6c 70 20 6d 65 6e | 75 20 61 6e 79 77 61 79 |Help men|u anyway|
|00004760| 2e 20 49 66 20 65 6d 70 | 74 79 20 28 7a 65 72 6f |. If emp|ty (zero|
|00004770| 73 29 2c 20 74 68 69 73 | 20 64 61 74 61 62 61 73 |s), this| databas|
|00004780| 65 20 77 69 6c 6c 20 61 | 70 70 65 61 72 20 69 6e |e will a|ppear in|
|00004790| 20 74 68 65 20 48 65 6c | 70 20 6d 65 6e 75 20 6f | the Hel|p menu o|
|000047a0| 66 20 61 6e 79 20 68 6f | 73 74 20 61 70 70 6c 69 |f any ho|st appli|
|000047b0| 63 61 74 69 6f 6e 2e 0d | 45 72 72 6f 72 20 43 6f |cation..|Error Co|
|000047c0| 64 65 73 0d 6e 6f 45 72 | 72 0d 46 69 6c 65 20 4d |des.noEr|r.File M|
|000047d0| 61 6e 61 67 65 72 20 65 | 72 72 6f 72 20 63 6f 64 |anager e|rror cod|
|000047e0| 65 0d 41 47 46 69 6c 65 | 47 65 74 4d 69 78 69 6e |e.AGFile|GetMixin|
|000047f0| 4d 61 74 63 68 53 65 6c | 65 63 74 6f 72 0d 70 61 |MatchSel|ector.pa|
|00004800| 73 63 61 6c 20 4f 53 45 | 72 72 20 41 47 46 69 6c |scal OSE|rr AGFil|
|00004810| 65 47 65 74 4d 69 78 69 | 6e 4d 61 74 63 68 53 65 |eGetMixi|nMatchSe|
|00004820| 6c 65 63 74 6f 72 28 0d | 09 09 09 09 09 09 41 47 |lector(.|......AG|
|00004830| 46 69 6c 65 46 53 53 70 | 65 63 54 79 70 65 20 2a |FileFSSp|ecType *|
|00004840| 66 69 6c 65 53 70 65 63 | 2c 0d 09 09 09 09 09 09 |fileSpec|,.......|
|00004850| 4f 53 54 79 70 65 20 2a | 6d 69 78 69 6e 4d 61 74 |OSType *|mixinMat|
|00004860| 63 68 53 65 6c 65 63 74 | 6f 72 29 3b 0d 66 69 6c |chSelect|or);.fil|
|00004870| 65 53 70 65 63 09 41 20 | 70 6f 69 6e 74 65 72 20 |eSpec.A |pointer |
|00004880| 74 6f 20 74 68 65 20 46 | 53 53 70 65 63 20 66 6f |to the F|SSpec fo|
|00004890| 72 20 74 68 65 20 41 70 | 70 6c 65 20 47 75 69 64 |r the Ap|ple Guid|
|000048a0| 65 20 64 61 74 61 62 61 | 73 65 20 66 69 6c 65 2e |e databa|se file.|
|000048b0| 0d 6d 69 78 69 6e 4d 61 | 74 63 68 53 65 6c 65 63 |.mixinMa|tchSelec|
|000048c0| 74 6f 72 09 41 20 70 6f | 69 6e 74 65 72 20 74 6f |tor.A po|inter to|
|000048d0| 20 73 65 6c 65 63 74 6f | 72 2e 0d 54 68 65 20 6d | selecto|r..The m|
|000048e0| 69 78 69 6e 4d 61 74 63 | 68 53 65 6c 65 63 74 6f |ixinMatc|hSelecto|
|000048f0| 72 20 6d 75 73 74 20 6d | 61 74 63 68 20 69 6e 20 |r must m|atch in |
|00004900| 74 68 65 20 6d 61 69 6e | 20 61 6e 64 20 6d 69 78 |the main| and mix|
|00004910| 69 6e 20 64 61 74 61 62 | 61 73 65 73 20 69 6e 20 |in datab|ases in |
|00004920| 6f 72 64 65 72 20 66 6f | 72 20 74 68 65 20 6d 69 |order fo|r the mi|
|00004930| 78 69 6e 20 74 6f 20 6d | 69 78 2d 69 6e 20 77 69 |xin to m|ix-in wi|
|00004940| 74 68 20 74 68 65 20 6d | 61 69 6e 2e 20 45 6d 70 |th the m|ain. Emp|
|00004950| 74 79 20 28 7a 65 72 6f | 29 20 73 65 6c 65 63 74 |ty (zero|) select|
|00004960| 6f 72 73 20 61 72 65 20 | 76 61 6c 69 64 20 66 6f |ors are |valid fo|
|00004970| 72 20 6d 61 74 63 68 69 | 6e 67 2e 20 41 20 27 2a |r matchi|ng. A '*|
|00004980| 2a 2a 2a 27 20 73 65 6c | 65 63 74 6f 72 20 77 69 |***' sel|ector wi|
|00004990| 6c 6c 20 6d 69 78 2d 69 | 6e 20 77 69 74 68 20 61 |ll mix-i|n with a|
|000049a0| 6e 79 20 6d 61 69 6e 20 | 64 61 74 61 62 61 73 65 |ny main |database|
|000049b0| 2e 0d 45 72 72 6f 72 20 | 43 6f 64 65 73 0d 6e 6f |..Error |Codes.no|
|000049c0| 45 72 72 0d 46 69 6c 65 | 20 4d 61 6e 61 67 65 72 |Err.File| Manager|
|000049d0| 20 65 72 72 6f 72 20 63 | 6f 64 65 0d 41 47 46 69 | error c|ode.AGFi|
|000049e0| 6c 65 47 65 74 48 65 6c | 70 4d 65 6e 75 42 61 6c |leGetHel|pMenuBal|
|000049f0| 6c 6f 6f 6e 54 65 78 74 | 0d 70 61 73 63 61 6c 20 |loonText|.pascal |
|00004a00| 4f 53 45 72 72 20 41 47 | 46 69 6c 65 47 65 74 48 |OSErr AG|FileGetH|
|00004a10| 65 6c 70 4d 65 6e 75 42 | 61 6c 6c 6f 6f 6e 54 65 |elpMenuB|alloonTe|
|00004a20| 78 74 28 0d 09 09 09 09 | 09 09 41 47 46 69 6c 65 |xt(.....|..AGFile|
|00004a30| 46 53 53 70 65 63 54 79 | 70 65 20 2a 66 69 6c 65 |FSSpecTy|pe *file|
|00004a40| 53 70 65 63 2c 0d 09 09 | 09 09 09 09 53 74 72 32 |Spec,...|....Str2|
|00004a50| 35 35 20 68 65 6c 70 4d | 65 6e 75 42 61 6c 6c 6f |55 helpM|enuBallo|
|00004a60| 6f 6e 53 74 72 69 6e 67 | 29 3b 0d 66 69 6c 65 53 |onString|);.fileS|
|00004a70| 70 65 63 09 41 20 70 6f | 69 6e 74 65 72 20 74 6f |pec.A po|inter to|
|00004a80| 20 74 68 65 20 46 53 53 | 70 65 63 20 66 6f 72 20 | the FSS|pec for |
|00004a90| 74 68 65 20 41 70 70 6c | 65 20 47 75 69 64 65 20 |the Appl|e Guide |
|00004aa0| 64 61 74 61 62 61 73 65 | 20 66 69 6c 65 2e 0d 68 |database| file..h|
|00004ab0| 65 6c 70 4d 65 6e 75 42 | 61 6c 6c 6f 6f 6e 53 74 |elpMenuB|alloonSt|
|00004ac0| 72 69 6e 67 09 54 68 65 | 20 68 65 6c 70 20 6d 65 |ring.The| help me|
|00004ad0| 6e 75 20 62 61 6c 6c 6f | 6f 6e 20 74 65 78 74 20 |nu ballo|on text |
|00004ae0| 61 73 20 61 20 70 61 73 | 63 61 6c 20 73 74 72 69 |as a pas|cal stri|
|00004af0| 6e 67 2e 0d 54 68 65 20 | 68 65 6c 70 4d 65 6e 75 |ng..The |helpMenu|
|00004b00| 42 61 6c 6c 6f 6f 6e 53 | 74 72 69 6e 67 20 69 73 |BalloonS|tring is|
|00004b10| 20 74 68 65 20 74 65 78 | 74 20 6f 66 20 74 68 65 | the tex|t of the|
|00004b20| 20 68 65 6c 70 20 62 61 | 6c 6c 6f 6f 6e 20 66 6f | help ba|lloon fo|
|00004b30| 72 20 74 68 65 20 48 65 | 6c 70 20 6d 65 6e 75 20 |r the He|lp menu |
|00004b40| 69 74 65 6d 20 66 6f 72 | 20 74 68 69 73 20 64 61 |item for| this da|
|00004b50| 74 61 62 61 73 65 2e 0d | 45 72 72 6f 72 20 43 6f |tabase..|Error Co|
|00004b60| 64 65 73 0d 6e 6f 45 72 | 72 0d 46 69 6c 65 20 4d |des.noEr|r.File M|
|00004b70| 61 6e 61 67 65 72 20 65 | 72 72 6f 72 20 63 6f 64 |anager e|rror cod|
|00004b80| 65 0d 01 9a 00 00 00 00 | 03 18 02 40 00 11 02 ff |e.......|...@....|
|00004b90| 0c 00 ff ff ff ff 00 00 | 00 00 00 00 00 00 02 40 |........|.......@|
|00004ba0| 00 00 03 18 00 00 00 00 | 00 00 00 1e 00 0c 00 1e |........|........|
|00004bb0| 00 1f 00 01 00 0a 00 00 | 00 00 03 56 02 7c 00 2c |........|...V.|.,|
|00004bc0| 00 0b 00 10 08 50 61 6c | 61 74 69 6e 6f 00 00 03 |.....Pal|atino...|
|00004bd0| 00 10 00 0d 00 24 00 2e | 00 04 00 00 00 00 00 a1 |.....$..|........|
|00004be0| 00 64 00 10 4f 4e 4c 4e | 00 64 00 00 00 2b 00 7b |.d..ONLN|.d...+.{|
|00004bf0| 00 53 00 97 00 2b 99 68 | 01 f0 00 0d 00 06 00 a1 |.S...+.h|........|
|00004c00| 00 64 00 10 4f 4e 4c 4e | 00 64 00 01 00 46 00 97 |.d..ONLN|.d...F..|
|00004c10| 00 4d 00 9b 00 2b 1c 02 | 01 a8 00 04 01 00 00 0d |.M...+..|........|
|00004c20| 00 1e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 04 |.....d..|ONLN.d..|
|00004c30| 00 a8 00 7b 00 c9 01 98 | 00 28 00 e0 00 99 13 41 |...{....|.(.....A|
|00004c40| 70 70 6c 65 20 47 75 69 | 64 65 20 31 2e 32 20 41 |pple Gui|de 1.2 A|
|00004c50| 50 49 00 04 00 00 00 0d | 00 0a 00 a1 00 64 00 10 |PI......|.....d..|
|00004c60| 4f 4e 4c 4e 00 64 00 18 | 02 11 00 7b 02 1d 01 5f |ONLN.d..|...{..._|
|00004c70| 00 28 02 39 00 99 25 41 | 50 49 20 a5 20 41 50 50 |.(.9..%A|PI . APP|
|00004c80| 4c 45 20 4e 45 45 44 20 | 54 4f 20 4b 4e 4f 57 20 |LE NEED |TO KNOW |
|00004c90| 43 4f 4e 46 49 44 45 4e | 54 49 41 4c 00 a1 00 64 |CONFIDEN|TIAL...d|
|00004ca0| 00 10 4f 4e 4c 4e 00 64 | 00 3e 02 28 00 7b 02 34 |..ONLN.d|.>.(.{.4|
|00004cb0| 01 29 00 2a 17 24 44 6f | 63 75 6d 65 6e 74 20 56 |.).*.$Do|cument V|
|00004cc0| 65 72 73 69 6f 6e 20 33 | 2e 33 20 d1 20 31 39 39 |ersion 3|.3 . 199|
|00004cd0| 34 20 4d 61 72 63 68 20 | 32 38 00 a1 00 64 00 10 |4 March |28...d..|
|00004ce0| 4f 4e 4c 4e 00 64 00 63 | 02 56 00 7b 02 62 01 2f |ONLN.d.c|.V.{.b./|
|00004cf0| 00 2a 2e 25 43 6f 70 79 | 72 69 67 68 74 20 a9 31 |.*.%Copy|right .1|
|00004d00| 39 39 34 2c 20 41 70 70 | 6c 65 20 43 6f 6d 70 75 |994, App|le Compu|
|00004d10| 74 65 72 2c 20 49 6e 63 | 2e 00 00 ff 06 0e 00 00 |ter, Inc|........|
|00004d20| 00 00 03 18 02 40 00 11 | 02 ff 0c 00 ff ff ff ff |.....@..|........|
|00004d30| 00 00 00 00 00 00 00 00 | 02 40 00 00 03 18 00 00 |........|.@......|
|00004d40| 00 00 00 00 00 1e 00 0c | 00 1e 00 1f 00 01 00 0a |........|........|
|00004d50| 00 00 00 00 03 56 02 7c | 00 2c 00 0b 00 10 08 50 |.....V.||.,.....P|
|00004d60| 61 6c 61 74 69 6e 6f 00 | 00 03 00 10 00 04 01 00 |alatino.|........|
|00004d70| 00 0d 00 12 00 2e 00 04 | 00 00 00 00 00 a1 00 64 |........|.......d|
|00004d80| 00 10 4f 4e 4c 4e 00 64 | 00 00 00 29 00 3c 00 3d |..ONLN.d|...).<.=|
|00004d90| 00 df 00 2b 5a 57 11 54 | 61 62 6c 65 20 6f 66 20 |...+ZW.T|able of |
|00004da0| 43 6f 6e 74 65 6e 74 73 | 00 04 00 00 00 0d 00 0c |Contents|........|
|00004db0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 12 00 49 |...d..ON|LN.d...I|
|00004dc0| 00 3c 00 57 00 ad 00 2a | 1b 13 41 70 70 6c 65 20 |.<.W...*|..Apple |
|00004dd0| 47 75 69 64 65 20 31 2e | 32 20 41 50 49 00 00 a1 |Guide 1.|2 API...|
|00004de0| 00 64 00 10 4f 4e 4c 4e | 00 64 ff ff 00 00 00 00 |.d..ONLN|.d......|
|00004df0| 00 00 00 00 00 29 72 20 | 2e 2e 2e 2e 2e 2e 2e 2e |.....)r |........|
|00004e00| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00004e10| 2e 2e 2e 2e 2e 2e 2e 2e | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00004e20| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 29 |LN.d....|.......)|
|00004e30| 60 20 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |` ......|........|
|00004e40| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00004e50| 2e 2e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 ff ff |.....d..|ONLN.d..|
|00004e60| 00 00 00 00 00 00 00 00 | 00 29 60 20 2e 2e 2e 2e |........|.)` ....|
|00004e70| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00004e80| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 00 a1 00 64 |........|.......d|
|00004e90| 00 10 4f 4e 4c 4e 00 64 | ff ff 00 00 00 00 00 00 |..ONLN.d|........|
|00004ea0| 00 00 00 29 60 04 2e 2e | 2e 2e 00 a1 00 64 00 10 |...)`...|.....d..|
|00004eb0| 4f 4e 4c 4e 00 64 00 26 | 00 49 01 da 00 57 01 e0 |ONLN.d.&|.I...W..|
|00004ec0| 00 29 0c 01 32 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |.)..2...|.d..ONLN|
|00004ed0| 00 64 00 28 00 57 00 60 | 00 65 00 86 00 28 00 80 |.d.(.W.`|.e...(..|
|00004ee0| 00 7e 07 47 65 73 74 61 | 6c 74 00 a1 00 64 00 10 |.~.Gesta|lt...d..|
|00004ef0| 4f 4e 4c 4e 00 64 ff ff | 00 00 00 00 00 00 00 00 |ONLN.d..|........|
|00004f00| 00 29 27 20 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |.)' ....|........|
|00004f10| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00004f20| 2e 2e 2e 2e 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004f30| ff ff 00 00 00 00 00 00 | 00 00 00 29 60 20 2e 2e |........|...)` ..|
|00004f40| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00004f50| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 00 a1 |........|........|
|00004f60| 00 64 00 10 4f 4e 4c 4e | 00 64 ff ff 00 00 00 00 |.d..ONLN|.d......|
|00004f70| 00 00 00 00 00 29 60 20 | 2e 2e 2e 2e 2e 2e 2e 2e |.....)` |........|
|00004f80| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00004f90| 2e 2e 2e 2e 2e 2e 2e 2e | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00004fa0| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 29 |LN.d....|.......)|
|00004fb0| 60 11 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |`.......|........|
|00004fc0| 2e 2e 2e 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004fd0| 00 30 00 57 01 da 00 65 | 01 e0 00 29 33 01 32 00 |.0.W...e|...)3.2.|
|00004fe0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 32 00 65 |...d..ON|LN.d.2.e|
|00004ff0| 00 60 00 73 00 98 00 28 | 00 8e 00 7e 09 46 75 6e |.`.s...(|...~.Fun|
|00005000| 63 74 69 6f 6e 73 00 a1 | 00 64 00 10 4f 4e 4c 4e |ctions..|.d..ONLN|
|00005010| 00 64 ff ff 00 00 00 00 | 00 00 00 00 00 29 39 20 |.d......|.....)9 |
|00005020| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00005030| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00005040| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 ff ff 00 00 |...d..ON|LN.d....|
|00005050| 00 00 00 00 00 00 00 29 | 60 20 2e 2e 2e 2e 2e 2e |.......)|` ......|
|00005060| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00005070| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 00 a1 00 64 00 10 |........|.....d..|
|00005080| 4f 4e 4c 4e 00 64 ff ff | 00 00 00 00 00 00 00 00 |ONLN.d..|........|
|00005090| 00 29 60 20 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |.)` ....|........|
|000050a0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|000050b0| 2e 2e 2e 2e 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000050c0| ff ff 00 00 00 00 00 00 | 00 00 00 29 60 0b 2e 2e |........|...)`...|
|000050d0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 00 00 a1 00 64 00 10 |........|.....d..|
|000050e0| 4f 4e 4c 4e 00 64 00 3c | 00 65 01 da 00 73 01 e0 |ONLN.d.<|.e...s..|
|000050f0| 00 29 21 01 32 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |.)!.2...|.d..ONLN|
|00005100| 00 64 00 3e 00 73 00 60 | 00 81 00 9e 00 28 00 9c |.d.>.s.`|.....(..|
|00005110| 00 7e 0b 45 72 72 6f 72 | 20 63 6f 64 65 73 00 a1 |.~.Error| codes..|
|00005120| 00 64 00 10 4f 4e 4c 4e | 00 64 ff ff 00 00 00 00 |.d..ONLN|.d......|
|00005130| 00 00 00 00 00 29 3f 20 | 2e 2e 2e 2e 2e 2e 2e 2e |.....)? |........|
|00005140| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00005150| 2e 2e 2e 2e 2e 2e 2e 2e | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00005160| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 29 |LN.d....|.......)|
|00005170| 60 20 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |` ......|........|
|00005180| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00005190| 2e 2e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 ff ff |.....d..|ONLN.d..|
|000051a0| 00 00 00 00 00 00 00 00 | 00 29 60 20 2e 2e 2e 2e |........|.)` ....|
|000051b0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|000051c0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 00 a1 00 64 |........|.......d|
|000051d0| 00 10 4f 4e 4c 4e 00 64 | ff ff 00 00 00 00 00 00 |..ONLN.d|........|
|000051e0| 00 00 00 29 60 07 2e 2e | 2e 2e 2e 2e 2e 00 00 a1 |...)`...|........|
|000051f0| 00 64 00 10 4f 4e 4c 4e | 00 64 00 4a 00 73 01 d5 |.d..ONLN|.d.J.s..|
|00005200| 00 81 01 e1 00 29 16 02 | 31 32 00 a1 00 64 00 10 |.....)..|12...d..|
|00005210| 4f 4e 4c 4e 00 64 00 4d | 00 8d 00 3c 00 9b 00 7c |ONLN.d.M|...<...||
|00005220| 00 28 00 b6 00 5a 0a 41 | 47 46 69 6c 65 20 41 50 |.(...Z.A|GFile AP|
|00005230| 49 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 ff ff |I....d..|ONLN.d..|
|00005240| 00 00 00 00 00 00 00 00 | 00 29 42 20 2e 2e 2e 2e |........|.)B ....|
|00005250| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00005260| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 00 a1 00 64 |........|.......d|
|00005270| 00 10 4f 4e 4c 4e 00 64 | ff ff 00 00 00 00 00 00 |..ONLN.d|........|
|00005280| 00 00 00 29 60 20 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |...)` ..|........|
|00005290| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|000052a0| 2e 2e 2e 2e 2e 2e 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000052b0| 00 64 ff ff 00 00 00 00 | 00 00 00 00 00 29 60 20 |.d......|.....)` |
|000052c0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|000052d0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|000052e0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 ff ff 00 00 |...d..ON|LN.d....|
|000052f0| 00 00 00 00 00 00 00 29 | 60 12 2e 2e 2e 2e 2e 2e |.......)|`.......|
|00005300| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 00 a1 00 64 |........|.......d|
|00005310| 00 10 4f 4e 4c 4e 00 64 | 00 58 00 8d 01 d5 00 9b |..ONLN.d|.X......|
|00005320| 01 e1 00 29 37 02 31 33 | 00 ff 09 20 00 00 00 00 |...)7.13|... ....|
|00005330| 03 18 02 40 00 11 02 ff | 0c 00 ff ff ff ff 00 00 |...@....|........|
|00005340| 00 00 00 00 00 00 02 40 | 00 00 03 18 00 00 00 00 |.......@|........|
|00005350| 00 00 00 1e 00 0c 00 1e | 00 1f 00 01 00 0a 00 00 |........|........|
|00005360| 00 00 03 56 02 7c 00 2c | 00 0b 00 10 08 50 61 6c |...V.|.,|.....Pal|
|00005370| 61 74 69 6e 6f 00 00 03 | 00 10 00 04 01 00 00 0d |atino...|........|
|00005380| 00 18 00 2e 00 04 00 00 | 00 00 00 a1 00 64 00 10 |........|.....d..|
|00005390| 4f 4e 4c 4e 00 64 00 00 | 00 29 00 3c 00 42 01 2f |ONLN.d..|.).<.B./|
|000053a0| 00 2b 5a 5a 13 41 70 70 | 6c 65 20 47 75 69 64 65 |.+ZZ.App|le Guide|
|000053b0| 20 31 2e 32 20 41 50 49 | 00 0d 00 12 00 a1 00 64 | 1.2 API|.......d|
|000053c0| 00 10 4f 4e 4c 4e 00 64 | 00 14 00 54 00 3c 00 68 |..ONLN.d|...T.<.h|
|000053d0| 00 7e 00 2a 28 07 47 65 | 73 74 61 6c 74 00 00 04 |.~.*(.Ge|stalt...|
|000053e0| 00 00 00 0d 00 0c 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000053f0| 00 64 00 1c 00 74 00 3c | 00 82 01 ee 00 2a 1b 52 |.d...t.<|.....*.R|
|00005400| 54 68 65 72 65 20 69 73 | 20 61 6c 72 65 61 64 79 |There is| already|
|00005410| 20 61 20 48 65 6c 70 20 | 4d 61 6e 61 67 65 72 20 | a Help |Manager |
|00005420| 47 65 73 74 61 6c 74 20 | 73 65 6c 65 63 74 6f 72 |Gestalt |selector|
|00005430| 2c 20 77 69 74 68 20 61 | 20 73 69 6e 67 6c 65 20 |, with a| single |
|00005440| 62 69 74 20 64 65 66 69 | 6e 65 64 20 28 62 69 74 |bit defi|ned (bit|
|00005450| 20 30 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 6f | 0...d..|ONLN.d.o|
|00005460| 00 82 00 3c 00 90 00 f2 | 00 2a 0e 1f 6d 65 61 6e |...<....|.*..mean|
|00005470| 73 20 48 65 6c 70 20 4d | 61 6e 61 67 65 72 20 69 |s Help M|anager i|
|00005480| 73 20 70 72 65 73 65 6e | 74 29 2e 00 00 a1 00 64 |s presen|t).....d|
|00005490| 00 10 4f 4e 4c 4e 00 64 | 00 8f 00 9c 00 3c 00 aa |..ONLN.d|.....<..|
|000054a0| 01 7e 00 2a 1a 3a 57 65 | 20 64 65 66 69 6e 65 20 |.~.*.:We| define |
|000054b0| 62 69 74 20 33 31 20 74 | 6f 20 6d 65 61 6e 20 74 |bit 31 t|o mean t|
|000054c0| 68 61 74 20 41 70 70 6c | 65 20 47 75 69 64 65 20 |hat Appl|e Guide |
|000054d0| 69 73 20 61 6c 73 6f 20 | 70 72 65 73 65 6e 74 2e |is also |present.|
|000054e0| 00 2c 00 0a 00 16 07 43 | 6f 75 72 69 65 72 00 03 |.,.....C|ourier..|
|000054f0| 00 16 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 ca |.....d..|ONLN.d..|
|00005500| 00 b6 00 3c 00 c2 01 23 | 00 2a 1a 21 23 64 65 66 |...<...#|.*.!#def|
|00005510| 69 6e 65 20 67 65 73 74 | 61 6c 74 48 65 6c 70 4d |ine gest|altHelpM|
|00005520| 67 72 41 74 74 72 20 27 | 68 65 6c 70 27 00 00 a1 |grAttr '|help'...|
|00005530| 00 64 00 10 4f 4e 4c 4e | 00 64 00 ec 00 b6 01 38 |.d..ONLN|.d.....8|
|00005540| 00 c2 01 d2 00 29 fc 16 | 2f 2f 20 48 65 6c 70 20 |.....)..|// Help |
|00005550| 4d 67 72 20 41 74 74 72 | 69 62 75 74 65 73 00 a1 |Mgr Attr|ibutes..|
|00005560| 00 64 00 10 4f 4e 4c 4e | 00 64 01 03 00 ce 00 3c |.d..ONLN|.d.....<|
|00005570| 00 da 00 f2 00 28 00 f7 | 00 5a 1a 67 65 73 74 61 |.....(..|.Z.gesta|
|00005580| 6c 74 48 65 6c 70 4d 67 | 72 50 72 65 73 65 6e 74 |ltHelpMg|rPresent|
|00005590| 20 3d 20 30 2c 00 00 a1 | 00 64 00 10 4f 4e 4c 4e | = 0,...|.d..ONLN|
|000055a0| 00 64 01 1f 00 ce 01 14 | 00 da 01 d1 00 29 d8 1b |.d......|.....)..|
|000055b0| 2f 2f 20 74 72 75 65 20 | 69 66 20 48 65 6c 70 20 |// true |if Help |
|000055c0| 4d 67 72 20 70 72 65 73 | 65 6e 74 00 00 03 00 10 |Mgr pres|ent.....|
|000055d0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 3b 00 e6 |...d..ON|LN.d.;..|
|000055e0| 00 3c 00 f4 00 6b 00 28 | 01 0f 00 5a 08 4e 65 77 |.<...k.(|...Z.New|
|000055f0| 20 62 69 74 3a 00 00 03 | 00 16 00 a1 00 64 00 10 | bit:...|.....d..|
|00005600| 4f 4e 4c 4e 00 64 01 44 | 01 00 00 3c 01 0c 01 0e |ONLN.d.D|...<....|
|00005610| 00 2a 1a 1e 67 65 73 74 | 61 6c 74 41 70 70 6c 65 |.*..gest|altApple|
|00005620| 47 75 69 64 65 50 72 65 | 73 65 6e 74 20 3d 20 33 |GuidePre|sent = 3|
|00005630| 31 2c 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 63 |1,...d..|ONLN.d.c|
|00005640| 01 00 01 14 01 0c 01 e6 | 00 29 d8 1e 2f 2f 20 74 |........|.)..// t|
|00005650| 72 75 65 20 69 66 20 41 | 70 70 6c 65 20 47 75 69 |rue if A|pple Gui|
|00005660| 64 65 20 70 72 65 73 65 | 6e 74 00 03 00 10 00 04 |de prese|nt......|
|00005670| 01 00 00 0d 00 12 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005680| 00 64 01 82 01 38 00 3c | 01 4c 00 97 00 28 01 66 |.d...8.<|.L...(.f|
|00005690| 00 5a 09 46 75 6e 63 74 | 69 6f 6e 73 00 04 00 00 |.Z.Funct|ions....|
|000056a0| 00 0d 00 0c 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000056b0| 01 8c 01 58 00 3c 01 66 | 01 d8 00 2a 1b 48 54 68 |...X.<.f|...*.HTh|
|000056c0| 65 20 6e 61 6d 65 73 20 | 61 6c 6c 20 73 74 61 72 |e names |all star|
|000056d0| 74 20 77 69 74 68 20 d2 | 41 47 d3 20 66 6f 72 20 |t with .|AG. for |
|000056e0| 41 70 70 6c 65 20 47 75 | 69 64 65 2e 20 54 68 65 |Apple Gu|ide. The|
|000056f0| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 72 65 20 6f | functio|ns are o|
|00005700| 72 64 65 72 65 64 00 a1 | 00 64 00 10 4f 4e 4c 4e |rdered..|.d..ONLN|
|00005710| 00 64 01 d5 01 66 00 3c | 01 74 00 8b 00 2a 0e 0f |.d...f.<|.t...*..|
|00005720| 61 6c 70 68 61 62 65 74 | 69 63 61 6c 6c 79 2e 00 |alphabet|ically..|
|00005730| 00 04 01 00 00 0d 00 0e | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00005740| 4c 4e 00 64 01 e5 01 8c | 00 3c 01 9c 00 75 00 2a |LN.d....|.<...u.*|
|00005750| 28 07 41 47 43 6c 6f 73 | 65 00 00 03 00 16 00 04 |(.AGClos|e.......|
|00005760| 00 00 00 0d 00 0c 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005770| 00 64 01 ed 01 aa 00 3c | 01 b6 01 77 00 2a 1c 2d |.d.....<|...w.*.-|
|00005780| 70 61 73 63 61 6c 20 41 | 47 45 72 72 20 41 47 43 |pascal A|GErr AGC|
|00005790| 6c 6f 73 65 28 41 47 52 | 65 66 4e 75 6d 20 2a 72 |lose(AGR|efNum *r|
|000057a0| 65 73 75 6c 74 52 65 66 | 4e 75 6d 29 3b 00 00 a1 |esultRef|Num);...|
|000057b0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 1b 01 c2 00 3c |.d..ONLN|.d.....<|
|000057c0| 01 ce 00 90 00 2a 18 0c | 72 65 73 75 6c 74 52 65 |.....*..|resultRe|
|000057d0| 66 4e 75 6d 00 03 00 10 | 00 a1 00 64 00 10 4f 4e |fNum....|...d..ON|
|000057e0| 4c 4e 00 64 02 28 01 c2 | 00 ba 01 d0 01 ed 00 29 |LN.d.(..|.......)|
|000057f0| 7e 38 41 20 72 65 66 65 | 72 65 6e 63 65 20 74 6f |~8A refe|rence to|
|00005800| 20 74 68 65 20 6f 70 65 | 6e 20 64 61 74 61 62 61 | the ope|n databa|
|00005810| 73 65 2e 20 50 61 73 73 | 65 64 20 74 6f 20 74 68 |se. Pass|ed to th|
|00005820| 65 20 66 75 6e 63 74 69 | 6f 6e 00 a1 00 64 00 10 |e functi|on...d..|
|00005830| 4f 4e 4c 4e 00 64 02 61 | 01 d0 00 ba 01 de 01 3b |ONLN.d.a|.......;|
|00005840| 00 2a 0e 18 61 6e 64 20 | 73 65 74 20 62 79 20 74 |.*..and |set by t|
|00005850| 68 65 20 66 75 6e 63 74 | 69 6f 6e 2e 00 a1 00 64 |he funct|ion....d|
|00005860| 00 10 4f 4e 4c 4e 00 64 | 02 7a 01 ea 00 3c 01 f8 |..ONLN.d|.z...<..|
|00005870| 01 f7 00 28 02 13 00 5a | 50 43 6c 6f 73 65 20 74 |...(...Z|PClose t|
|00005880| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 68 65 6c |he speci|fied hel|
|00005890| 70 20 64 61 74 61 62 61 | 73 65 2e 20 41 70 70 6c |p databa|se. Appl|
|000058a0| 65 20 47 75 69 64 65 20 | 69 73 20 6c 65 66 74 20 |e Guide |is left |
|000058b0| 72 75 6e 6e 69 6e 67 20 | 69 6e 20 74 68 65 20 62 |running |in the b|
|000058c0| 61 63 6b 67 72 6f 75 6e | 64 00 00 a1 00 64 00 10 |ackgroun|d....d..|
|000058d0| 4f 4e 4c 4e 00 64 02 cb | 01 f8 00 3c 02 06 00 81 |ONLN.d..|...<....|
|000058e0| 00 2a 0e 0d 28 22 73 6c | 65 65 70 69 6e 67 22 29 |.*..("sl|eeping")|
|000058f0| 2e 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 d9 |.....d..|ONLN.d..|
|00005900| 02 12 00 3c 02 20 01 d6 | 00 2a 1a 46 4f 6e 6c 79 |...<. ..|.*.FOnly|
|00005910| 20 61 20 72 65 73 75 6c | 74 52 65 66 4e 75 6d 20 | a resul|tRefNum |
|00005920| 6f 70 65 6e 65 64 20 62 | 79 20 74 68 65 20 61 70 |opened b|y the ap|
|00005930| 70 6c 69 63 61 74 69 6f | 6e 20 6d 61 79 20 62 65 |plicatio|n may be|
|00005940| 20 70 61 73 73 65 64 2e | 20 41 6e 79 20 6f 74 68 | passed.| Any oth|
|00005950| 65 72 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 20 |er...d..|ONLN.d. |
|00005960| 02 20 00 3c 02 2e 00 c4 | 00 2a 0e 15 41 47 52 65 |. .<....|.*..AGRe|
|00005970| 66 4e 75 6d 20 77 69 6c | 6c 20 72 65 74 75 72 6e |fNum wil|l return|
|00005980| 20 00 00 03 00 16 00 a1 | 00 64 00 10 4f 4e 4c 4e | .......|.d..ONLN|
|00005990| 00 64 03 35 02 20 00 c4 | 02 2c 01 49 00 29 88 13 |.d.5. ..|.,.I.)..|
|000059a0| 6b 41 47 45 72 72 49 6e | 76 61 6c 69 64 52 65 66 |kAGErrIn|validRef|
|000059b0| 4e 75 6d 00 00 03 00 10 | 00 a1 00 64 00 10 4f 4e |Num.....|...d..ON|
|000059c0| 4c 4e 00 64 03 48 02 20 | 01 49 02 2e 01 4c 00 29 |LN.d.H. |.I...L.)|
|000059d0| 85 01 2e 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000059e0| 03 4a 02 3a 00 3c 02 48 | 00 7d 00 28 02 63 00 5a |.J.:.<.H|.}.(.c.Z|
|000059f0| 0b 45 72 72 6f 72 20 43 | 6f 64 65 73 00 03 00 16 |.Error C|odes....|
|00005a00| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 56 02 56 |...d..ON|LN.d.V.V|
|00005a10| 00 4e 02 62 00 71 00 2b | 12 1c 05 6e 6f 45 72 72 |.N.b.q.+|...noErr|
|00005a20| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 5c 02 62 |...d..ON|LN.d.\.b|
|00005a30| 00 4e 02 6e 00 e1 00 2a | 0c 15 6b 41 47 45 72 72 |.N.n...*|..kAGErr|
|00005a40| 44 61 74 61 62 61 73 65 | 4e 6f 74 4f 70 65 6e 00 |Database|NotOpen.|
|00005a50| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 72 02 6e |...d..ON|LN.d.r.n|
|00005a60| 00 4e 02 7a 00 d3 00 2a | 0c 13 6b 41 47 45 72 72 |.N.z...*|..kAGErr|
|00005a70| 49 6e 76 61 6c 69 64 52 | 65 66 4e 75 6d 00 00 03 |InvalidR|efNum...|
|00005a80| 00 10 00 04 01 00 00 0d | 00 0e 00 a1 00 64 00 10 |........|.....d..|
|00005a90| 4f 4e 4c 4e 00 64 03 86 | 02 92 00 3c 02 a2 00 85 |ONLN.d..|...<....|
|00005aa0| 00 28 02 bd 00 5a 09 41 | 47 47 65 6e 65 72 61 6c |.(...Z.A|GGeneral|
|00005ab0| 00 03 00 16 00 04 00 00 | 00 0d 00 0c 00 a1 00 64 |........|.......d|
|00005ac0| 00 10 4f 4e 4c 4e 00 64 | 03 90 02 b0 00 3c 02 bc |..ONLN.d|.....<..|
|00005ad0| 01 4d 00 2a 1c 27 70 61 | 73 63 61 6c 20 41 47 45 |.M.*.'pa|scal AGE|
|00005ae0| 72 72 20 41 47 47 65 6e | 65 72 61 6c 28 41 47 52 |rr AGGen|eral(AGR|
|00005af0| 65 66 4e 75 6d 20 72 65 | 66 4e 75 6d 2c 00 00 a1 |efNum re|fNum,...|
|00005b00| 00 64 00 10 4f 4e 4c 4e | 00 64 03 c2 02 bc 00 f0 |.d..ONLN|.d......|
|00005b10| 02 c8 01 6e 00 2b b4 0c | 12 41 47 45 76 65 6e 74 |...n.+..|.AGEvent|
|00005b20| 20 74 68 65 45 76 65 6e | 74 29 3b 00 00 a1 00 64 | theEven|t);....d|
|00005b30| 00 10 4f 4e 4c 4e 00 64 | 03 d5 02 d4 00 3c 02 e0 |..ONLN.d|.....<..|
|00005b40| 00 66 00 28 02 fd 00 5a | 06 72 65 66 4e 75 6d 00 |.f.(...Z|.refNum.|
|00005b50| 00 03 00 10 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005b60| 03 dc 02 d4 00 ba 02 e2 | 01 70 00 29 7e 21 41 20 |........|.p.)~!A |
|00005b70| 72 65 66 65 72 65 6e 63 | 65 20 74 6f 20 74 68 65 |referenc|e to the|
|00005b80| 20 6f 70 65 6e 20 64 61 | 74 61 62 61 73 65 2e 00 | open da|tabase..|
|00005b90| 00 03 00 16 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005ba0| 03 fe 02 ee 00 3c 02 fa | 00 74 00 28 03 17 00 5a |.....<..|.t.(...Z|
|00005bb0| 08 74 68 65 45 76 65 6e | 74 00 00 03 00 10 00 a1 |.theEven|t.......|
|00005bc0| 00 64 00 10 4f 4e 4c 4e | 00 64 04 07 02 ee 00 ba |.d..ONLN|.d......|
|00005bd0| 02 fc 01 ea 00 29 7e 34 | 41 6e 20 41 70 70 6c 65 |.....)~4|An Apple|
|00005be0| 20 47 75 69 64 65 20 65 | 76 65 6e 74 2e 20 54 68 | Guide e|vent. Th|
|00005bf0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 65 76 65 6e |e follow|ing even|
|00005c00| 74 73 20 72 65 71 75 69 | 72 65 20 61 00 a1 00 64 |ts requi|re a...d|
|00005c10| 00 10 4f 4e 4c 4e 00 64 | 04 3c 02 fc 00 ba 03 0a |..ONLN.d|.<......|
|00005c20| 01 84 00 2a 0e 22 70 72 | 65 73 65 6e 74 61 74 69 |...*."pr|esentati|
|00005c30| 6f 6e 20 77 69 6e 64 6f | 77 20 74 6f 20 62 65 20 |on windo|w to be |
|00005c40| 73 68 6f 77 69 6e 67 3a | 00 ff 0a 8a 00 00 00 00 |showing:|........|
|00005c50| 03 18 02 40 00 11 02 ff | 0c 00 ff ff ff ff 00 00 |...@....|........|
|00005c60| 00 00 00 00 00 00 02 40 | 00 00 03 18 00 00 00 00 |.......@|........|
|00005c70| 00 00 00 1e 00 0c 00 1e | 00 1f 00 01 00 0a 00 00 |........|........|
|00005c80| 00 00 03 56 02 7c 00 2c | 00 0a 00 16 07 43 6f 75 |...V.|.,|.....Cou|
|00005c90| 72 69 65 72 00 03 00 16 | 00 0d 00 0c 00 2e 00 04 |rier....|........|
|00005ca0| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005cb0| 00 00 00 29 00 4e 00 35 | 00 b7 00 2b 6c 52 0f 6b |...).N.5|...+lR.k|
|00005cc0| 41 47 45 76 65 6e 74 44 | 6f 43 6f 61 63 68 00 2c |AGEventD|oCoach.,|
|00005cd0| 00 0b 00 10 08 50 61 6c | 61 74 69 6e 6f 00 00 03 |.....Pal|atino...|
|00005ce0| 00 10 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 10 |.....d..|ONLN.d..|
|00005cf0| 00 29 00 f0 00 37 01 d7 | 00 29 a2 2d 49 66 20 61 |.)...7..|.).-If a|
|00005d00| 20 43 6f 61 63 68 20 6d | 61 72 6b 20 65 78 69 73 | Coach m|ark exis|
|00005d10| 74 73 20 66 6f 72 20 74 | 68 69 73 20 70 61 6e 65 |ts for t|his pane|
|00005d20| 6c 2c 20 64 6f 20 69 74 | 2e 00 00 03 00 16 00 a1 |l, do it|........|
|00005d30| 00 64 00 10 4f 4e 4c 4e | 00 64 00 3e 00 43 00 4e |.d..ONLN|.d.>.C.N|
|00005d40| 00 4f 00 a9 00 28 00 6c | 00 6c 0d 6b 41 47 45 76 |.O...(.l|.l.kAGEv|
|00005d50| 65 6e 74 44 6f 48 75 68 | 00 03 00 10 00 a1 00 64 |entDoHuh|.......d|
|00005d60| 00 10 4f 4e 4c 4e 00 64 | 00 4c 00 43 00 f0 00 51 |..ONLN.d|.L.C...Q|
|00005d70| 01 e0 00 29 a2 2f 49 66 | 20 61 20 48 75 68 3f 20 |...)./If| a Huh? |
|00005d80| 74 6f 70 69 63 20 65 78 | 69 73 74 73 20 66 6f 72 |topic ex|ists for|
|00005d90| 20 74 68 69 73 20 70 61 | 6e 65 6c 2c 20 6f 70 65 | this pa|nel, ope|
|00005da0| 6e 20 69 74 2e 00 00 03 | 00 16 00 a1 00 64 00 10 |n it....|.....d..|
|00005db0| 4f 4e 4c 4e 00 64 00 7c | 00 5d 00 4e 00 69 00 b0 |ONLN.d.||.].N.i..|
|00005dc0| 00 28 00 86 00 6c 0e 6b | 41 47 45 76 65 6e 74 47 |.(...l.k|AGEventG|
|00005dd0| 6f 4e 65 78 74 00 00 03 | 00 10 00 a1 00 64 00 10 |oNext...|.....d..|
|00005de0| 4f 4e 4c 4e 00 64 00 8b | 00 5d 00 f0 00 6b 01 63 |ONLN.d..|.]...k.c|
|00005df0| 00 29 a2 15 47 6f 20 74 | 6f 20 74 68 65 20 6e 65 |.)..Go t|o the ne|
|00005e00| 78 74 20 70 61 6e 65 6c | 2e 00 00 03 00 16 00 a1 |xt panel|........|
|00005e10| 00 64 00 10 4f 4e 4c 4e | 00 64 00 a1 00 77 00 4e |.d..ONLN|.d...w.N|
|00005e20| 00 83 00 b0 00 28 00 a0 | 00 6c 0e 6b 41 47 45 76 |.....(..|.l.kAGEv|
|00005e30| 65 6e 74 47 6f 50 72 65 | 76 00 00 03 00 10 00 a1 |entGoPre|v.......|
|00005e40| 00 64 00 10 4f 4e 4c 4e | 00 64 00 b0 00 77 00 f0 |.d..ONLN|.d...w..|
|00005e50| 00 85 01 7d 00 29 a2 19 | 47 6f 20 74 6f 20 74 68 |...}.)..|Go to th|
|00005e60| 65 20 70 72 65 76 69 6f | 75 73 20 70 61 6e 65 6c |e previo|us panel|
|00005e70| 2e 00 00 03 00 16 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005e80| 00 64 00 ca 00 91 00 4e | 00 9d 00 c5 00 28 00 ba |.d.....N|.....(..|
|00005e90| 00 6c 11 6b 41 47 45 76 | 65 6e 74 48 69 64 65 50 |.l.kAGEv|entHideP|
|00005ea0| 61 6e 65 6c 00 03 00 10 | 00 a1 00 64 00 10 4f 4e |anel....|...d..ON|
|00005eb0| 4c 4e 00 64 00 dc 00 91 | 00 f0 00 9f 02 01 00 29 |LN.d....|.......)|
|00005ec0| a2 36 49 66 20 74 68 65 | 20 70 61 6e 65 6c 20 69 |.6If the| panel i|
|00005ed0| 73 20 65 78 70 61 6e 64 | 65 64 2c 20 63 6f 6c 6c |s expand|ed, coll|
|00005ee0| 61 70 73 65 20 69 74 2e | 20 49 66 20 74 68 65 20 |apse it.| If the |
|00005ef0| 70 61 6e 65 6c 20 69 73 | 00 a1 00 64 00 10 4f 4e |panel is|...d..ON|
|00005f00| 4c 4e 00 64 01 13 00 9f | 00 f0 00 ad 01 8b 00 2a |LN.d....|.......*|
|00005f10| 0e 1e 63 6f 6c 6c 61 70 | 73 65 64 2c 20 6c 65 61 |..collap|sed, lea|
|00005f20| 76 65 20 69 74 20 63 6f | 6c 6c 61 70 73 65 64 2e |ve it co|llapsed.|
|00005f30| 00 03 00 16 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005f40| 01 32 00 b9 00 4e 00 c5 | 00 cc 00 28 00 e2 00 6c |.2...N..|...(...l|
|00005f50| 12 6b 41 47 45 76 65 6e | 74 52 65 74 75 72 6e 42 |.kAGEven|tReturnB|
|00005f60| 61 63 6b 00 00 03 00 10 | 00 a1 00 64 00 10 4f 4e |ack.....|...d..ON|
|00005f70| 4c 4e 00 64 01 45 00 b9 | 00 f0 00 c7 01 88 00 29 |LN.d.E..|.......)|
|00005f80| a2 1a 52 65 74 75 72 6e | 20 66 72 6f 6d 20 61 6e |..Return| from an|
|00005f90| 20 4f 6f 70 73 20 74 6f | 70 69 63 2e 00 03 00 16 | Oops to|pic.....|
|00005fa0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 60 00 d3 |...d..ON|LN.d.`..|
|00005fb0| 00 4e 00 df 00 c5 00 28 | 00 fc 00 6c 11 6b 41 47 |.N.....(|...l.kAG|
|00005fc0| 45 76 65 6e 74 53 68 6f | 77 50 61 6e 65 6c 00 03 |EventSho|wPanel..|
|00005fd0| 00 10 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 72 |.....d..|ONLN.d.r|
|00005fe0| 00 d3 00 f0 00 e1 01 fb | 00 29 a2 35 49 66 20 74 |........|.).5If t|
|00005ff0| 68 65 20 70 61 6e 65 6c | 20 69 73 20 63 6f 6c 6c |he panel| is coll|
|00006000| 61 70 73 65 64 2c 20 65 | 78 70 61 6e 64 20 69 74 |apsed, e|xpand it|
|00006010| 2e 20 49 66 20 74 68 65 | 20 70 61 6e 65 6c 20 69 |. If the| panel i|
|00006020| 73 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 a8 |s....d..|ONLN.d..|
|00006030| 00 e1 00 f0 00 ef 01 8f | 00 2a 0e 1c 65 78 70 61 |........|.*..expa|
|00006040| 6e 64 65 64 2c 20 6c 65 | 61 76 65 20 69 74 20 65 |nded, le|ave it e|
|00006050| 78 70 61 6e 64 65 64 2e | 00 03 00 16 00 a1 00 64 |xpanded.|.......d|
|00006060| 00 10 4f 4e 4c 4e 00 64 | 01 c5 00 fb 00 4e 01 07 |..ONLN.d|.....N..|
|00006070| 00 d3 00 28 01 24 00 6c | 13 6b 41 47 45 76 65 6e |...(.$.l|.kAGEven|
|00006080| 74 54 6f 67 67 6c 65 50 | 61 6e 65 6c 00 03 00 10 |tToggleP|anel....|
|00006090| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 d9 00 fb |...d..ON|LN.d....|
|000060a0| 00 f0 01 09 01 fb 00 29 | a2 35 49 66 20 74 68 65 |.......)|.5If the|
|000060b0| 20 70 61 6e 65 6c 20 69 | 73 20 63 6f 6c 6c 61 70 | panel i|s collap|
|000060c0| 73 65 64 2c 20 65 78 70 | 61 6e 64 20 69 74 2e 20 |sed, exp|and it. |
|000060d0| 49 66 20 74 68 65 20 70 | 61 6e 65 6c 20 69 73 00 |If the p|anel is.|
|000060e0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 0f 01 09 |...d..ON|LN.d....|
|000060f0| 00 f0 01 17 01 65 00 2a | 0e 16 65 78 70 61 6e 64 |.....e.*|..expand|
|00006100| 65 64 2c 20 63 6f 6c 6c | 61 70 73 65 20 69 74 2e |ed, coll|apse it.|
|00006110| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 26 01 23 |...d..ON|LN.d.&.#|
|00006120| 00 3c 01 31 01 d6 00 28 | 01 4c 00 5a 46 4f 6e 6c |.<.1...(|.L.ZFOnl|
|00006130| 79 20 61 20 72 65 73 75 | 6c 74 52 65 66 4e 75 6d |y a resu|ltRefNum|
|00006140| 20 6f 70 65 6e 65 64 20 | 62 79 20 74 68 65 20 61 | opened |by the a|
|00006150| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6d 61 79 20 62 |pplicati|on may b|
|00006160| 65 20 70 61 73 73 65 64 | 2e 20 41 6e 79 20 6f 74 |e passed|. Any ot|
|00006170| 68 65 72 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |her....d|..ONLN.d|
|00006180| 02 6d 01 31 00 3c 01 3f | 00 c4 00 2a 0e 15 41 47 |.m.1.<.?|...*..AG|
|00006190| 52 65 66 4e 75 6d 20 77 | 69 6c 6c 20 72 65 74 75 |RefNum w|ill retu|
|000061a0| 72 6e 20 00 00 03 00 16 | 00 a1 00 64 00 10 4f 4e |rn .....|...d..ON|
|000061b0| 4c 4e 00 64 02 82 01 31 | 00 c4 01 3d 01 49 00 29 |LN.d...1|...=.I.)|
|000061c0| 88 13 6b 41 47 45 72 72 | 49 6e 76 61 6c 69 64 52 |..kAGErr|InvalidR|
|000061d0| 65 66 4e 75 6d 00 00 03 | 00 10 00 a1 00 64 00 10 |efNum...|.....d..|
|000061e0| 4f 4e 4c 4e 00 64 02 95 | 01 31 01 49 01 3f 01 4c |ONLN.d..|.1.I.?.L|
|000061f0| 00 29 85 01 2e 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |.)......|.d..ONLN|
|00006200| 00 64 02 97 01 4b 00 3c | 01 59 01 f4 00 28 01 74 |.d...K.<|.Y...(.t|
|00006210| 00 5a 4c 4e 6f 74 65 3a | 20 54 68 69 73 20 66 75 |.ZLNote:| This fu|
|00006220| 6e 63 74 69 6f 6e 20 6d | 61 79 20 62 65 20 72 65 |nction m|ay be re|
|00006230| 6d 6f 76 65 64 20 6f 72 | 20 74 68 65 20 65 76 65 |moved or| the eve|
|00006240| 6e 74 20 6c 69 73 74 20 | 6d 61 79 20 63 68 61 6e |nt list |may chan|
|00006250| 67 65 20 62 65 66 6f 72 | 65 20 41 70 70 6c 65 00 |ge befor|e Apple.|
|00006260| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 e4 01 59 |...d..ON|LN.d...Y|
|00006270| 00 3c 01 67 00 c1 00 2a | 0e 19 47 75 69 64 65 20 |.<.g...*|..Guide |
|00006280| 31 2e 32 20 70 75 62 6c | 69 63 20 72 65 6c 65 61 |1.2 publ|ic relea|
|00006290| 73 65 2e 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |se.....d|..ONLN.d|
|000062a0| 02 fe 01 73 00 3c 01 81 | 00 7d 00 2a 1a 0b 45 72 |...s.<..|.}.*..Er|
|000062b0| 72 6f 72 20 43 6f 64 65 | 73 00 00 03 00 16 00 a1 |ror Code|s.......|
|000062c0| 00 64 00 10 4f 4e 4c 4e | 00 64 03 0a 01 8f 00 4e |.d..ONLN|.d.....N|
|000062d0| 01 9b 00 71 00 2b 12 1c | 05 6e 6f 45 72 72 00 a1 |...q.+..|.noErr..|
|000062e0| 00 64 00 10 4f 4e 4c 4e | 00 64 03 10 01 9b 00 4e |.d..ONLN|.d.....N|
|000062f0| 01 a7 00 e1 00 2a 0c 15 | 6b 41 47 45 72 72 44 61 |.....*..|kAGErrDa|
|00006300| 74 61 62 61 73 65 4e 6f | 74 4f 70 65 6e 00 00 a1 |tabaseNo|tOpen...|
|00006310| 00 64 00 10 4f 4e 4c 4e | 00 64 03 26 01 a7 00 4e |.d..ONLN|.d.&...N|
|00006320| 01 b3 00 d3 00 2a 0c 13 | 6b 41 47 45 72 72 49 6e |.....*..|kAGErrIn|
|00006330| 76 61 6c 69 64 52 65 66 | 4e 75 6d 00 00 03 00 10 |validRef|Num.....|
|00006340| 00 04 01 00 00 0d 00 0e | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00006350| 4c 4e 00 64 03 3a 01 cb | 00 3c 01 db 00 de 00 28 |LN.d.:..|.<.....(|
|00006360| 01 f6 00 5a 15 41 47 47 | 65 74 41 76 61 69 6c 61 |...Z.AGG|etAvaila|
|00006370| 62 6c 65 44 42 54 79 70 | 65 73 00 03 00 16 00 04 |bleDBTyp|es......|
|00006380| 00 00 00 0d 00 0c 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00006390| 00 64 03 50 01 e9 00 3c | 01 f5 01 62 00 2a 1c 2a |.d.P...<|...b.*.*|
|000063a0| 70 61 73 63 61 6c 20 55 | 49 6e 74 33 32 20 41 47 |pascal U|Int32 AG|
|000063b0| 47 65 74 41 76 61 69 6c | 61 62 6c 65 44 42 54 79 |GetAvail|ableDBTy|
|000063c0| 70 65 73 28 76 6f 69 64 | 29 3b 00 03 00 10 00 a1 |pes(void|);......|
|000063d0| 00 64 00 10 4f 4e 4c 4e | 00 64 03 7b 02 01 00 3c |.d..ONLN|.d.{...<|
|000063e0| 02 0f 01 fc 00 2a 18 55 | 52 65 74 75 72 6e 73 20 |.....*.U|Returns |
|000063f0| 61 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 6f 66 20 |a collec|tion of |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.