home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 Christmas / macformat-045.iso / Shareware Plus / Developers / enteract-377 / enteract-377.sit / EnterAct Stuff / Drag_on Modules / hAWK example progs / $StringCommentAlign < prev    next >
MacBinary  |  1994-01-26  |  1.3 KB  |  [TEXT/KEEN]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Jan 26 10:44:26 1994, modified Wed Jan 26 10:44:26 1994, creator 'KEEN', type ASCII, 585 bytes "$StringCommentAlign" , at 0x2c9 499 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KEEN]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 24 53 74 72 69 6e | 67 43 6f 6d 6d 65 6e 74 |..$Strin|gComment|
|00000010| 41 6c 69 67 6e 00 00 00 | 00 00 00 00 00 00 00 00 |Align...|........|
|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 4b 45 45 | 4e 01 00 00 00 00 00 00 |.TEXTKEE|N.......|
|00000050| 00 00 00 00 00 02 49 00 | 00 01 f3 a9 6c 40 5a a9 |......I.|....l@Z.|
|00000060| 6c 40 5a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |l@Z.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e7 dc 00 00 |........|........|
|00000080| 23 24 53 74 72 69 6e 67 | 43 6f 6d 6d 65 6e 74 41 |#$String|CommentA|
|00000090| 6c 69 67 6e 0d 23 2d 69 | 6e 70 75 74 20 66 72 6f |lign.#-i|nput fro|
|000000a0| 6d 20 6c 69 6e 65 73 20 | 69 6e 20 61 20 73 74 72 |m lines |in a str|
|000000b0| 69 6e 67 20 61 72 72 61 | 79 2c 20 6f 66 20 74 68 |ing arra|y, of th|
|000000c0| 65 20 66 6f 72 6d 0d 23 | 09 22 73 74 72 69 6e 67 |e form.#|."string|
|000000d0| 22 2c 20 2f 2a 63 6f 6d | 6d 65 6e 74 2a 2f 0d 23 |", /*com|ment*/.#|
|000000e0| 6f 6e 65 20 65 6e 74 72 | 79 20 70 65 72 20 6c 69 |one entr|y per li|
|000000f0| 6e 65 2e 20 4e 75 64 67 | 65 20 63 6f 6d 6d 65 6e |ne. Nudg|e commen|
|00000100| 74 73 20 74 6f 20 6c 69 | 6e 65 20 74 68 65 6d 20 |ts to li|ne them |
|00000110| 75 70 20 6e 69 63 65 6c | 79 2e 0d 0d 09 09 7b 09 |up nicel|y.....{.|
|00000120| 0d 09 09 6d 61 74 63 68 | 28 24 30 2c 20 2f 22 2e |...match|($0, /".|
|00000130| 2a 2c 2f 29 0d 09 09 6f | 6e 65 5b 2b 2b 6e 5d 20 |*,/)...o|ne[++n] |
|00000140| 3d 20 73 75 62 73 74 72 | 28 24 30 2c 20 52 53 54 |= substr|($0, RST|
|00000150| 41 52 54 2c 20 52 4c 45 | 4e 47 54 48 29 0d 09 09 |ART, RLE|NGTH)...|
|00000160| 6d 61 74 63 68 28 24 30 | 2c 20 2f 5c 2f 5c 2a 2e |match($0|, /\/\*.|
|00000170| 2a 5c 2a 5c 2f 2f 29 0d | 09 09 74 77 6f 5b 6e 5d |*\*\//).|..two[n]|
|00000180| 20 3d 20 73 75 62 73 74 | 72 28 24 30 2c 20 52 53 | = subst|r($0, RS|
|00000190| 54 41 52 54 2c 20 52 4c | 45 4e 47 54 48 29 0d 09 |TART, RL|ENGTH)..|
|000001a0| 09 0d 09 09 69 66 20 28 | 77 31 20 3c 20 6c 65 6e |....if (|w1 < len|
|000001b0| 67 74 68 28 6f 6e 65 5b | 6e 5d 29 29 0d 09 09 09 |gth(one[|n]))....|
|000001c0| 77 31 20 3d 20 6c 65 6e | 67 74 68 28 6f 6e 65 5b |w1 = len|gth(one[|
|000001d0| 6e 5d 29 0d 09 09 69 66 | 20 28 77 32 20 3c 20 6c |n])...if| (w2 < l|
|000001e0| 65 6e 67 74 68 28 74 77 | 6f 5b 6e 5d 29 29 0d 09 |ength(tw|o[n]))..|
|000001f0| 09 09 77 32 20 3d 20 6c | 65 6e 67 74 68 28 74 77 |..w2 = l|ength(tw|
|00000200| 6f 5b 6e 5d 29 0d 0d 09 | 09 7d 0d 09 45 4e 44 09 |o[n])...|.}..END.|
|00000210| 7b 77 31 20 2b 3d 20 32 | 3b 20 77 32 20 2b 3d 20 |{w1 += 2|; w2 += |
|00000220| 32 3b 23 61 20 63 6f 75 | 70 6c 65 20 6f 66 20 73 |2;#a cou|ple of s|
|00000230| 70 61 63 65 73 20 62 65 | 74 77 65 65 6e 20 63 6f |paces be|tween co|
|00000240| 6c 75 6d 6e 73 0d 09 09 | 66 6f 72 20 28 69 20 3d |lumns...|for (i =|
|00000250| 20 31 3b 20 69 20 3c 3d | 20 6e 3b 20 2b 2b 69 29 | 1; i <=| n; ++i)|
|00000260| 0d 09 09 09 23 23 70 72 | 69 6e 74 66 20 22 25 2d |....##pr|intf "%-|
|00000270| 22 20 77 31 20 22 73 22 | 20 22 25 2d 22 20 77 32 |" w1 "s"| "%-" w2|
|00000280| 20 22 73 5c 6e 22 2c 20 | 6f 6e 65 5b 69 5d 2c 20 | "s\n", |one[i], |
|00000290| 74 77 6f 5b 69 5d 0d 09 | 09 09 70 72 69 6e 74 66 |two[i]..|..printf|
|000002a0| 20 22 25 2d 22 20 77 31 | 20 22 73 22 20 22 25 2d | "%-" w1| "s" "%-|
|000002b0| 73 5c 6e 22 2c 20 6f 6e | 65 5b 69 5d 2c 20 74 77 |s\n", on|e[i], tw|
|000002c0| 6f 5b 69 5d 0d 09 09 7d | 0d 00 00 00 00 00 00 00 |o[i]...}|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 01 00 00 00 01 71 | 00 00 00 71 00 00 00 82 |.......q|...q....|
|00000310| 22 2c 09 2f 2a 20 65 55 | 70 41 4c 69 6e 65 20 2a |",./* eU|pALine *|
|00000320| 2f 0d 22 22 2c 09 2f 2a | 20 65 44 6f 77 6e 41 4c |/."",./*| eDownAL|
|00000330| 13 24 53 74 72 69 6e 67 | 43 6f 6d 6d 65 6e 74 41 |.$String|CommentA|
|00000340| 6c 69 67 6e 02 00 00 00 | 54 45 58 54 4b 45 45 4e |lign....|TEXTKEEN|
|00000350| 00 00 54 45 58 54 4b 45 | 45 4e 01 00 00 4e 00 c0 |..TEXTKE|EN...N..|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 a9 6b fa 09 00 00 | 02 49 00 00 01 f3 65 47 |...k....|.I....eG|
|00000380| 6f 42 6f 74 74 6f 6d 20 | 2a 2f 0d 22 22 2c 09 2f |oBottom |*/."",./|
|00000390| 2a 20 65 47 6f 54 6f 20 | 2a 2f 0d 22 22 2c 09 2f |* eGoTo |*/."",./|
|000003a0| 2a 20 65 47 6f 42 61 63 | 6b 20 2a 2f 0d 22 22 2c |* eGoBac|k */."",|
|000003b0| 09 2f 2a 20 65 4e 75 6d | 4c 6f 6f 6b 55 70 73 20 |./* eNum|LookUps |
|000003c0| 2a 2f 0d 22 22 2c 09 2f | 2a 20 65 4e 75 6d 45 6e |*/."",./|* eNumEn|
|000003d0| 74 72 69 65 73 20 2a 2f | 0d 22 22 2c 09 2f 2a 20 |tries */|."",./* |
|000003e0| 65 4a 75 73 74 20 2a 2f | 0d 22 22 2c 09 2f 2a 20 |eJust */|."",./* |
|000003f0| 65 4e 75 6d 4a 75 73 74 | 43 68 61 72 73 20 2a 2f |eNumJust|Chars */|
|00000400| 00 00 00 43 00 01 01 01 | 00 00 00 00 3a 2d 66 52 |...C....|....:-fR|
|00000410| 6f 64 69 6d 65 3a 54 20 | 43 20 35 3a 54 48 49 4e |odime:T |C 5:THIN|
|00000420| 4b 20 43 20 35 2e 30 20 | 46 6f 6c 64 65 72 3a 4a |K C 5.0 |Folder:J|
|00000430| 75 6e 6b 3a 24 53 74 72 | 69 6e 67 43 6f 6d 6d 65 |unk:$Str|ingComme|
|00000440| 6e 74 41 6c 69 67 6e 00 | 00 00 04 00 06 00 04 00 |ntAlign.|........|
|00000450| 00 00 0a 00 09 06 4d 6f | 6e 61 63 6f 00 00 00 00 |......Mo|naco....|
|00000460| 04 a9 6b fa 0a 00 00 00 | 08 00 41 00 0a 01 32 01 |..k.....|..A...2.|
|00000470| e6 00 00 01 00 00 00 01 | 71 00 00 00 71 00 00 00 |........|q...q...|
|00000480| 82 00 18 d6 56 05 e2 00 | 00 00 1c 00 82 00 04 48 |....V...|.......H|
|00000490| 41 57 4b 00 00 00 2a 45 | 54 41 42 00 00 00 36 45 |AWK...*E|TAB...6E|
|000004a0| 46 4e 54 00 00 00 42 4a | 41 47 5a 00 00 00 4e 57 |FNT...BJ|AGZ...NW|
|000004b0| 53 49 5a 00 00 00 5a 03 | f3 ff ff 00 00 00 00 00 |SIZ...Z.|........|
|000004c0| 00 00 00 03 ec ff ff 00 | 00 00 47 00 18 d4 7a 03 |........|..G...z.|
|000004d0| eb ff ff 00 00 00 4f 00 | 18 d4 56 03 ed ff ff 00 |......O.|..V.....|
|000004e0| 00 00 5d 00 18 d5 5e 03 | ee ff ff 00 00 00 65 00 |..]...^.|......e.|
|000004f0| 18 d5 6e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..n.....|........|
+--------+-------------------------+-------------------------+--------+--------+