home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 4 / AACD04.ISO / AACD / Programming / CanDo / Decks3 / TimeSort / SortTest < prev   
CanDo Deck  |  1990-01-13  |  4.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: CanDo Deck (document/canDoDeck).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert CanDo Deck (document/canDoDeck) magic Unsupported
100% file IFF data default (weak)
99% file data default
35% TrID CanDo Deck (v1) default
35% TrID CanDo Deck (generic) default
28% TrID Generic IFF container default (weak)
100% dexmagic Generic IFF FORM file DECK default (weak)
100% gt2 IFF Datei default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 4f 52 4d 00 00 0f f2 | 44 45 43 4b 41 4e 4e 4f |FORM....|DECKANNO|
|00000010| 00 00 00 10 41 56 2d 31 | 20 54 6f 6b 65 6e 73 20 |....AV-1| Tokens |
|00000020| 56 31 00 00 4e 41 4d 45 | 00 00 00 0a 53 6f 72 74 |V1..NAME|....Sort|
|00000030| 54 65 73 74 00 00 43 41 | 52 44 00 00 08 e4 54 68 |Test..CA|RD....Th|
|00000040| 65 4f 6e 6c 79 43 61 72 | 64 00 82 02 00 00 00 14 |eOnlyCar|d.......|
|00000050| 00 00 00 63 00 01 01 80 | 00 03 54 69 6d 65 73 00 |...c....|..Times.|
|00000060| 00 00 00 18 00 00 00 14 | 00 02 01 00 00 03 54 79 |........|......Ty|
|00000070| 70 65 54 69 6d 65 73 00 | c3 98 55 73 65 72 57 69 |peTimes.|..UserWi|
|00000080| 6e 64 6f 77 00 00 82 06 | 00 00 00 18 00 00 02 79 |ndow....|.......y|
|00000090| 00 03 02 80 00 08 00 00 | 00 00 00 08 00 00 00 0a |........|........|
|000000a0| 00 00 00 18 00 00 02 7f | 00 04 02 80 00 08 00 00 |........|........|
|000000b0| 02 80 00 08 00 00 00 64 | 00 00 00 2c 00 00 02 86 |.......d|...,....|
|000000c0| 00 05 01 80 00 03 20 54 | 69 6d 65 73 20 53 6f 72 |...... T|imes Sor|
|000000d0| 74 69 6e 67 20 44 65 6d | 6f 6e 73 74 72 61 74 69 |ting Dem|onstrati|
|000000e0| 6f 6e 20 00 00 00 00 12 | 00 00 02 78 00 06 01 80 |on .....|...x....|
|000000f0| 00 08 00 00 00 04 00 00 | 00 1e 00 00 02 61 00 07 |........|.....a..|
|00000100| 03 80 00 08 00 00 00 00 | 00 08 00 00 00 01 80 08 |........|........|
|00000110| 00 00 00 00 00 00 00 12 | 00 00 02 8a 00 08 01 80 |........|........|
|00000120| 00 04 00 00 00 0e 00 00 | 00 12 00 00 02 89 00 09 |........|........|
|00000130| 01 80 00 04 00 03 10 00 | 00 00 00 18 00 00 02 88 |........|........|
|00000140| 00 0a 02 00 00 04 80 00 | 00 00 80 04 00 00 00 01 |........|........|
|00000150| 82 17 00 00 00 0c 00 00 | 00 7f 00 01 00 00 c3 85 |........|........|
|00000160| 41 62 6f 75 74 42 75 74 | 74 6f 6e 00 82 06 00 00 |AboutBut|ton.....|
|00000170| 00 18 00 00 02 79 00 03 | 02 80 00 08 00 00 00 10 |.....y..|........|
|00000180| 00 08 00 00 00 28 00 00 | 00 1a 00 00 02 65 00 04 |.....(..|.....e..|
|00000190| 02 80 00 03 74 6f 70 61 | 7a 00 00 08 00 00 00 08 |....topa|z.......|
|000001a0| 00 00 00 1e 00 00 02 81 | 00 05 03 80 00 04 80 00 |........|........|
|000001b0| 00 00 80 08 00 00 00 02 | 80 08 00 00 00 03 00 00 |........|........|
|000001c0| 00 1e 00 00 02 84 00 06 | 03 80 00 08 00 00 00 01 |........|........|
|000001d0| 80 08 00 00 00 00 80 04 | 00 00 00 01 00 00 00 1e |........|........|
|000001e0| 00 00 02 83 00 07 01 80 | 00 03 41 62 6f 75 74 20 |........|..About |
|000001f0| 74 68 69 73 20 44 65 63 | 6b 00 00 00 00 1e 00 00 |this Dec|k.......|
|00000200| 02 5c 00 08 03 80 00 04 | 00 00 00 08 80 08 00 00 |.\......|........|
|00000210| 00 01 80 08 00 00 00 02 | 00 00 00 12 00 00 02 67 |........|.......g|
|00000220| 00 09 01 80 00 04 00 00 | 00 04 00 00 00 12 00 00 |........|........|
|00000230| 02 5e 00 0a 01 00 00 04 | 80 00 00 00 82 20 00 00 |.^......|..... ..|
|00000240| 00 32 00 00 00 41 00 01 | 02 84 00 02 4e 6f 74 20 |.2...A..|....Not |
|00000250| 42 65 65 6e 48 65 72 65 | 00 00 10 00 09 09 3b 66 |BeenHere|......;f|
|00000260| 69 72 73 74 20 74 69 6d | 65 20 68 65 72 65 00 00 |irst tim|e here..|
|00000270| 00 00 00 1e 00 00 00 53 | 00 02 01 80 00 02 42 65 |.......S|......Be|
|00000280| 65 6e 48 65 72 65 20 3d | 20 54 52 55 45 00 00 00 |enHere =| TRUE...|
|00000290| 00 1a 00 00 00 11 00 03 | 01 80 00 03 53 6f 72 74 |........|....Sort|
|000002a0| 42 75 74 74 6f 6e 00 00 | 00 00 00 14 00 00 00 63 |Button..|.......c|
|000002b0| 00 04 01 80 00 03 54 69 | 6d 65 73 00 00 00 00 4a |......Ti|mes....J|
|000002c0| 00 00 00 c4 00 05 02 80 | 00 03 54 68 69 73 20 69 |........|..This i|
|000002d0| 73 20 61 20 68 61 63 6b | 20 66 6f 72 20 73 6f 72 |s a hack| for sor|
|000002e0| 74 69 6e 67 20 74 69 6d | 65 73 2e 20 20 54 68 65 |ting tim|es. The|
|000002f0| 20 61 63 74 75 61 6c 20 | 73 6f 72 74 69 6e 67 00 | actual |sorting.|
|00000300| 80 04 00 00 00 01 00 00 | 00 48 00 00 00 c4 00 06 |........|.H......|
|00000310| 02 80 00 03 69 73 20 64 | 6f 6e 65 20 62 79 20 61 |....is d|one by a|
|00000320| 20 72 6f 75 74 69 6e 65 | 20 63 61 6c 6c 65 64 20 | routine| called |
|00000330| 53 6f 72 74 54 69 6d 65 | 73 2e 20 20 54 6f 20 75 |SortTime|s. To u|
|00000340| 73 65 20 74 68 69 73 00 | 80 04 00 00 00 01 00 00 |se this.|........|
|00000350| 00 4a 00 00 00 c4 00 07 | 02 80 00 03 72 6f 75 74 |.J......|....rout|
|00000360| 69 6e 65 20 69 6e 20 79 | 6f 75 72 20 63 6f 64 65 |ine in y|our code|
|00000370| 2c 20 6a 75 73 74 20 73 | 65 6c 65 63 74 20 74 68 |, just s|elect th|
|00000380| 65 20 52 6f 75 74 69 6e | 65 73 20 6f 62 6a 65 63 |e Routin|es objec|
|00000390| 74 00 80 04 00 00 00 01 | 00 00 00 48 00 00 00 c4 |t.......|...H....|
|000003a0| 00 08 02 80 00 03 61 6e | 64 20 65 64 69 74 20 74 |......an|d edit t|
|000003b0| 68 65 20 53 6f 72 74 54 | 69 6d 65 73 20 72 6f 75 |he SortT|imes rou|
|000003c0| 74 69 6e 65 2e 20 20 4f | 6e 63 65 20 74 68 65 20 |tine. O|nce the |
|000003d0| 65 64 69 74 6f 72 20 69 | 73 00 80 04 00 00 00 01 |editor i|s.......|
|000003e0| 00 00 00 4c 00 00 00 c4 | 00 09 02 80 00 03 75 70 |...L....|......up|
|000003f0| 2c 20 73 65 6c 65 63 74 | 20 53 41 56 45 20 66 72 |, select| SAVE fr|
|00000400| 6f 6d 20 74 68 65 20 54 | 65 78 74 20 4d 65 6e 75 |om the T|ext Menu|
|00000410| 20 61 6e 64 20 73 61 76 | 65 20 74 68 65 20 72 6f | and sav|e the ro|
|00000420| 75 74 69 6e 65 00 80 04 | 00 00 00 01 00 00 00 4a |utine...|.......J|
|00000430| 00 00 00 c4 00 0a 02 80 | 00 03 74 6f 20 61 20 74 |........|..to a t|
|00000440| 65 78 74 20 66 69 6c 65 | 20 6f 66 20 79 6f 75 72 |ext file| of your|
|00000450| 20 63 68 6f 69 63 65 2e | 20 20 54 68 65 6e 20 79 | choice.| Then y|
|00000460| 6f 75 20 63 61 6e 20 6c | 6f 61 64 20 74 68 65 00 |ou can l|oad the.|
|00000470| 80 04 00 00 00 01 00 00 | 00 48 00 00 00 c4 00 0b |........|.H......|
|00000480| 02 80 00 03 66 69 6c 65 | 20 62 61 63 6b 20 69 6e |....file| back in|
|00000490| 74 6f 20 74 68 65 20 72 | 6f 75 74 69 6e 65 20 73 |to the r|outine s|
|000004a0| 63 72 69 70 74 20 6f 66 | 20 61 6e 6f 74 68 65 72 |cript of| another|
|000004b0| 20 64 65 63 6b 2e 00 00 | 80 04 00 00 00 01 00 00 | deck...|........|
|000004c0| 00 16 00 00 00 c4 00 0c | 02 80 00 03 00 00 80 04 |........|........|
|000004d0| 00 00 00 01 00 00 00 50 | 00 00 00 c4 00 0d 02 80 |.......P|........|
|000004e0| 00 02 22 54 6f 20 63 61 | 6c 6c 20 74 68 65 20 72 |.."To ca|ll the r|
|000004f0| 6f 75 74 69 6e 65 2c 20 | 6a 75 73 74 20 70 75 74 |outine, |just put|
|00000500| 20 61 20 44 4f 20 22 22 | 53 6f 72 74 54 69 6d 65 | a DO ""|SortTime|
|00000510| 73 22 22 2c 64 6f 63 6e | 61 6d 65 22 00 00 80 04 |s"",docn|ame"....|
|00000520| 00 00 00 01 00 00 00 4e | 00 00 00 c4 00 0e 02 80 |.......N|........|
|00000530| 00 03 69 6e 74 6f 20 79 | 6f 75 72 20 73 63 72 69 |..into y|our scri|
|00000540| 70 74 2e 20 20 54 68 65 | 72 65 20 69 73 20 61 6e |pt. The|re is an|
|00000550| 20 6f 70 74 69 6f 6e 61 | 6c 20 73 65 63 6f 6e 64 | optiona|l second|
|00000560| 20 70 61 72 61 6d 65 74 | 65 72 00 00 80 04 00 00 | paramet|er......|
|00000570| 00 01 00 00 00 48 00 00 | 00 c4 00 0f 02 80 00 03 |.....H..|........|
|00000580| 77 68 69 63 68 20 74 65 | 6c 6c 73 20 74 68 65 20 |which te|lls the |
|00000590| 72 6f 75 74 69 6e 65 20 | 74 68 65 20 73 74 61 72 |routine |the star|
|000005a0| 74 69 6e 67 20 63 6f 6c | 75 6d 6e 20 6f 66 20 74 |ting col|umn of t|
|000005b0| 68 65 20 00 80 04 00 00 | 00 01 00 00 00 44 00 00 |he .....|.....D..|
|000005c0| 00 c4 00 10 02 80 00 03 | 41 4d 2f 50 4d 20 73 74 |........|AM/PM st|
|000005d0| 75 66 66 2e 20 20 41 67 | 61 69 6e 2c 20 69 74 27 |uff. Ag|ain, it'|
|000005e0| 73 20 61 20 68 61 63 6b | 2c 20 62 75 74 20 69 74 |s a hack|, but it|
|000005f0| 20 77 6f 72 6b 73 2e 00 | 80 04 00 00 00 01 00 00 | works..|........|
|00000600| 00 16 00 00 00 c4 00 11 | 02 80 00 03 00 00 80 04 |........|........|
|00000610| 00 00 00 01 00 00 00 1c | 00 00 00 c4 00 12 02 80 |........|........|
|00000620| 00 03 45 6e 6a 6f 79 2e | 00 00 80 04 00 00 00 01 |..Enjoy.|........|
|00000630| 00 00 00 2e 00 00 00 c4 | 00 13 02 80 00 03 2d 2d |........|......--|
|00000640| 20 4a 6f 65 6c 2c 20 4a | 61 6e 75 61 72 79 20 31 | Joel, J|anuary 1|
|00000650| 31 2c 20 31 39 39 30 00 | 80 04 00 00 00 01 00 00 |1, 1990.|........|
|00000660| 00 12 00 00 00 6e 00 14 | 01 80 00 04 00 00 00 09 |.....n..|........|
|00000670| 00 00 00 12 00 00 00 a1 | 00 15 01 80 00 04 00 00 |........|........|
|00000680| 00 02 00 00 00 2a 00 00 | 00 7e 00 16 03 80 00 03 |.....*..|.~......|
|00000690| 44 6f 6e 65 20 77 69 74 | 68 20 41 62 6f 75 74 00 |Done wit|h About.|
|000006a0| 00 08 00 00 00 12 00 08 | 00 00 00 29 00 00 00 0c |........|...)....|
|000006b0| 00 00 00 1f 00 17 00 80 | 00 00 00 20 00 00 00 53 |........|... ...S|
|000006c0| 00 18 01 80 00 02 42 65 | 65 6e 48 65 72 65 20 3d |......Be|enHere =|
|000006d0| 20 46 41 4c 53 45 00 00 | 00 00 00 1a 00 00 00 21 | FALSE..|.......!|
|000006e0| 00 19 01 80 00 03 53 6f | 72 74 42 75 74 74 6f 6e |......So|rtButton|
|000006f0| 00 00 00 00 00 0c 00 00 | 00 09 00 1a 00 80 00 00 |........|........|
|00000700| 00 14 00 00 00 63 00 1b | 01 80 00 03 54 69 6d 65 |.....c..|....Time|
|00000710| 73 00 00 00 00 18 00 00 | 00 14 00 1c 01 80 00 03 |s.......|........|
|00000720| 54 79 70 65 54 69 6d 65 | 73 00 00 00 00 0c 00 00 |TypeTime|s.......|
|00000730| 00 22 00 1d 00 00 c3 86 | 44 4f 43 55 4d 45 4e 54 |."......|DOCUMENT|
|00000740| 23 31 00 00 82 06 00 00 | 00 18 00 00 02 79 00 03 |#1......|.....y..|
|00000750| 02 80 00 08 00 00 00 9b | 00 08 00 00 00 12 00 00 |........|........|
|00000760| 00 18 00 00 02 7f 00 04 | 02 80 00 08 00 00 01 e0 |........|........|
|00000770| 00 08 00 00 00 4b 00 00 | 00 1a 00 00 02 65 00 05 |.....K..|.....e..|
|00000780| 02 80 00 03 74 6f 70 61 | 7a 00 00 08 00 00 00 08 |....topa|z.......|
|00000790| 00 00 00 1e 00 00 02 81 | 00 06 03 80 00 04 80 00 |........|........|
|000007a0| 00 00 80 08 00 00 00 02 | 80 08 00 00 00 03 00 00 |........|........|
|000007b0| 00 1e 00 00 02 84 00 07 | 03 80 00 08 00 00 00 01 |........|........|
|000007c0| 80 08 00 00 00 00 80 04 | 00 00 00 02 00 00 00 1e |........|........|
|000007d0| 00 00 02 5c 00 08 03 80 | 00 04 00 00 00 01 80 08 |...\....|........|
|000007e0| 00 00 00 01 80 08 00 00 | 00 02 00 00 00 14 00 00 |........|........|
|000007f0| 02 74 00 09 01 80 00 03 | 54 69 6d 65 73 00 00 00 |.t......|Times...|
|00000800| 00 12 00 00 02 7c 00 0a | 01 80 00 04 00 00 00 02 |.....|..|........|
|00000810| 00 00 00 12 00 00 02 6e | 00 0b 01 00 00 04 00 00 |.......n|........|
|00000820| 00 02 c3 85 53 6f 72 74 | 42 75 74 74 6f 6e 00 00 |....Sort|Button..|
|00000830| 82 06 00 00 00 18 00 00 | 02 79 00 03 02 80 00 08 |........|.y......|
|00000840| 00 00 00 10 00 08 00 00 | 00 14 00 00 00 1a 00 00 |........|........|
|00000850| 02 65 00 04 02 80 00 03 | 74 6f 70 61 7a 00 00 08 |.e......|topaz...|
|00000860| 00 00 00 08 00 00 00 1e | 00 00 02 81 00 05 03 80 |........|........|
|00000870| 00 04 00 00 01 00 80 08 | 00 00 00 02 80 08 00 00 |........|........|
|00000880| 00 03 00 00 00 1e 00 00 | 02 84 00 06 03 80 00 08 |........|........|
|00000890| 00 00 00 01 80 08 00 00 | 00 00 80 04 00 00 00 01 |........|........|
|000008a0| 00 00 00 1e 00 00 02 83 | 00 07 01 80 00 03 53 6f |........|......So|
|000008b0| 72 74 20 74 68 65 20 54 | 69 6d 65 73 00 00 00 00 |rt the T|imes....|
|000008c0| 00 1e 00 00 02 5c 00 08 | 03 80 00 04 00 00 00 08 |.....\..|........|
|000008d0| 80 08 00 00 00 01 80 08 | 00 00 00 02 00 00 00 12 |........|........|
|000008e0| 00 00 02 67 00 09 01 80 | 00 04 00 00 00 04 00 00 |...g....|........|
|000008f0| 00 12 00 00 02 5e 00 0a | 01 00 00 04 80 00 00 00 |.....^..|........|
|00000900| 82 20 00 00 00 20 00 00 | 00 14 00 01 02 00 00 03 |. ... ..|........|
|00000910| 53 6f 72 74 54 69 6d 65 | 73 00 80 03 54 69 6d 65 |SortTime|s...Time|
|00000920| 73 00 52 45 53 4f 00 00 | 06 d0 00 00 c2 29 53 6f |s.RESO..|.....)So|
|00000930| 72 74 54 69 6d 65 73 00 | 00 00 00 3c 00 00 00 41 |rtTimes.|...<...A|
|00000940| 00 01 02 84 00 02 41 72 | 67 31 20 3d 20 4e 6f 74 |......Ar|g1 = Not|
|00000950| 68 69 6e 67 00 00 10 00 | 09 09 3b 48 65 79 2c 20 |hing....|..;Hey, |
|00000960| 49 20 6e 65 65 64 20 61 | 20 44 6f 63 75 6d 65 6e |I need a| Documen|
|00000970| 74 21 00 00 00 00 00 0c | 00 00 00 2d 00 02 00 80 |t!......|...-....|
|00000980| 00 00 00 0c 00 00 00 22 | 00 03 00 80 00 00 00 1e |......."|........|
|00000990| 00 00 00 41 00 04 01 80 | 00 02 41 72 67 32 20 3d |...A....|..Arg2 =|
|000009a0| 20 4e 6f 74 68 69 6e 67 | 00 00 00 00 00 44 00 00 | Nothing|.....D..|
|000009b0| 00 53 00 05 02 84 00 02 | 41 4d 50 4d 63 6f 6c 20 |.S......|AMPMcol |
|000009c0| 3d 20 37 00 10 00 09 09 | 3b 61 73 73 75 6d 65 20 |= 7.....|;assume |
|000009d0| 77 68 65 72 65 20 74 68 | 65 20 41 4d 2f 50 4d 20 |where th|e AM/PM |
|000009e0| 63 6f 6c 75 6d 6e 20 73 | 74 61 72 74 73 00 00 00 |column s|tarts...|
|000009f0| 00 0c 00 00 00 1f 00 06 | 00 80 00 00 00 1e 00 00 |........|........|
|00000a00| 00 53 00 07 01 80 00 02 | 41 4d 50 4d 63 6f 6c 20 |.S......|AMPMcol |
|00000a10| 3d 20 41 72 67 32 00 00 | 00 00 00 0c 00 00 00 22 |= Arg2..|......."|
|00000a20| 00 08 00 80 00 00 00 14 | 00 00 00 c9 00 09 01 80 |........|........|
|00000a30| 00 02 41 72 67 31 00 00 | 00 00 00 12 00 00 00 a1 |..Arg1..|........|
|00000a40| 00 0a 01 80 00 04 00 00 | 00 02 00 00 00 12 00 00 |........|........|
|00000a50| 00 6e 00 0b 01 80 00 04 | 00 00 00 09 00 00 00 24 |.n......|.......$|
|00000a60| 00 00 00 60 00 0c 01 84 | 10 00 09 09 09 3b 66 69 |...`....|.....;fi|
|00000a70| 72 73 74 2c 20 66 69 78 | 20 68 6f 75 72 73 00 00 |rst, fix| hours..|
|00000a80| 00 00 00 12 00 00 00 6e | 00 0d 01 80 00 04 00 00 |.......n|........|
|00000a90| 00 05 00 00 00 30 00 00 | 00 53 00 0e 01 80 00 02 |.....0..|.S......|
|00000aa0| 54 68 69 73 48 6f 75 72 | 20 3d 20 47 65 74 57 6f |ThisHour| = GetWo|
|00000ab0| 72 64 28 54 68 65 4c 69 | 6e 65 2c 31 2c 22 3a 22 |rd(TheLi|ne,1,":"|
|00000ac0| 29 00 00 00 00 2a 00 00 | 00 41 00 0f 01 80 00 02 |)....*..|.A......|
|00000ad0| 4e 75 6d 62 65 72 4f 66 | 43 68 61 72 73 28 54 68 |NumberOf|Chars(Th|
|00000ae0| 69 73 48 6f 75 72 29 20 | 3d 20 31 00 00 00 00 2c |isHour) |= 1....,|
|00000af0| 00 00 00 c4 00 10 02 84 | 00 03 20 00 10 00 09 09 |........|.. .....|
|00000b00| 09 3b 74 68 69 73 20 69 | 6e 73 65 72 74 73 20 61 |.;this i|nserts a|
|00000b10| 20 73 70 61 63 65 00 00 | 00 00 00 0c 00 00 00 22 | space..|......."|
|00000b20| 00 11 00 80 00 00 00 12 | 00 00 00 6e 00 12 01 80 |........|...n....|
|00000b30| 00 04 00 00 00 05 00 00 | 00 4a 00 00 00 c4 00 13 |........|.J......|
|00000b40| 02 84 00 02 47 65 74 43 | 68 61 72 73 28 54 68 65 |....GetC|hars(The|
|00000b50| 4c 69 6e 65 2c 41 4d 50 | 4d 63 6f 6c 2c 31 29 00 |Line,AMP|Mcol,1).|
|00000b60| 10 00 09 3b 69 6e 73 65 | 72 74 20 22 41 22 20 6f |...;inse|rt "A" o|
|00000b70| 72 20 22 50 22 20 61 74 | 20 66 72 6f 6e 74 00 00 |r "P" at| front..|
|00000b80| 00 00 00 34 00 00 00 41 | 00 14 02 84 00 02 54 68 |...4...A|......Th|
|00000b90| 69 73 48 6f 75 72 20 3d | 20 22 31 32 22 00 10 00 |isHour =| "12"...|
|00000ba0| 09 09 3b 72 65 70 6c 61 | 63 65 20 74 68 65 20 31 |..;repla|ce the 1|
|00000bb0| 32 27 73 00 00 00 00 12 | 00 00 00 6e 00 15 01 80 |2's.....|...n....|
|00000bc0| 00 04 00 00 00 05 00 00 | 00 18 00 00 00 8b 00 16 |........|........|
|00000bd0| 02 80 00 03 31 32 00 00 | 00 03 20 30 00 00 00 00 |....12..|.. 0....|
|00000be0| 00 0c 00 00 00 22 00 17 | 00 80 00 00 00 2c 00 00 |....."..|.....,..|
|00000bf0| 00 53 00 18 01 80 00 02 | 4f 6c 64 4c 69 6e 65 4e |.S......|OldLineN|
|00000c00| 75 6d 62 65 72 20 3d 20 | 54 68 65 4c 69 6e 65 4e |umber = |TheLineN|
|00000c10| 75 6d 62 65 72 00 00 00 | 00 12 00 00 00 6d 00 19 |umber...|.....m..|
|00000c20| 01 80 00 04 00 00 00 02 | 00 00 00 40 00 00 00 41 |........|...@...A|
|00000c30| 00 1a 02 84 00 02 54 68 | 65 4c 69 6e 65 4e 75 6d |......Th|eLineNum|
|00000c40| 62 65 72 20 3d 20 4f 6c | 64 4c 69 6e 65 4e 75 6d |ber = Ol|dLineNum|
|00000c50| 62 65 72 00 10 00 09 3b | 65 6e 64 20 6f 66 20 64 |ber....;|end of d|
|00000c60| 6f 63 75 6d 65 6e 74 00 | 00 00 00 0c 00 00 00 2c |ocument.|.......,|
|00000c70| 00 1b 00 80 00 00 00 0c | 00 00 00 22 00 1c 00 80 |........|..."....|
|00000c80| 00 00 00 0c 00 00 00 23 | 00 1d 00 80 00 00 00 0c |.......#|........|
|00000c90| 00 00 00 bd 00 1e 00 80 | 00 00 00 34 00 00 00 c6 |........|...4....|
|00000ca0| 00 1f 01 80 00 02 4c 69 | 6e 65 73 49 6e 44 6f 63 |......Li|nesInDoc|
|00000cb0| 75 6d 65 6e 74 20 3e 20 | 31 20 41 4e 44 20 54 68 |ument > |1 AND Th|
|00000cc0| 65 4c 69 6e 65 20 3d 20 | 22 22 00 00 00 00 00 40 |eLine = |"".....@|
|00000cd0| 00 00 00 10 00 20 02 84 | 00 04 00 00 00 01 10 00 |..... ..|........|
|00000ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 09 09 | | ..|
|00000cf0| 09 3b 74 61 6b 65 20 6f | 75 74 20 61 6e 79 20 62 |.;take o|ut any b|
|00000d00| 6c 61 6e 6b 20 6c 69 6e | 65 73 00 00 00 00 00 0c |lank lin|es......|
|00000d10| 00 00 00 23 00 21 00 80 | 00 00 00 12 00 00 00 6e |...#.!..|.......n|
|00000d20| 00 22 01 80 00 04 00 00 | 00 09 00 00 00 24 00 00 |."......|.....$..|
|00000d30| 00 60 00 23 01 84 10 00 | 09 09 09 09 3b 72 65 73 |.`.#....|....;res|
|00000d40| 74 6f 72 65 20 74 68 65 | 20 31 32 27 73 00 00 00 |tore the| 12's...|
|00000d50| 00 2c 00 00 00 41 00 24 | 01 80 00 02 47 65 74 43 |.,...A.$|....GetC|
|00000d60| 68 61 72 73 28 54 68 65 | 4c 69 6e 65 2c 32 2c 32 |hars(The|Line,2,2|
|00000d70| 29 20 3d 20 22 20 30 22 | 00 00 00 00 00 32 00 00 |) = " 0"|.....2..|
|00000d80| 00 8b 00 25 03 84 00 03 | 20 30 00 00 00 03 31 32 |...%....| 0....12|
|00000d90| 00 00 10 00 09 09 3b 6f | 6e 20 77 6f 72 64 20 75 |......;o|n word u|
|00000da0| 6e 64 65 72 20 63 75 72 | 73 6f 72 00 00 00 00 0c |nder cur|sor.....|
|00000db0| 00 00 00 22 00 26 00 80 | 00 00 00 12 00 00 00 6e |...".&..|.......n|
|00000dc0| 00 27 01 80 00 04 00 00 | 00 05 00 00 00 42 00 00 |.'......|.....B..|
|00000dd0| 00 10 00 28 02 84 00 04 | 00 00 00 08 10 00 20 20 |...(....|...... |
|00000de0| 20 20 20 20 20 20 09 09 | 09 3b 6e 6f 77 20 72 65 | ..|.;now re|
|00000df0| 6d 6f 76 65 20 74 68 65 | 20 73 6f 72 74 20 63 68 |move the| sort ch|
|00000e00| 61 72 20 28 41 20 6f 72 | 20 50 29 00 00 00 00 2c |ar (A or| P)....,|
|00000e10| 00 00 00 53 00 29 01 80 | 00 02 4f 6c 64 4c 69 6e |...S.)..|..OldLin|
|00000e20| 65 4e 75 6d 62 65 72 20 | 3d 20 54 68 65 4c 69 6e |eNumber |= TheLin|
|00000e30| 65 4e 75 6d 62 65 72 00 | 00 00 00 12 00 00 00 6d |eNumber.|.......m|
|00000e40| 00 2a 01 80 00 04 00 00 | 00 02 00 00 00 40 00 00 |.*......|.....@..|
|00000e50| 00 41 00 2b 02 84 00 02 | 54 68 65 4c 69 6e 65 4e |.A.+....|TheLineN|
|00000e60| 75 6d 62 65 72 20 3d 20 | 4f 6c 64 4c 69 6e 65 4e |umber = |OldLineN|
|00000e70| 75 6d 62 65 72 00 10 00 | 09 3b 65 6e 64 20 6f 66 |umber...|.;end of|
|00000e80| 20 64 6f 63 75 6d 65 6e | 74 00 00 00 00 0c 00 00 | documen|t.......|
|00000e90| 00 2c 00 2c 00 80 00 00 | 00 0c 00 00 00 22 00 2d |.,.,....|.....".-|
|00000ea0| 00 80 00 00 00 0c 00 00 | 00 23 00 2e 00 80 00 00 |........|.#......|
|00000eb0| 00 40 00 00 00 6e 00 2f | 02 04 00 04 00 00 00 09 |.@...n./|........|
|00000ec0| 10 00 20 20 20 20 20 20 | 20 20 20 20 20 20 20 09 |.. | .|
|00000ed0| 09 09 3b 64 69 73 70 6c | 61 79 20 66 72 6f 6d 20 |..;displ|ay from |
|00000ee0| 73 74 61 72 74 20 6f 66 | 20 64 6f 63 00 00 c2 29 |start of| doc...)|
|00000ef0| 54 79 70 65 54 69 6d 65 | 73 00 00 00 00 3c 00 00 |TypeTime|s....<..|
|00000f00| 00 c4 00 01 02 80 00 03 | 31 30 3a 30 30 20 70 6d |........|10:00 pm|
|00000f10| 20 2d 20 4e 69 67 68 74 | 6c 79 20 4e 65 77 73 2f | - Night|ly News/|
|00000f20| 57 65 61 74 68 65 72 2f | 53 70 6f 72 74 73 00 00 |Weather/|Sports..|
|00000f30| 80 04 00 00 00 01 00 00 | 00 36 00 00 00 c4 00 02 |........|.6......|
|00000f40| 02 80 00 03 35 3a 30 30 | 20 61 6d 20 2d 20 45 61 |....5:00| am - Ea|
|00000f50| 72 6c 79 20 42 69 72 64 | 20 4e 65 77 73 2f 57 65 |rly Bird| News/We|
|00000f60| 61 74 68 65 72 00 80 04 | 00 00 00 01 00 00 00 32 |ather...|.......2|
|00000f70| 00 00 00 c4 00 03 02 80 | 00 03 31 32 3a 30 30 20 |........|..12:00 |
|00000f80| 61 6d 20 2d 20 54 68 65 | 20 4d 69 64 6e 69 67 68 |am - The| Midnigh|
|00000f90| 74 20 4d 6f 76 69 65 00 | 80 04 00 00 00 01 00 00 |t Movie.|........|
|00000fa0| 00 28 00 00 00 c4 00 04 | 02 80 00 03 33 3a 33 30 |.(......|....3:30|
|00000fb0| 20 50 4d 20 2d 20 44 6f | 6e 61 2d 77 68 6f 00 00 | PM - Do|na-who..|
|00000fc0| 80 04 00 00 00 01 00 00 | 00 34 00 00 00 c4 00 05 |........|.4......|
|00000fd0| 02 00 00 03 31 32 3a 30 | 30 20 50 4d 20 2d 20 41 |....12:0|0 PM - A|
|00000fe0| 73 20 54 68 65 20 53 74 | 6f 6d 61 63 68 20 54 75 |s The St|omach Tu|
|00000ff0| 72 6e 73 00 80 04 00 00 | 00 01 |rns.....|.. |
+--------+-------------------------+-------------------------+--------+--------+