home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 February / macformat-047.iso / Shareware Plus / Developers / CLImax 1.0 / AppleScript and CLImax / Advanced AppleScript / Handlers to try / binary < prev    next >
MacBinary  |  1996-06-13  |  1.0 KB  |  [clpt/drag]

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: binary

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
100% file MacBinary II, Wed Apr 24 15:45:59 1996, modified Thu Jun 13 17:21:13 1996, creator 'drag', type 'clpt' "binary", at 0x80 884 bytes resource Apple HFS/HFS+ resource fork, map offset 0x31a, map length 0x5a, data length 0x21a, at 16 0x00000029, nextResourceMap 0x1618f04, fileRef 0xf10, list offset 0x1c, name offset 0x5a, 3 types, 0x54455854 'TEXT' * 1 resource offset 0x1a default (weak)
99% file data default
49% TrID Mac Text clippings (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[clpt]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 62 69 6e 61 72 79 | 00 00 00 00 00 00 00 00 |..binary|........|
|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 63 6c 70 74 64 72 61 | 67 00 00 00 00 00 00 00 |.clptdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 03 74 ad a4 35 77 ad |........|..t..5w.|
|00000060| e6 36 c9 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.6......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ce 0e 00 00 |........|........|
|00000080| 00 00 01 00 00 00 03 1a | 00 00 02 1a 00 00 00 5a |........|.......Z|
|00000090| 00 00 00 29 00 00 00 15 | 00 00 ff 6a 00 00 00 01 |...)....|...j....|
|000000a0| 00 20 00 00 00 00 00 00 | 00 2a 00 00 0c 76 00 12 |. ......|.*...v..|
|000000b0| 06 62 69 6e 61 72 79 62 | 02 00 00 00 63 6c 70 74 |.binaryb|....clpt|
|000000c0| 64 72 61 67 00 00 64 28 | 64 00 00 00 00 00 06 5c |drag..d(|d......\|
|000000d0| 00 00 63 6c 70 74 64 72 | 61 67 00 00 64 28 64 00 |..clptdr|ag..d(d.|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 ad a4 35 77 00 00 | 00 00 00 00 03 74 00 00 |....5w..|.....t..|
|00000100| 00 2d 00 00 28 8d 00 09 | f7 37 00 00 00 01 00 a0 |.-..(...|.7......|
|00000110| 00 00 00 00 00 00 00 2d | 00 00 04 99 00 0a 1f c4 |.......-|........|
|00000120| 00 00 00 02 00 a0 00 00 | 00 00 00 00 00 2d 00 00 |........|.....-..|
|00000130| 02 e1 00 0a 24 5d 00 00 | 00 03 00 a0 00 00 00 00 |....$]..|........|
|00000140| 00 00 00 2d 00 00 02 17 | 00 0a 27 3e 00 00 00 04 |...-....|..'>....|
|00000150| 00 a0 00 00 00 00 00 00 | 00 2d 00 00 06 59 00 0a |........|.-...Y..|
|00000160| 29 55 00 00 00 05 00 a0 | 00 00 00 00 00 00 00 2d |)U......|.......-|
|00000170| 00 00 02 ed 00 0a 2f ae | 00 00 00 06 00 a0 00 00 |....../.|........|
|00000180| 00 00 01 d8 6f 6e 20 62 | 69 6e 61 72 79 28 6e 75 |....on b|inary(nu|
|00000190| 6d 29 0d 20 69 66 20 28 | 6e 75 6d 3c 30 29 20 74 |m). if (|num<0) t|
|000001a0| 68 65 6e 20 72 65 74 75 | 72 6e 20 22 53 6f 72 72 |hen retu|rn "Sorr|
|000001b0| 79 2c 20 64 6f 6e 27 74 | 20 64 6f 20 6e 65 67 61 |y, don't| do nega|
|000001c0| 74 69 76 65 20 6e 75 6d | 62 65 72 73 2e 22 0d 20 |tive num|bers.". |
|000001d0| 0d 20 73 65 74 20 70 6f | 77 65 72 20 74 6f 20 30 |. set po|wer to 0|
|000001e0| 0d 20 73 65 74 20 66 61 | 63 74 6f 72 20 74 6f 20 |. set fa|ctor to |
|000001f0| 31 0d 20 72 65 70 65 61 | 74 20 77 68 69 6c 65 20 |1. repea|t while |
|00000200| 28 66 61 63 74 6f 72 2a | 32 29 20 3c 3d 20 6e 75 |(factor*|2) <= nu|
|00000210| 6d 0d 20 20 73 65 74 20 | 70 6f 77 65 72 20 74 6f |m. set |power to|
|00000220| 20 70 6f 77 65 72 20 2b | 20 31 0d 20 20 73 65 74 | power +| 1. set|
|00000230| 20 66 61 63 74 6f 72 20 | 74 6f 20 66 61 63 74 6f | factor |to facto|
|00000240| 72 20 2a 20 32 0d 20 65 | 6e 64 20 72 65 70 65 61 |r * 2. e|nd repea|
|00000250| 74 0d 20 0d 20 73 65 74 | 20 62 73 74 72 69 6e 67 |t. . set| bstring|
|00000260| 20 74 6f 20 22 22 0d 20 | 72 65 70 65 61 74 20 77 | to "". |repeat w|
|00000270| 68 69 6c 65 20 70 6f 77 | 65 72 20 3e 3d 20 30 0d |hile pow|er >= 0.|
|00000280| 20 20 69 66 20 28 6e 75 | 6d 20 3e 3d 20 66 61 63 | if (nu|m >= fac|
|00000290| 74 6f 72 29 0d 20 20 20 | 73 65 74 20 62 73 74 72 |tor). |set bstr|
|000002a0| 69 6e 67 20 74 6f 20 62 | 73 74 72 69 6e 67 20 26 |ing to b|string &|
|000002b0| 20 22 31 22 0d 20 20 20 | 73 65 74 20 6e 75 6d 20 | "1". |set num |
|000002c0| 74 6f 20 6e 75 6d 20 2d | 20 66 61 63 74 6f 72 0d |to num -| factor.|
|000002d0| 20 20 65 6c 73 65 0d 20 | 20 20 73 65 74 20 62 73 | else. | set bs|
|000002e0| 74 72 69 6e 67 20 74 6f | 20 62 73 74 72 69 6e 67 |tring to| bstring|
|000002f0| 20 26 20 22 30 22 0d 20 | 20 65 6e 64 20 69 66 0d | & "0". | end if.|
|00000300| 20 20 73 65 74 20 70 6f | 77 65 72 20 74 6f 20 70 | set po|wer to p|
|00000310| 6f 77 65 72 20 2d 20 31 | 0d 20 20 73 65 74 20 66 |ower - 1|. set f|
|00000320| 61 63 74 6f 72 20 74 6f | 20 66 61 63 74 6f 72 20 |actor to| factor |
|00000330| 2f 20 32 0d 20 65 6e 64 | 20 72 65 70 65 61 74 0d |/ 2. end| repeat.|
|00000340| 20 0d 20 72 65 74 75 72 | 6e 20 62 73 74 72 69 6e | . retur|n bstrin|
|00000350| 67 0d 65 6e 64 20 62 69 | 6e 61 72 79 00 00 00 20 |g.end bi|nary... |
|00000360| 00 00 00 01 00 00 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|00000370| 54 45 58 54 00 00 01 00 | 00 00 00 00 00 00 00 00 |TEXT....|........|
|00000380| 00 00 00 16 00 08 00 61 | 00 7b 01 4b 01 f5 69 78 |.......a|.{.K..ix|
|00000390| 00 01 ff f8 ff f0 00 03 | 01 84 00 00 01 00 00 00 |........|........|
|000003a0| 03 1a 00 00 02 1a 00 00 | 00 5a 01 61 8f 04 0f 10 |........|.Z.a....|
|000003b0| 00 00 00 1c 00 5a 00 02 | 54 45 58 54 00 00 00 1a |.....Z..|TEXT....|
|000003c0| 64 72 61 67 00 00 00 26 | 66 77 73 74 00 00 00 32 |drag...&|fwst...2|
|000003d0| 01 00 ff ff 00 00 00 00 | 00 00 00 00 00 80 ff ff |........|........|
|000003e0| 00 00 01 dc 00 00 00 00 | bf 4c ff ff 00 00 02 00 |........|.L......|
|000003f0| 00 30 86 b0 00 00 00 00 | 00 00 00 00 00 00 00 00 |.0......|........|
+--------+-------------------------+-------------------------+--------+--------+