/ MacWorld 1999 July
/ Macworld (1999-07).dmg / Shareware World / Info / For Developers / Mops 3.4.sea / Mops source / Module source / Utilmod.txt ![]() | < prev | next > |
MacBinary | 1995-07-06 | 2.4 KB | [TEXT/MSET] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Swift 3D 3D Graphic (poly/swift3D3DGraphic) | ext | Unsupported |
1% | dexvert | Boost Text serialization (other/boostTextSerialization) | ext | Unsupported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Thu Jul 6 21:58:09 1995, modified Thu Jul 6 21:58:09 1995, creator 'MSET', type ASCII, 1870 bytes "Utilmod.txt" , at 0x7ce 381 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [MSET] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 55 74 69 6c 6d 6f | 64 2e 74 78 74 00 00 00 |..Utilmo|d.txt...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 53 45 | 54 01 00 00 00 00 00 00 |.TEXTMSE|T.......|
|00000050| 00 00 00 00 00 07 4e 00 | 00 01 7d ac 22 45 31 ac |......N.|..}."E1.|
|00000060| 22 45 31 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |"E1.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 93 ed 00 00 |........|........|
|00000080| 5c 20 56 61 72 69 6f 75 | 73 20 75 74 69 6c 69 74 |\ Variou|s utilit|
|00000090| 69 65 73 0d 0d 0d 5c 20 | 43 6c 61 73 73 20 52 45 |ies...\ |Class RE|
|000000a0| 53 2b 20 61 64 64 73 20 | 6d 65 74 68 6f 64 73 20 |S+ adds |methods |
|000000b0| 74 6f 20 52 65 73 6f 75 | 72 63 65 20 74 6f 20 61 |to Resou|rce to a|
|000000c0| 6c 6c 6f 77 20 76 61 72 | 69 6f 75 73 20 6d 6f 64 |llow var|ious mod|
|000000d0| 69 66 69 63 61 74 69 6f | 6e 73 0d 5c 20 74 6f 20 |ificatio|ns.\ to |
|000000e0| 72 65 73 6f 75 72 63 65 | 73 2e 20 20 57 65 27 6c |resource|s. We'l|
|000000f0| 6c 20 70 75 74 20 6d 6f | 72 65 20 69 6e 20 61 73 |l put mo|re in as|
|00000100| 20 77 65 20 6e 65 65 64 | 20 74 68 65 6d 2e 0d 0d | we need| them...|
|00000110| 3a 20 43 48 4b 09 77 6f | 72 64 30 20 20 63 61 6c |: CHK.wo|rd0 cal|
|00000120| 6c 20 72 65 73 65 72 72 | 6f 72 20 20 69 2d 3e 6c |l reserr|or i->l|
|00000130| 20 20 3f 64 75 70 20 20 | 30 45 58 49 54 0d 09 2e | ?dup |0EXIT...|
|00000140| 22 20 72 65 73 6f 75 72 | 63 65 20 65 72 72 6f 72 |" resour|ce error|
|00000150| 23 20 22 20 2e 20 20 3b | 0d 0d 0d 3a 63 6c 61 73 |# " . ;|...:clas|
|00000160| 73 09 52 45 53 2b 09 73 | 75 70 65 72 28 09 72 65 |s.RES+.s|uper(.re|
|00000170| 73 6f 75 72 63 65 20 20 | 29 0d 0d 3a 6d 20 43 48 |source |)..:m CH|
|00000180| 41 4e 47 45 44 3a 0d 09 | 67 65 74 3a 20 73 65 6c |ANGED:..|get: sel|
|00000190| 66 20 20 63 61 6c 6c 20 | 43 68 61 6e 67 65 64 52 |f call |ChangedR|
|000001a0| 65 73 6f 75 72 63 65 20 | 20 3b 6d 0d 0d 3a 6d 20 |esource | ;m..:m |
|000001b0| 41 44 44 3a 20 20 7b 20 | 61 64 64 72 20 6c 65 6e |ADD: { |addr len|
|000001c0| 20 2d 2d 20 7d 0d 09 67 | 65 74 3a 20 73 65 6c 66 | -- }..g|et: self|
|000001d0| 0d 09 67 65 74 3a 20 72 | 65 73 54 79 70 65 20 20 |..get: r|esType |
|000001e0| 67 65 74 3a 20 49 44 20 | 20 6d 61 6b 65 69 6e 74 |get: ID | makeint|
|000001f0| 0d 09 61 64 64 72 20 6c | 65 6e 20 73 74 72 32 35 |..addr l|en str25|
|00000200| 35 20 20 63 61 6c 6c 20 | 41 64 64 52 65 73 6f 75 |5 call |AddResou|
|00000210| 72 63 65 20 20 63 68 6b | 20 20 3b 6d 0d 0d 3a 6d |rce chk| ;m..:m|
|00000220| 20 52 45 4d 4f 56 45 3a | 0d 09 67 65 74 3a 20 73 | REMOVE:|..get: s|
|00000230| 65 6c 66 20 20 63 61 6c | 6c 20 52 6d 76 65 52 65 |elf cal|l RmveRe|
|00000240| 73 6f 75 72 63 65 20 20 | 63 68 6b 20 20 3b 6d 0d |source |chk ;m.|
|00000250| 0d 3a 6d 20 53 45 54 41 | 54 54 52 53 3a 09 5c 20 |.:m SETA|TTRS:.\ |
|00000260| 28 20 6e 20 2d 2d 20 29 | 0d 09 67 65 74 3a 20 73 |( n -- )|..get: s|
|00000270| 65 6c 66 20 20 73 77 61 | 70 20 20 6d 61 6b 65 69 |elf swa|p makei|
|00000280| 6e 74 20 20 63 61 6c 6c | 20 53 65 74 52 65 73 41 |nt call| SetResA|
|00000290| 74 74 72 73 20 20 63 68 | 6b 0d 09 63 68 61 6e 67 |ttrs ch|k..chang|
|000002a0| 65 64 3a 20 73 65 6c 66 | 20 20 3b 6d 0d 0d 3b 63 |ed: self| ;m..;c|
|000002b0| 6c 61 73 73 0d 0d 09 73 | 74 72 69 6e 67 09 54 45 |lass...s|tring.TE|
|000002c0| 4d 50 24 0d 09 72 65 73 | 2b 09 54 45 4d 50 52 45 |MP$..res|+.TEMPRE|
|000002d0| 53 0d 0d 0d 3a 20 28 2e | 4d 4f 44 29 20 20 7b 20 |S...: (.|MOD) { |
|000002e0| 74 68 65 43 66 61 20 73 | 69 7a 65 20 5c 20 6d 6f |theCfa s|ize \ mo|
|000002f0| 64 4f 62 6a 20 2d 2d 20 | 7d 0d 09 74 68 65 43 66 |dObj -- |}..theCf|
|00000300| 61 20 20 6d 6f 64 3f 20 | 4e 49 46 20 20 64 72 6f |a mod? |NIF dro|
|00000310| 70 20 20 45 58 49 54 20 | 20 54 48 45 4e 0d 09 3e |p EXIT | THEN..>|
|00000320| 6f 62 6a 20 20 2d 3e 20 | 6d 6f 64 4f 62 6a 0d 09 |obj -> |modObj..|
|00000330| 63 72 20 20 30 20 2d 3e | 20 6f 75 74 20 20 2e 69 |cr 0 ->| out .i|
|00000340| 64 3a 20 5b 20 6d 6f 64 | 4f 62 6a 20 5d 0d 09 31 |d: [ mod|Obj ]..1|
|00000350| 35 20 6f 75 74 20 2d 20 | 20 73 70 61 63 65 73 0d |5 out - | spaces.|
|00000360| 09 62 61 73 65 3a 20 5b | 20 6d 6f 64 4f 62 6a 20 |.base: [| modObj |
|00000370| 5d 20 20 64 75 70 0d 09 | 4e 49 46 20 20 64 72 6f |] dup..|NIF dro|
|00000380| 70 20 20 2e 22 20 6e 6f | 74 20 6c 6f 61 64 65 64 |p ." no|t loaded|
|00000390| 22 20 20 45 4c 53 45 20 | 20 75 2e 68 20 20 54 48 |" ELSE | u.h TH|
|000003a0| 45 4e 0d 09 6b 65 65 70 | 3f 3a 20 5b 20 6d 6f 64 |EN..keep|?: [ mod|
|000003b0| 4f 62 6a 20 5d 09 49 46 | 20 20 74 79 70 65 23 20 |Obj ].IF| type# |
|000003c0| 31 37 34 20 28 20 2a 2a | 2a 20 4b 65 65 70 20 2a |174 ( **|* Keep *|
|000003d0| 2a 2a 20 29 20 20 54 48 | 45 4e 0d 09 6c 6f 63 6b |** ) TH|EN..lock|
|000003e0| 65 64 3f 3a 20 5b 20 6d | 6f 64 4f 62 6a 20 5d 09 |ed?: [ m|odObj ].|
|000003f0| 49 46 20 20 74 79 70 65 | 23 20 31 37 35 20 28 20 |IF type|# 175 ( |
|00000400| 2a 2a 2a 20 4c 6f 63 6b | 65 64 20 2a 2a 2a 20 29 |*** Lock|ed *** )|
|00000410| 20 20 54 48 45 4e 20 20 | 3b 0d 0d 3a 20 2e 4d 4f | THEN |;..: .MO|
|00000420| 44 53 09 09 5c 20 4c 69 | 73 74 73 20 6d 6f 64 75 |DS..\ Li|sts modu|
|00000430| 6c 65 73 20 61 6e 64 20 | 74 68 65 69 72 20 6c 6f |les and |their lo|
|00000440| 61 64 20 73 74 61 74 75 | 73 2e 0d 09 63 75 72 73 |ad statu|s...curs|
|00000450| 20 20 2d 63 75 72 73 0d | 09 5b 27 5d 20 28 2e 6d | -curs.|.['] (.m|
|00000460| 6f 64 29 20 20 30 20 74 | 72 61 76 0d 09 2d 3e 20 |od) 0 t|rav..-> |
|00000470| 63 75 72 73 20 63 72 20 | 3b 09 20 5c 20 33 31 4a |curs cr |;. \ 31J|
|00000480| 61 6e 39 34 20 44 42 48 | 20 20 20 45 6e 64 20 77 |an94 DBH| End w|
|00000490| 69 74 68 20 61 20 63 72 | 20 20 20 42 65 74 74 65 |ith a cr| Bette|
|000004a0| 72 20 66 6f 72 20 54 57 | 0d 0d 0d 3a 20 2e 4d 53 |r for TW|...: .MS|
|000004b0| 47 53 09 09 5c 20 4c 69 | 73 74 73 20 61 6c 6c 20 |GS..\ Li|sts all |
|000004c0| 65 72 72 6f 72 20 65 74 | 63 2e 20 6d 65 73 73 61 |error et|c. messa|
|000004d0| 67 65 73 20 61 6e 64 20 | 74 68 65 69 72 20 6e 75 |ges and |their nu|
|000004e0| 6d 62 65 72 73 2e 0d 09 | 33 30 30 20 2d 36 30 20 |mbers...|300 -60 |
|000004f0| 20 44 4f 0d 09 09 3f 70 | 61 75 73 65 20 63 72 0d | DO...?p|ause cr.|
|00000500| 09 09 69 20 2e 20 73 70 | 61 63 65 20 20 69 20 20 |..i . sp|ace i |
|00000510| 67 65 74 73 74 72 69 6e | 67 0d 09 09 64 75 70 20 |getstrin|g...dup |
|00000520| 49 46 20 20 74 79 70 65 | 20 20 45 4c 53 45 20 20 |IF type| ELSE |
|00000530| 32 64 72 6f 70 20 20 54 | 48 45 4e 0d 09 4c 4f 4f |2drop T|HEN..LOO|
|00000540| 50 20 20 3b 0d 0d 0d 3a | 20 41 44 44 4d 53 47 20 |P ;...:| ADDMSG |
|00000550| 20 7b 20 6d 73 67 23 20 | 61 64 64 72 20 6c 65 6e | { msg# |addr len|
|00000560| 20 2d 2d 20 7d 0d 09 6d | 73 67 23 20 67 65 74 73 | -- }..m|sg# gets|
|00000570| 74 72 69 6e 67 20 20 61 | 62 6f 72 74 22 20 6e 75 |tring a|bort" nu|
|00000580| 6d 62 65 72 20 61 6c 72 | 65 61 64 79 20 61 73 73 |mber alr|eady ass|
|00000590| 69 67 6e 65 64 22 20 20 | 64 72 6f 70 0d 09 61 64 |igned" |drop..ad|
|000005a0| 64 72 20 20 70 61 64 20 | 31 2b 20 20 6c 65 6e 20 |dr pad |1+ len |
|000005b0| 20 63 6d 6f 76 65 0d 09 | 6c 65 6e 20 70 61 64 20 | cmove..|len pad |
|000005c0| 63 21 0d 09 6e 65 77 3a | 20 74 65 6d 70 24 0d 09 |c!..new:| temp$..|
|000005d0| 70 61 64 20 20 6c 65 6e | 20 31 2b 20 20 70 75 74 |pad len| 1+ put|
|000005e0| 3a 20 74 65 6d 70 24 0d | 09 27 74 79 70 65 20 53 |: temp$.|.'type S|
|000005f0| 54 52 20 20 20 6d 73 67 | 23 20 20 73 65 74 3a 20 |TR msg|# set: |
|00000600| 74 65 6d 70 52 65 73 20 | 20 68 61 6e 64 6c 65 3a |tempRes | handle:|
|00000610| 20 74 65 6d 70 24 20 20 | 70 75 74 3a 20 74 65 6d | temp$ |put: tem|
|00000620| 70 52 65 73 0d 09 30 20 | 30 20 20 61 64 64 3a 20 |pRes..0 |0 add: |
|00000630| 74 65 6d 70 52 65 73 0d | 09 24 20 32 30 20 20 73 |tempRes.|.$ 20 s|
|00000640| 65 74 41 74 74 72 73 3a | 20 74 65 6d 70 52 65 73 |etAttrs:| tempRes|
|00000650| 20 20 3b 0d 0d 3a 20 52 | 45 4d 4f 56 45 4d 53 47 | ;..: R|EMOVEMSG|
|00000660| 20 20 7b 20 6d 73 67 23 | 20 2d 2d 20 7d 0d 09 6d | { msg#| -- }..m|
|00000670| 73 67 23 20 67 65 74 73 | 74 72 69 6e 67 20 20 6e |sg# gets|tring n|
|00000680| 69 70 20 20 30 45 58 49 | 54 0d 09 27 74 79 70 65 |ip 0EXI|T..'type|
|00000690| 20 53 54 52 20 20 20 6d | 73 67 23 20 20 73 65 74 | STR m|sg# set|
|000006a0| 3a 20 74 65 6d 70 52 65 | 73 20 20 67 65 74 6e 65 |: tempRe|s getne|
|000006b0| 77 3a 20 74 65 6d 70 52 | 65 73 0d 09 72 65 6d 6f |w: tempR|es..remo|
|000006c0| 76 65 3a 20 74 65 6d 70 | 52 65 73 20 20 72 65 6c |ve: temp|Res rel|
|000006d0| 65 61 73 65 3a 20 74 65 | 6d 70 52 65 73 20 20 3b |ease: te|mpRes ;|
|000006e0| 0d 0d 0d 3a 20 47 45 54 | 49 4e 44 53 54 52 20 20 |...: GET|INDSTR |
|000006f0| 7b 20 72 65 73 49 44 20 | 69 64 78 20 5c 20 61 64 |{ resID |idx \ ad|
|00000700| 64 72 20 2d 2d 20 61 64 | 64 72 20 6c 65 6e 20 7d |dr -- ad|dr len }|
|00000710| 0d 09 6f 70 65 6e 4d 52 | 0d 09 27 74 79 70 65 20 |..openMR|..'type |
|00000720| 53 54 52 23 20 20 72 65 | 73 49 44 20 20 67 65 74 |STR# re|sID get|
|00000730| 52 65 73 20 20 64 75 70 | 20 4e 49 46 20 20 30 20 |Res dup| NIF 0 |
|00000740| 20 45 58 49 54 20 20 54 | 48 45 4e 0d 09 28 20 68 | EXIT T|HEN..( h|
|00000750| 61 6e 64 6c 65 20 29 20 | 20 40 20 20 2d 3e 20 61 |andle ) | @ -> a|
|00000760| 64 64 72 0d 09 69 64 78 | 20 20 61 64 64 72 20 77 |ddr..idx| addr w|
|00000770| 40 20 20 3e 3d 20 20 49 | 46 20 20 30 20 30 20 20 |@ >= I|F 0 0 |
|00000780| 45 58 49 54 20 20 54 48 | 45 4e 0d 09 32 20 2b 2b |EXIT TH|EN..2 ++|
|00000790| 3e 20 61 64 64 72 0d 09 | 69 64 78 20 30 20 3f 44 |> addr..|idx 0 ?D|
|000007a0| 4f 20 20 61 64 64 72 20 | 63 6f 75 6e 74 20 2b 20 |O addr |count + |
|000007b0| 20 2d 3e 20 61 64 64 72 | 20 20 4c 4f 4f 50 0d 09 | -> addr| LOOP..|
|000007c0| 61 64 64 72 20 63 6f 75 | 6e 74 20 20 3b 0d 00 00 |addr cou|nt ;...|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 42 | 00 00 00 42 00 00 00 3b |.......B|...B...;|
|00000810| 00 00 00 27 00 01 00 00 | 00 00 00 00 00 00 ff ff |...'....|........|
|00000820| ff fb 01 14 0b 41 62 6f | 75 74 20 4d 6f 70 73 c9 |.....Abo|ut Mops.|
|00000830| 0b 55 74 69 6c 6d 6f 64 | 2e 74 78 74 02 00 00 00 |.Utilmod|.txt....|
|00000840| 50 61 72 74 53 49 54 21 | 00 00 00 00 00 00 00 00 |PartSIT!|........|
|00000850| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 b3 66 c2 72 00 00 | 00 00 00 00 01 7d 6e 61 |...f.r..|.....}na|
|00000880| 72 79 20 41 73 2e 2e 2e | 00 41 00 00 08 50 72 69 |ry As...|.A...Pri|
|00000890| 6e 74 2e 2e 2e 00 48 00 | 00 04 51 75 69 74 00 51 |nt....H.|..Quit.Q|
|000008a0| 00 00 00 00 00 00 48 00 | 03 00 7d 00 c0 00 00 ce |......H.|..}.....|
|000008b0| c4 00 00 7b 7b 04 45 64 | 69 74 04 55 6e 64 6f 00 |...{{.Ed|it.Undo.|
|000008c0| 00 00 00 01 2d 00 00 00 | 00 03 43 75 74 00 58 00 |....-...|..Cut.X.|
|000008d0| 00 04 43 6f 70 79 00 43 | 00 00 05 50 61 73 74 65 |..Copy.C|...Paste|
|000008e0| 00 56 00 00 05 43 6c 65 | 61 72 00 00 00 00 00 00 |.V...Cle|ar......|
|000008f0| 00 00 62 00 04 00 00 00 | 00 00 00 00 00 ff ff ff |..b.....|........|
|00000900| 00 00 00 3e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...>....|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 03 6f |........|.......o|
|00000930| 00 00 03 6f 00 00 00 00 | 00 00 00 00 00 00 00 00 |...o....|........|
|00000940| 00 00 00 00 01 00 00 00 | 01 42 00 00 00 42 00 00 |........|.B...B..|
|00000950| 00 3b 01 20 af 08 12 bc | 00 00 00 1c 00 32 00 00 |.;. ....|.....2..|
|00000960| 4d 49 46 4f 00 00 00 0a | 00 80 00 00 00 00 00 00 |MIFO....|........|
|00000970| 01 20 b7 6c 08 4d 69 73 | 63 49 6e 66 6f 00 00 00 |. .l.Mis|cInfo...|
+--------+-------------------------+-------------------------+--------+--------+