/ MacFormat 1997 February
/ macformat-047.iso / Shareware Plus / Developers / CLImax 1.0 / AppleScript and CLImax / Advanced AppleScript / Handlers to try / binary / binary.rsrc ![]() |
MacOS Resource Fork | 1996-06-13 | 966 b | [clpt/drag] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
100% | dexvert | MacOS Resource Fork (archive/rsrc) | magic | Supported |
10% | dexvert | Jesper Olsen Module (music/jesperOlsen) | magic | Supported |
1% | dexvert | BeOS Resource Data (archive/beOSResourceData) | ext | Unsupported |
1% | dexvert | AppleSingle (archive/appleSingle) | fallback | Supported |
1% | dexvert | TTComp Archive (archive/ttcomp) | fallback | Supported |
100% | file | AppleDouble encoded Macintosh file | default | |
99% | file | data | default | |
66% | TrID | Mac AppleDouble encoded | default | |
33% | TrID | TTComp archive compressed (bin-2K) | default (weak) | |
100% | siegfried | fmt/503 AppleDouble Resource Fork (2) | default | |
100% | lsar | AppleSingle | default |
id metadata | |
---|---|
key | value |
macFileType | [clpt] |
macFileCreator | [drag] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 03 74 63 6c 70 74 64 72 | 61 67 00 00 00 00 00 00 |.tclptdr|ag......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 03 1a 00 00 02 1a 00 00 |........|........|
|00000060| 00 5a 00 00 00 29 00 00 | 00 15 00 00 ff 6a 00 00 |.Z...)..|.....j..|
|00000070| 00 01 00 20 00 00 00 00 | 00 00 00 2a 00 00 0c 76 |... ....|...*...v|
|00000080| 00 12 06 62 69 6e 61 72 | 79 62 02 00 00 00 63 6c |...binar|yb....cl|
|00000090| 70 74 64 72 61 67 00 00 | 64 28 64 00 00 00 00 00 |ptdrag..|d(d.....|
|000000a0| 06 5c 00 00 63 6c 70 74 | 64 72 61 67 00 00 64 28 |.\..clpt|drag..d(|
|000000b0| 64 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |d.......|........|
|000000c0| 00 00 00 00 ad a4 35 77 | 00 00 00 00 00 00 03 74 |......5w|.......t|
|000000d0| 00 00 00 2d 00 00 28 8d | 00 09 f7 37 00 00 00 01 |...-..(.|...7....|
|000000e0| 00 a0 00 00 00 00 00 00 | 00 2d 00 00 04 99 00 0a |........|.-......|
|000000f0| 1f c4 00 00 00 02 00 a0 | 00 00 00 00 00 00 00 2d |........|.......-|
|00000100| 00 00 02 e1 00 0a 24 5d | 00 00 00 03 00 a0 00 00 |......$]|........|
|00000110| 00 00 00 00 00 2d 00 00 | 02 17 00 0a 27 3e 00 00 |.....-..|....'>..|
|00000120| 00 04 00 a0 00 00 00 00 | 00 00 00 2d 00 00 06 59 |........|...-...Y|
|00000130| 00 0a 29 55 00 00 00 05 | 00 a0 00 00 00 00 00 00 |..)U....|........|
|00000140| 00 2d 00 00 02 ed 00 0a | 2f ae 00 00 00 06 00 a0 |.-......|/.......|
|00000150| 00 00 00 00 01 d8 6f 6e | 20 62 69 6e 61 72 79 28 |......on| binary(|
|00000160| 6e 75 6d 29 0d 20 69 66 | 20 28 6e 75 6d 3c 30 29 |num). if| (num<0)|
|00000170| 20 74 68 65 6e 20 72 65 | 74 75 72 6e 20 22 53 6f | then re|turn "So|
|00000180| 72 72 79 2c 20 64 6f 6e | 27 74 20 64 6f 20 6e 65 |rry, don|'t do ne|
|00000190| 67 61 74 69 76 65 20 6e | 75 6d 62 65 72 73 2e 22 |gative n|umbers."|
|000001a0| 0d 20 0d 20 73 65 74 20 | 70 6f 77 65 72 20 74 6f |. . set |power to|
|000001b0| 20 30 0d 20 73 65 74 20 | 66 61 63 74 6f 72 20 74 | 0. set |factor t|
|000001c0| 6f 20 31 0d 20 72 65 70 | 65 61 74 20 77 68 69 6c |o 1. rep|eat whil|
|000001d0| 65 20 28 66 61 63 74 6f | 72 2a 32 29 20 3c 3d 20 |e (facto|r*2) <= |
|000001e0| 6e 75 6d 0d 20 20 73 65 | 74 20 70 6f 77 65 72 20 |num. se|t power |
|000001f0| 74 6f 20 70 6f 77 65 72 | 20 2b 20 31 0d 20 20 73 |to power| + 1. s|
|00000200| 65 74 20 66 61 63 74 6f | 72 20 74 6f 20 66 61 63 |et facto|r to fac|
|00000210| 74 6f 72 20 2a 20 32 0d | 20 65 6e 64 20 72 65 70 |tor * 2.| end rep|
|00000220| 65 61 74 0d 20 0d 20 73 | 65 74 20 62 73 74 72 69 |eat. . s|et bstri|
|00000230| 6e 67 20 74 6f 20 22 22 | 0d 20 72 65 70 65 61 74 |ng to ""|. repeat|
|00000240| 20 77 68 69 6c 65 20 70 | 6f 77 65 72 20 3e 3d 20 | while p|ower >= |
|00000250| 30 0d 20 20 69 66 20 28 | 6e 75 6d 20 3e 3d 20 66 |0. if (|num >= f|
|00000260| 61 63 74 6f 72 29 0d 20 | 20 20 73 65 74 20 62 73 |actor). | set bs|
|00000270| 74 72 69 6e 67 20 74 6f | 20 62 73 74 72 69 6e 67 |tring to| bstring|
|00000280| 20 26 20 22 31 22 0d 20 | 20 20 73 65 74 20 6e 75 | & "1". | set nu|
|00000290| 6d 20 74 6f 20 6e 75 6d | 20 2d 20 66 61 63 74 6f |m to num| - facto|
|000002a0| 72 0d 20 20 65 6c 73 65 | 0d 20 20 20 73 65 74 20 |r. else|. set |
|000002b0| 62 73 74 72 69 6e 67 20 | 74 6f 20 62 73 74 72 69 |bstring |to bstri|
|000002c0| 6e 67 20 26 20 22 30 22 | 0d 20 20 65 6e 64 20 69 |ng & "0"|. end i|
|000002d0| 66 0d 20 20 73 65 74 20 | 70 6f 77 65 72 20 74 6f |f. set |power to|
|000002e0| 20 70 6f 77 65 72 20 2d | 20 31 0d 20 20 73 65 74 | power -| 1. set|
|000002f0| 20 66 61 63 74 6f 72 20 | 74 6f 20 66 61 63 74 6f | factor |to facto|
|00000300| 72 20 2f 20 32 0d 20 65 | 6e 64 20 72 65 70 65 61 |r / 2. e|nd repea|
|00000310| 74 0d 20 0d 20 72 65 74 | 75 72 6e 20 62 73 74 72 |t. . ret|urn bstr|
|00000320| 69 6e 67 0d 65 6e 64 20 | 62 69 6e 61 72 79 00 00 |ing.end |binary..|
|00000330| 00 20 00 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |. ......|........|
|00000340| 00 01 54 45 58 54 00 00 | 01 00 00 00 00 00 00 00 |..TEXT..|........|
|00000350| 00 00 00 00 00 16 00 08 | 00 61 00 7b 01 4b 01 f5 |........|.a.{.K..|
|00000360| 69 78 00 01 ff f8 ff f0 | 00 03 01 84 00 00 01 00 |ix......|........|
|00000370| 00 00 03 1a 00 00 02 1a | 00 00 00 5a 01 61 8f 04 |........|...Z.a..|
|00000380| 0f 10 00 00 00 1c 00 5a | 00 02 54 45 58 54 00 00 |.......Z|..TEXT..|
|00000390| 00 1a 64 72 61 67 00 00 | 00 26 66 77 73 74 00 00 |..drag..|.&fwst..|
|000003a0| 00 32 01 00 ff ff 00 00 | 00 00 00 00 00 00 00 80 |.2......|........|
|000003b0| ff ff 00 00 01 dc 00 00 | 00 00 bf 4c ff ff 00 00 |........|...L....|
|000003c0| 02 00 00 30 86 b0 | |...0.. | |
+--------+-------------------------+-------------------------+--------+--------+