home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Mops 2.5 / Mops source.sit / Mops source / Module source / Extrasmod.txt < prev    next >
MacBinary  |  1994-08-30  |  12.8 KB  |  [TEXT/MSET]

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: Extrasmod.txt

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Aug 30 17:44:12 1994, modified Tue Aug 30 17:44:12 1994, creator 'MSET', type ASCII, 12533 bytes "Extrasmod.txt" , at 0x3175 375 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
keyvalue
macFileType[TEXT]
macFileCreator[MSET]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 45 78 74 72 61 73 | 6d 6f 64 2e 74 78 74 00 |..Extras|mod.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 30 f5 00 | 00 01 77 aa 89 58 ac aa |.....0..|..w..X..|
|00000060| 89 58 ac 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.X......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 65 78 00 00 |........|....ex..|
|00000080| 5c 20 54 68 69 73 20 6d | 6f 64 75 6c 65 20 69 6d |\ This m|odule im|
|00000090| 70 6c 65 6d 65 6e 74 73 | 20 61 20 6e 75 6d 62 65 |plements| a numbe|
|000000a0| 72 20 6f 66 20 77 6f 72 | 64 73 20 74 68 61 74 20 |r of wor|ds that |
|000000b0| 77 65 20 6e 65 65 64 20 | 6f 6e 6c 79 20 61 74 20 |we need |only at |
|000000c0| 63 6f 6d 70 69 6c 65 20 | 74 69 6d 65 2c 0d 5c 20 |compile |time,.\ |
|000000d0| 6f 72 20 6f 6e 6c 79 20 | 69 6e 20 74 68 65 20 4d |or only |in the M|
|000000e0| 6f 70 73 20 64 65 76 65 | 6c 6f 70 6d 65 6e 74 20 |ops deve|lopment |
|000000f0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 2e 0d 0d 0d 5c |environm|ent....\|
|00000100| 09 09 3d 3d 3d 3d 3d 3d | 3d 3d 20 44 69 73 70 6c |..======|== Displ|
|00000110| 61 79 20 6f 66 20 73 6f | 75 72 63 65 20 63 6f 64 |ay of so|urce cod|
|00000120| 65 20 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0d 5c 20 54 68 |e ======|==..\ Th|
|00000130| 65 20 64 69 73 70 6c 61 | 79 20 69 73 20 72 61 74 |e displa|y is rat|
|00000140| 68 65 72 20 63 72 75 64 | 65 2c 20 62 75 74 20 61 |her crud|e, but a|
|00000150| 74 20 6c 65 61 73 74 20 | 79 6f 75 20 63 61 6e 20 |t least |you can |
|00000160| 73 65 65 20 74 68 65 20 | 73 6f 75 72 63 65 2e 0d |see the |source..|
|00000170| 5c 20 49 66 20 41 70 70 | 6c 65 45 76 65 6e 74 73 |\ If App|leEvents|
|00000180| 20 61 72 65 20 61 76 61 | 69 6c 61 62 6c 65 2c 20 | are ava|ilable, |
|00000190| 77 65 20 64 6f 20 61 20 | 6c 6f 74 20 62 65 74 74 |we do a |lot bett|
|000001a0| 65 72 20 61 6e 64 20 73 | 65 6e 64 20 61 6e 20 41 |er and s|end an A|
|000001b0| 45 20 74 6f 0d 5c 20 51 | 75 69 63 6b 20 45 64 69 |E to.\ Q|uick Edi|
|000001c0| 74 20 74 6f 20 6f 70 65 | 6e 20 74 68 65 20 66 69 |t to ope|n the fi|
|000001d0| 6c 65 20 61 74 20 74 68 | 65 20 67 69 76 65 6e 20 |le at th|e given |
|000001e0| 70 6f 73 69 74 69 6f 6e | 2c 20 61 6e 64 20 74 68 |position|, and th|
|000001f0| 65 6e 20 77 65 20 64 6f | 6e 27 74 0d 5c 20 75 73 |en we do|n't.\ us|
|00000200| 65 20 74 68 65 20 64 69 | 73 70 6c 61 79 20 63 6f |e the di|splay co|
|00000210| 64 65 20 68 65 72 65 2e | 20 20 28 41 6e 64 20 67 |de here.| (And g|
|00000220| 6f 6f 64 20 72 69 64 64 | 61 6e 63 65 2c 20 74 6f |ood ridd|ance, to|
|00000230| 6f 2e 29 0d 0d 66 61 6c | 73 65 09 76 61 6c 75 65 |o.)..fal|se.value|
|00000240| 09 4c 4f 47 5f 54 48 45 | 52 45 3f 0d 66 61 6c 73 |.LOG_THE|RE?.fals|
|00000250| 65 09 76 61 6c 75 65 09 | 53 52 43 5f 54 48 45 52 |e.value.|SRC_THER|
|00000260| 45 3f 0d 66 61 6c 73 65 | 09 76 61 6c 75 65 09 55 |E?.false|.value.U|
|00000270| 53 45 5f 4d 4f 44 3f 0d | 66 61 6c 73 65 09 76 61 |SE_MOD?.|false.va|
|00000280| 6c 75 65 09 51 45 3f 0d | 0d 3a 63 6c 61 73 73 20 |lue.QE?.|.:class |
|00000290| 20 46 53 53 70 65 63 20 | 20 73 75 70 65 72 7b 20 | FSSpec | super{ |
|000002a0| 6f 62 6a 65 63 74 20 7d | 0d 72 65 63 6f 72 64 0d |object }|.record.|
|000002b0| 7b 09 69 6e 74 09 09 76 | 52 65 66 4e 75 6d 0d 09 |{.int..v|RefNum..|
|000002c0| 76 61 72 09 09 70 61 72 | 49 44 0d 36 34 09 62 79 |var..par|ID.64.by|
|000002d0| 74 65 73 09 66 69 6c 65 | 6e 61 6d 65 0d 7d 0d 0d |tes.file|name.}..|
|000002e0| 3a 6d 20 67 65 74 56 72 | 65 66 3a 09 09 67 65 74 |:m getVr|ef:..get|
|000002f0| 3a 20 76 52 65 66 4e 75 | 6d 09 3b 6d 0d 3a 6d 20 |: vRefNu|m.;m.:m |
|00000300| 67 65 74 44 69 72 49 44 | 3a 09 67 65 74 3a 20 70 |getDirID|:.get: p|
|00000310| 61 72 49 44 09 09 3b 6d | 0d 0d 3a 6d 20 73 65 74 |arID..;m|..:m set|
|00000320| 56 72 65 66 3a 09 09 70 | 75 74 3a 20 76 52 65 66 |Vref:..p|ut: vRef|
|00000330| 4e 75 6d 09 3b 6d 0d 3a | 6d 20 73 65 74 44 69 72 |Num.;m.:|m setDir|
|00000340| 49 44 3a 09 70 75 74 3a | 20 70 61 72 49 44 09 09 |ID:.put:| parID..|
|00000350| 3b 6d 0d 3a 6d 20 6e 61 | 6d 65 3a 09 09 36 34 20 |;m.:m na|me:..64 |
|00000360| 6d 69 6e 20 20 61 64 64 | 72 3a 20 66 69 6c 65 4e |min add|r: fileN|
|00000370| 61 6d 65 20 20 3e 73 74 | 72 32 35 35 20 20 64 72 |ame >st|r255 dr|
|00000380| 6f 70 20 20 3b 6d 0d 3a | 6d 20 67 65 74 4e 61 6d |op ;m.:|m getNam|
|00000390| 65 3a 09 09 61 64 64 72 | 3a 20 66 69 6c 65 4e 61 |e:..addr|: fileNa|
|000003a0| 6d 65 20 20 63 6f 75 6e | 74 20 20 3b 6d 0d 0d 0d |me coun|t ;m...|
|000003b0| 3a 6d 20 4e 45 57 3a 0d | 09 77 6f 72 64 30 0d 09 |:m NEW:.|.word0..|
|000003c0| 69 6e 74 3a 20 76 52 65 | 66 4e 75 6d 20 20 67 65 |int: vRe|fNum ge|
|000003d0| 74 3a 20 70 61 72 49 44 | 20 20 61 64 64 72 3a 20 |t: parID| addr: |
|000003e0| 66 69 6c 65 6e 61 6d 65 | 20 20 5e 62 61 73 65 0d |filename| ^base.|
|000003f0| 09 63 61 6c 6c 20 46 53 | 4d 61 6b 65 46 53 53 70 |.call FS|MakeFSSp|
|00000400| 65 63 20 20 69 2d 3e 6c | 20 20 3b 6d 0d 0d 3b 63 |ec i->l| ;m..;c|
|00000410| 6c 61 73 73 0d 0d 0d 46 | 53 53 70 65 63 20 20 46 |lass...F|SSpec F|
|00000420| 53 0d 0d 6f 62 6a 50 74 | 72 09 54 48 45 4d 4f 44 |S..objPt|r.THEMOD|
|00000430| 20 20 63 6c 61 73 73 5f | 69 73 20 6d 6f 64 75 6c | class_|is modul|
|00000440| 65 0d 0d 77 69 6e 64 6f | 77 09 44 57 0d 0d 66 69 |e..windo|w.DW..fi|
|00000450| 6c 65 09 4c 4f 47 0d 66 | 69 6c 65 09 53 52 43 0d |le.LOG.f|ile.SRC.|
|00000460| 66 69 6c 65 09 51 45 46 | 0d 0d 73 74 72 69 6e 67 |file.QEF|..string|
|00000470| 2b 09 44 53 50 0d 73 74 | 72 69 6e 67 2b 09 53 0d |+.DSP.st|ring+.S.|
|00000480| 73 74 72 69 6e 67 2b 09 | 24 54 4d 50 0d 73 74 72 |string+.|$TMP.str|
|00000490| 69 6e 67 2b 09 24 4c 4f | 47 0d 73 74 72 69 6e 67 |ing+.$LO|G.string|
|000004a0| 2b 09 24 50 52 46 0d 0d | 30 09 76 61 6c 75 65 09 |+.$PRF..|0.value.|
|000004b0| 43 55 52 53 5f 50 4f 53 | 0d 30 09 76 61 6c 75 65 |CURS_POS|.0.value|
|000004c0| 09 43 55 52 53 5f 52 4f | 57 0d 30 09 76 61 6c 75 |.CURS_RO|W.0.valu|
|000004d0| 65 09 43 55 52 53 5f 43 | 4f 4c 0d 0d 30 09 76 61 |e.CURS_C|OL..0.va|
|000004e0| 6c 75 65 09 4d 4b 5f 43 | 46 41 0d 30 09 76 61 6c |lue.MK_C|FA.0.val|
|000004f0| 75 65 09 54 4f 50 44 49 | 52 0d 30 09 76 61 6c 75 |ue.TOPDI|R.0.valu|
|00000500| 65 09 54 4f 50 44 41 54 | 45 0d 0d 0d 3a 20 4f 50 |e.TOPDAT|E...: OP|
|00000510| 45 4e 5f 53 52 43 5f 57 | 49 4e 44 4f 57 0d 09 51 |EN_SRC_W|INDOW..Q|
|00000520| 45 3f 20 20 3f 45 58 49 | 54 09 09 09 09 5c 20 49 |E? ?EXI|T....\ I|
|00000530| 66 20 77 65 27 72 65 20 | 73 68 6f 77 69 6e 67 20 |f we're |showing |
|00000540| 74 68 65 20 73 6f 75 72 | 63 65 20 69 6e 20 51 45 |the sour|ce in QE|
|00000550| 2c 20 6f 75 74 0d 09 6e | 65 77 3a 20 73 20 20 73 |, out..n|ew: s s|
|00000560| 20 63 6f 70 79 74 6f 3a | 20 64 73 70 0d 09 32 20 | copyto:| dsp..2 |
|00000570| 33 38 20 20 34 39 34 20 | 31 37 30 20 20 70 75 74 |38 494 |170 put|
|00000580| 3a 20 74 65 6d 70 52 65 | 63 74 0d 09 74 65 6d 70 |: tempRe|ct..temp|
|00000590| 52 65 63 74 20 20 22 20 | 22 0d 09 64 6f 63 57 69 |Rect " |"..docWi|
|000005a0| 6e 64 20 20 74 72 75 65 | 20 74 72 75 65 20 20 6e |nd true| true n|
|000005b0| 65 77 3a 20 64 77 0d 09 | 73 63 72 65 65 6e 62 69 |ew: dw..|screenbi|
|000005c0| 74 73 20 74 72 75 65 20 | 73 65 74 47 72 6f 77 3a |ts true |setGrow:|
|000005d0| 20 64 77 0d 09 73 65 74 | 46 77 69 6e 64 0d 09 74 | dw..set|Fwind..t|
|000005e0| 72 75 65 20 2d 3e 20 73 | 72 63 5f 74 68 65 72 65 |rue -> s|rc_there|
|000005f0| 3f 20 20 3b 0d 09 0d 0d | 3a 20 53 45 54 5f 44 53 |? ;....|: SET_DS|
|00000600| 50 20 20 7b 20 5c 20 63 | 72 3f 20 2d 2d 20 7d 0d |P { \ c|r? -- }.|
|00000610| 09 74 72 75 65 20 2d 3e | 20 63 72 3f 0d 09 73 20 |.true ->| cr?..s |
|00000620| 20 63 6f 70 79 74 6f 3a | 20 64 73 70 0d 09 63 75 | copyto:| dsp..cu|
|00000630| 72 73 5f 70 6f 73 20 3e | 70 6f 73 3a 20 64 73 70 |rs_pos >|pos: dsp|
|00000640| 0d 09 32 20 30 20 44 4f | 20 20 3c 6e 65 78 74 6c |..2 0 DO| <nextl|
|00000650| 69 6e 65 3f 3a 20 64 73 | 70 20 20 4e 49 46 20 20 |ine?: ds|p NIF |
|00000660| 4c 45 41 56 45 20 20 54 | 48 45 4e 20 20 4c 4f 4f |LEAVE T|HEN LOO|
|00000670| 50 0d 09 70 6f 73 3a 20 | 64 73 70 0d 09 31 30 20 |P..pos: |dsp..10 |
|00000680| 30 20 3f 44 4f 0d 09 09 | 6e 65 78 74 6c 69 6e 65 |0 ?DO...|nextline|
|00000690| 3f 3a 20 64 73 70 20 20 | 4e 49 46 20 20 66 61 6c |?: dsp |NIF fal|
|000006a0| 73 65 20 2d 3e 20 63 72 | 3f 20 20 4c 45 41 56 45 |se -> cr|? LEAVE|
|000006b0| 20 20 54 48 45 4e 0d 09 | 4c 4f 4f 50 0d 09 3e 70 | THEN..|LOOP..>p|
|000006c0| 6f 73 3a 20 64 73 70 0d | 09 63 72 3f 20 6d 6f 72 |os: dsp.|.cr? mor|
|000006d0| 65 3a 20 64 73 70 20 20 | 3b 0d 0d 0d 6c 6f 63 61 |e: dsp |;...loca|
|000006e0| 6c 20 44 49 53 50 4c 41 | 59 20 20 7b 20 64 69 73 |l DISPLA|Y { dis|
|000006f0| 70 3f 20 5c 20 72 65 64 | 72 61 77 3f 20 65 6e 64 |p? \ red|raw? end|
|00000700| 5f 64 69 73 70 20 63 75 | 72 73 5f 6c 69 6e 65 5f |_disp cu|rs_line_|
|00000710| 70 6f 73 20 31 73 74 3f | 20 2d 2d 20 7d 0d 0d 3a |pos 1st?| -- }..:|
|00000720| 20 28 44 49 53 50 29 0d | 09 30 20 2d 3e 20 63 75 | (DISP).|.0 -> cu|
|00000730| 72 73 5f 72 6f 77 20 20 | 30 20 2d 3e 20 63 75 72 |rs_row |0 -> cur|
|00000740| 73 5f 6c 69 6e 65 5f 70 | 6f 73 20 20 74 72 75 65 |s_line_p|os true|
|00000750| 20 2d 3e 20 31 73 74 3f | 0d 09 64 69 73 70 3f 20 | -> 1st?|..disp? |
|00000760| 49 46 20 20 34 20 74 46 | 6f 6e 74 20 20 39 20 74 |IF 4 tF|ont 9 t|
|00000770| 53 69 7a 65 20 20 2d 63 | 75 72 73 20 20 63 6c 73 |Size -c|urs cls|
|00000780| 20 20 54 48 45 4e 09 09 | 5c 20 4d 6f 6e 61 63 6f | THEN..|\ Monaco|
|00000790| 20 39 0d 09 42 45 47 49 | 4e 0d 09 09 6e 65 78 74 | 9..BEGI|N...next|
|000007a0| 6c 69 6e 65 3f 3a 20 64 | 73 70 20 20 30 45 58 49 |line?: d|sp 0EXI|
|000007b0| 54 0d 09 09 6c 69 6d 3a | 20 64 73 70 20 20 65 6e |T...lim:| dsp en|
|000007c0| 64 5f 64 69 73 70 20 20 | 3e 20 3f 45 58 49 54 0d |d_disp |> ?EXIT.|
|000007d0| 09 09 31 73 74 3f 20 49 | 46 20 20 66 61 6c 73 65 |..1st? I|F false|
|000007e0| 20 2d 3e 20 31 73 74 3f | 20 20 45 4c 53 45 20 20 | -> 1st?| ELSE |
|000007f0| 64 69 73 70 3f 20 49 46 | 20 63 72 20 54 48 45 4e |disp? IF| cr THEN|
|00000800| 20 20 54 48 45 4e 0d 09 | 09 6c 69 6d 3a 20 64 73 | THEN..|.lim: ds|
|00000810| 70 20 20 63 75 72 73 5f | 70 6f 73 20 20 3c 0d 09 |p curs_|pos <..|
|00000820| 09 49 46 20 20 31 20 2b | 2b 3e 20 63 75 72 73 5f |.IF 1 +|+> curs_|
|00000830| 72 6f 77 20 20 6c 69 6d | 3a 20 64 73 70 20 31 2b |row lim|: dsp 1+|
|00000840| 20 20 2d 3e 20 63 75 72 | 73 5f 6c 69 6e 65 5f 70 | -> cur|s_line_p|
|00000850| 6f 73 20 20 54 48 45 4e | 0d 09 09 64 69 73 70 3f |os THEN|...disp?|
|00000860| 20 49 46 20 20 67 65 74 | 3a 20 64 73 70 20 20 74 | IF get|: dsp t|
|00000870| 79 70 65 20 20 54 48 45 | 4e 0d 09 41 47 41 49 4e |ype THE|N..AGAIN|
|00000880| 20 20 3b 0d 0d 3a 20 53 | 48 4f 57 5f 43 55 52 53 | ;..: S|HOW_CURS|
|00000890| 0d 09 2b 63 75 72 73 20 | 20 64 69 73 70 3f 20 4e |..+curs | disp? N|
|000008a0| 49 46 20 20 2e 63 75 72 | 20 20 54 48 45 4e 09 09 |IF .cur| THEN..|
|000008b0| 5c 20 49 66 20 6a 75 73 | 74 20 75 70 64 61 74 69 |\ If jus|t updati|
|000008c0| 6e 67 2c 20 65 72 61 73 | 65 20 63 75 72 73 0d 09 |ng, eras|e curs..|
|000008d0| 63 75 72 73 5f 70 6f 73 | 20 63 75 72 73 5f 6c 69 |curs_pos| curs_li|
|000008e0| 6e 65 5f 70 6f 73 20 2d | 20 20 64 75 70 20 2d 3e |ne_pos -| dup ->|
|000008f0| 20 63 75 72 73 5f 63 6f | 6c 20 31 2b 20 20 36 20 | curs_co|l 1+ 6 |
|00000900| 2a 09 5c 20 78 0d 09 63 | 75 72 73 5f 72 6f 77 20 |*.\ x..c|urs_row |
|00000910| 31 2b 20 23 6c 65 61 64 | 20 2a 20 20 36 20 2b 09 |1+ #lead| * 6 +.|
|00000920| 09 09 09 5c 20 79 0d 09 | 67 6f 74 6f 78 79 20 20 |...\ y..|gotoxy |
|00000930| 2e 63 75 72 20 20 3b 0d | 0d 3a 20 28 44 49 53 50 |.cur ;.|.: (DISP|
|00000940| 4c 41 59 29 0d 09 6c 69 | 6d 3a 20 64 73 70 20 20 |LAY)..li|m: dsp |
|00000950| 2d 3e 20 65 6e 64 5f 64 | 69 73 70 0d 09 73 61 76 |-> end_d|isp..sav|
|00000960| 65 3a 20 64 73 70 20 20 | 30 20 3e 6c 65 6e 3a 20 |e: dsp |0 >len: |
|00000970| 64 73 70 0d 09 28 64 69 | 73 70 29 0d 09 72 65 73 |dsp..(di|sp)..res|
|00000980| 74 6f 72 65 3a 20 64 73 | 70 20 20 3b 0d 0d 0d 3a |tore: ds|p ;...:|
|00000990| 6c 6f 63 20 44 49 53 50 | 4c 41 59 20 09 09 20 5c |loc DISP|LAY .. \|
|000009a0| 09 7b 20 64 69 73 70 3f | 20 5c 20 72 65 64 72 61 |.{ disp?| \ redra|
|000009b0| 77 3f 20 65 6e 64 5f 64 | 69 73 70 20 63 75 72 73 |w? end_d|isp curs|
|000009c0| 5f 6c 69 6e 65 5f 70 6f | 73 20 31 73 74 3f 20 2d |_line_po|s 1st? -|
|000009d0| 2d 20 7d 0d 0d 09 51 45 | 3f 0d 09 49 46 09 71 65 |- }...QE|?..IF.qe|
|000009e0| 66 20 20 63 75 72 73 5f | 70 6f 73 20 64 75 70 20 |f curs_|pos dup |
|000009f0| 20 20 6f 70 65 6e 46 69 | 6c 65 3a 20 74 51 45 20 | openFi|le: tQE |
|00000a00| 20 30 45 58 49 54 0d 09 | 09 66 61 6c 73 65 20 2d | 0EXIT..|.false -|
|00000a10| 3e 20 51 45 3f 09 09 09 | 5c 20 66 61 69 6c 65 64 |> QE?...|\ failed|
|00000a20| 20 2d 20 61 73 73 75 6d | 65 20 51 45 20 68 61 73 | - assum|e QE has|
|00000a30| 20 67 6f 6e 65 20 61 77 | 61 79 0d 09 09 6f 70 65 | gone aw|ay...ope|
|00000a40| 6e 5f 73 72 63 5f 77 69 | 6e 64 6f 77 0d 09 54 48 |n_src_wi|ndow..TH|
|00000a50| 45 4e 0d 09 73 72 63 5f | 74 68 65 72 65 3f 20 20 |EN..src_|there? |
|00000a60| 30 45 58 49 54 0d 09 70 | 75 73 68 50 6f 72 74 20 |0EXIT..p|ushPort |
|00000a70| 20 73 65 74 3a 20 64 77 | 0d 09 28 64 69 73 70 6c | set: dw|..(displ|
|00000a80| 61 79 29 0d 09 63 75 72 | 73 5f 72 6f 77 20 30 3d |ay)..cur|s_row 0=|
|00000a90| 20 20 70 6f 73 3a 20 64 | 73 70 20 20 30 3c 3e 20 | pos: d|sp 0<> |
|00000aa0| 20 61 6e 64 20 20 2d 3e | 20 72 65 64 72 61 77 3f | and ->| redraw?|
|00000ab0| 0d 09 63 75 72 73 5f 72 | 6f 77 20 36 20 3e 20 20 |..curs_r|ow 6 > |
|00000ac0| 6c 69 6d 3a 20 64 73 70 | 20 20 73 69 7a 65 3a 20 |lim: dsp| size: |
|00000ad0| 64 73 70 20 20 3c 20 20 | 61 6e 64 20 20 2d 2d 3e |dsp < |and -->|
|00000ae0| 20 72 65 64 72 61 77 3f | 0d 09 72 65 64 72 61 77 | redraw?|..redraw|
|00000af0| 3f 20 49 46 20 20 73 65 | 74 5f 64 73 70 20 20 75 |? IF se|t_dsp u|
|00000b00| 70 64 61 74 65 3a 20 64 | 77 20 20 54 48 45 4e 0d |pdate: d|w THEN.|
|00000b10| 09 73 68 6f 77 5f 63 75 | 72 73 0d 09 70 6f 70 50 |.show_cu|rs..popP|
|00000b20| 6f 72 74 20 20 3b 6c 6f | 63 0d 0d 27 20 72 65 64 |ort ;lo|c..' red|
|00000b30| 72 61 77 20 20 73 65 74 | 64 72 61 77 3a 20 64 77 |raw set|draw: dw|
|00000b40| 09 09 5c 20 4e 6f 74 65 | 3a 20 74 68 69 73 20 6d |..\ Note|: this m|
|00000b50| 75 73 74 20 72 65 66 65 | 72 20 74 6f 20 74 68 65 |ust refe|r to the|
|00000b60| 20 45 58 50 4f 52 54 45 | 44 0d 09 09 09 09 09 09 | EXPORTE|D.......|
|00000b70| 09 5c 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 72 65 |.\ versi|on of re|
|00000b80| 64 72 61 77 2e 0d 0d 3a | 20 52 45 44 52 41 57 09 |draw...:| REDRAW.|
|00000b90| 74 72 75 65 20 20 64 69 | 73 70 6c 61 79 20 20 3b |true di|splay ;|
|00000ba0| 0d 3a 20 55 50 44 09 09 | 66 61 6c 73 65 20 64 69 |.: UPD..|false di|
|00000bb0| 73 70 6c 61 79 20 20 3b | 0d 0d 3a 20 31 55 50 0d |splay ;|..: 1UP.|
|00000bc0| 09 63 75 72 73 5f 70 6f | 73 20 31 2d 20 20 30 20 |.curs_po|s 1- 0 |
|00000bd0| 6d 61 78 20 20 64 75 70 | 20 3e 70 6f 73 3a 20 73 |max dup| >pos: s|
|00000be0| 20 3e 6c 69 6d 3a 20 73 | 0d 09 3c 6e 65 78 74 6c | >lim: s|..<nextl|
|00000bf0| 69 6e 65 3f 3a 20 73 20 | 20 30 45 58 49 54 0d 09 |ine?: s | 0EXIT..|
|00000c00| 70 6f 73 3a 20 73 20 20 | 64 75 70 20 49 46 20 20 |pos: s |dup IF |
|00000c10| 31 2b 20 20 54 48 45 4e | 20 20 2d 3e 20 63 75 72 |1+ THEN| -> cur|
|00000c20| 73 5f 70 6f 73 20 20 75 | 70 64 20 20 3b 0d 0d 3a |s_pos u|pd ;..:|
|00000c30| 20 31 44 4e 0d 09 63 75 | 72 73 5f 70 6f 73 20 64 | 1DN..cu|rs_pos d|
|00000c40| 75 70 20 3e 70 6f 73 3a | 20 73 20 3e 6c 69 6d 3a |up >pos:| s >lim:|
|00000c50| 20 73 0d 09 6e 65 78 74 | 6c 69 6e 65 3f 3a 20 73 | s..next|line?: s|
|00000c60| 20 20 30 45 58 49 54 0d | 09 6c 69 6d 3a 20 73 20 | 0EXIT.|.lim: s |
|00000c70| 31 2b 20 20 2d 3e 20 63 | 75 72 73 5f 70 6f 73 20 |1+ -> c|urs_pos |
|00000c80| 20 75 70 64 20 20 3b 0d | 0d 3a 20 31 4c 46 54 09 | upd ;.|.: 1LFT.|
|00000c90| 3b 09 5c 20 52 65 61 6c | 6c 79 20 6e 6f 74 20 6d |;.\ Real|ly not m|
|00000ca0| 75 63 68 20 70 6f 69 6e | 74 20 69 6e 20 69 6d 70 |uch poin|t in imp|
|00000cb0| 6c 65 6d 65 6e 74 69 6e | 67 20 74 68 65 73 65 21 |lementin|g these!|
|00000cc0| 0d 3a 20 31 52 54 20 20 | 20 3b 0d 0d 3a 20 48 4f |.: 1RT | ;..: HO|
|00000cd0| 4d 45 78 09 09 30 09 2d | 3e 20 63 75 72 73 5f 70 |MEx..0.-|> curs_p|
|00000ce0| 6f 73 20 20 75 70 64 20 | 20 3b 0d 3a 20 45 4e 44 |os upd | ;.: END|
|00000cf0| 09 09 73 69 7a 65 3a 20 | 73 09 2d 3e 20 63 75 72 |..size: |s.-> cur|
|00000d00| 73 5f 70 6f 73 20 20 75 | 70 64 20 20 3b 0d 0d 3a |s_pos u|pd ;..:|
|00000d10| 20 44 45 46 4e 55 50 20 | 20 7b 20 5c 20 70 6f 73 | DEFNUP | { \ pos|
|00000d20| 20 2d 2d 20 7d 0d 09 63 | 75 72 73 5f 70 6f 73 20 | -- }..c|urs_pos |
|00000d30| 31 2d 20 20 30 20 6d 61 | 78 20 20 64 75 70 20 20 |1- 0 ma|x dup |
|00000d40| 3e 70 6f 73 3a 20 73 20 | 20 3e 6c 69 6d 3a 20 73 |>pos: s | >lim: s|
|00000d50| 0d 09 42 45 47 49 4e 0d | 09 09 3c 6e 65 78 74 6c |..BEGIN.|..<nextl|
|00000d60| 69 6e 65 3f 3a 20 73 20 | 20 30 45 58 49 54 0d 09 |ine?: s | 0EXIT..|
|00000d70| 09 70 6f 73 3a 20 73 20 | 20 2d 3e 20 70 6f 73 20 |.pos: s | -> pos |
|00000d80| 20 70 6f 73 20 49 46 20 | 20 31 20 2b 2b 3e 20 70 | pos IF | 1 ++> p|
|00000d90| 6f 73 20 20 54 48 45 4e | 0d 09 09 70 74 72 3a 20 |os THEN|...ptr: |
|00000da0| 73 20 20 70 6f 73 20 2b | 20 20 63 40 20 20 26 20 |s pos +| c@ & |
|00000db0| 3a 20 20 3d 0d 09 09 49 | 46 20 20 70 6f 73 20 2d |: =...I|F pos -|
|00000dc0| 3e 20 63 75 72 73 5f 70 | 6f 73 20 20 75 70 64 20 |> curs_p|os upd |
|00000dd0| 20 45 58 49 54 20 20 54 | 48 45 4e 0d 09 41 47 41 | EXIT T|HEN..AGA|
|00000de0| 49 4e 20 20 3b 0d 0d 3a | 20 44 45 46 4e 44 4e 0d |IN ;..:| DEFNDN.|
|00000df0| 09 63 75 72 73 5f 70 6f | 73 20 20 64 75 70 20 20 |.curs_po|s dup |
|00000e00| 3e 70 6f 73 3a 20 73 20 | 20 3e 6c 69 6d 3a 20 73 |>pos: s | >lim: s|
|00000e10| 0d 09 42 45 47 49 4e 0d | 09 09 6e 65 78 74 6c 69 |..BEGIN.|..nextli|
|00000e20| 6e 65 3f 3a 20 73 20 20 | 30 45 58 49 54 0d 09 09 |ne?: s |0EXIT...|
|00000e30| 5e 31 73 74 3a 20 73 20 | 20 31 2b 20 20 63 40 20 |^1st: s | 1+ c@ |
|00000e40| 20 26 20 3a 20 20 3d 0d | 09 09 49 46 20 20 70 6f | & : =.|..IF po|
|00000e50| 73 3a 20 73 20 20 31 2b | 20 20 2d 3e 20 63 75 72 |s: s 1+| -> cur|
|00000e60| 73 5f 70 6f 73 20 20 75 | 70 64 20 20 45 58 49 54 |s_pos u|pd EXIT|
|00000e70| 20 20 54 48 45 4e 0d 09 | 41 47 41 49 4e 20 20 3b | THEN..|AGAIN ;|
|00000e80| 0d 0d 0d 5c 20 41 44 44 | 52 3e 43 55 52 53 20 69 |...\ ADD|R>CURS i|
|00000e90| 73 20 65 78 70 6f 72 74 | 65 64 2e 20 20 49 74 20 |s export|ed. It |
|00000ea0| 74 61 6b 65 73 20 61 20 | 64 69 63 74 69 6f 6e 61 |takes a |dictiona|
|00000eb0| 72 79 20 61 64 64 72 65 | 73 73 2c 20 61 6e 64 20 |ry addre|ss, and |
|00000ec0| 74 72 69 65 73 20 74 6f | 0d 5c 20 63 6f 6e 76 65 |tries to|.\ conve|
|00000ed0| 72 74 20 69 74 20 74 6f | 20 74 68 65 20 63 6f 72 |rt it to| the cor|
|00000ee0| 72 65 73 70 6f 6e 64 69 | 6e 67 20 22 63 75 72 73 |respondi|ng "curs|
|00000ef0| 6f 72 22 20 70 6f 73 69 | 74 69 6f 6e 20 69 6e 20 |or" posi|tion in |
|00000f00| 74 68 65 20 73 6f 75 72 | 63 65 20 66 69 6c 65 2e |the sour|ce file.|
|00000f10| 0d 5c 20 49 66 20 77 65 | 20 68 61 76 65 20 61 20 |.\ If we| have a |
|00000f20| 73 6f 75 72 63 65 20 77 | 69 6e 64 6f 77 20 6f 70 |source w|indow op|
|00000f30| 65 6e 2c 20 69 74 20 75 | 70 64 61 74 65 73 20 74 |en, it u|pdates t|
|00000f40| 68 65 20 63 75 72 73 6f | 72 20 70 6f 73 69 74 69 |he curso|r positi|
|00000f50| 6f 6e 20 69 6e 0d 5c 20 | 74 68 61 74 20 77 69 6e |on in.\ |that win|
|00000f60| 64 6f 77 20 61 73 20 77 | 65 6c 6c 2e 0d 0d 3a 20 |dow as w|ell...: |
|00000f70| 41 44 44 52 3e 43 55 52 | 53 20 20 7b 20 61 64 64 |ADDR>CUR|S { add|
|00000f80| 72 20 5c 20 6f 66 66 73 | 20 2d 2d 20 63 75 72 73 |r \ offs| -- curs|
|00000f90| 2d 70 6f 73 20 7d 0d 09 | 6c 6f 67 5f 74 68 65 72 |-pos }..|log_ther|
|00000fa0| 65 3f 20 20 4e 49 46 20 | 20 30 20 20 45 58 49 54 |e? NIF | 0 EXIT|
|00000fb0| 20 20 54 48 45 4e 0d 09 | 61 64 64 72 20 66 69 6c | THEN..|addr fil|
|00000fc0| 65 73 74 61 72 74 5f 64 | 70 20 2d 20 20 2d 3e 20 |estart_d|p - -> |
|00000fd0| 61 64 64 72 20 20 20 30 | 20 2d 3e 20 6f 66 66 73 |addr 0| -> offs|
|00000fe0| 0d 09 72 65 73 65 74 3a | 20 24 6c 6f 67 0d 09 42 |..reset:| $log..B|
|00000ff0| 45 47 49 4e 0d 09 09 6c | 65 6e 3a 20 24 6c 6f 67 |EGIN...l|en: $log|
|00001000| 20 20 30 3c 3d 20 20 49 | 46 20 20 30 20 20 45 58 | 0<= I|F 0 EX|
|00001010| 49 54 20 20 54 48 45 4e | 0d 09 09 5e 31 73 74 3a |IT THEN|...^1st:|
|00001020| 20 24 6c 6f 67 20 20 77 | 40 20 20 61 64 64 72 20 | $log w|@ addr |
|00001030| 3e 0d 09 09 49 46 20 20 | 28 20 66 6f 75 6e 64 20 |>...IF |( found |
|00001040| 29 0d 09 09 09 6f 66 66 | 73 20 2d 3e 20 63 75 72 |)....off|s -> cur|
|00001050| 73 5f 70 6f 73 20 20 75 | 70 64 20 20 20 6f 66 66 |s_pos u|pd off|
|00001060| 73 20 20 45 58 49 54 0d | 09 09 54 48 45 4e 0d 09 |s EXIT.|..THEN..|
|00001070| 09 5e 31 73 74 3a 20 24 | 6c 6f 67 20 20 32 2b 20 |.^1st: $|log 2+ |
|00001080| 20 40 20 20 2d 3e 20 6f | 66 66 73 0d 09 09 36 20 | @ -> o|ffs...6 |
|00001090| 73 6b 69 70 3a 20 24 6c | 6f 67 0d 09 41 47 41 49 |skip: $l|og..AGAI|
|000010a0| 4e 20 20 3b 0d 0d 0d 3a | 20 4d 4f 56 45 5f 43 55 |N ;...:| MOVE_CU|
|000010b0| 52 53 09 09 5c 20 28 20 | 70 6f 73 20 2d 2d 20 29 |RS..\ ( |pos -- )|
|000010c0| 09 45 78 70 6f 72 74 65 | 64 2e 0d 09 2d 3e 20 63 |.Exporte|d...-> c|
|000010d0| 75 72 73 5f 70 6f 73 20 | 20 75 70 64 20 20 3b 0d |urs_pos | upd ;.|
|000010e0| 0d 0d 3a 20 53 45 4c 45 | 43 54 44 57 09 09 09 5c |..: SELE|CTDW...\|
|000010f0| 20 45 78 70 6f 72 74 65 | 64 2e 0d 09 73 72 63 5f | Exporte|d...src_|
|00001100| 74 68 65 72 65 3f 20 20 | 30 45 58 49 54 0d 09 73 |there? |0EXIT..s|
|00001110| 65 6c 65 63 74 3a 20 64 | 77 20 20 3b 0d 0d 0d 3a |elect: d|w ;...:|
|00001120| 20 43 48 4b 5f 44 41 54 | 45 0d 09 67 65 74 46 69 | CHK_DAT|E..getFi|
|00001130| 6c 65 49 6e 66 6f 3a 20 | 73 72 63 20 20 4f 4b 3f |leInfo: |src OK?|
|00001140| 20 20 73 72 63 20 37 36 | 20 2b 20 40 0d 09 75 73 | src 76| + @..us|
|00001150| 65 5f 6d 6f 64 3f 0d 09 | 49 46 0d 09 09 62 61 73 |e_mod?..|IF...bas|
|00001160| 65 3a 20 74 68 65 4d 6f | 64 20 20 40 0d 09 45 4c |e: theMo|d @..EL|
|00001170| 53 45 0d 09 09 6d 6b 5f | 63 66 61 20 36 20 2b 20 |SE...mk_|cfa 6 + |
|00001180| 40 20 20 3f 64 75 70 20 | 4e 49 46 20 2d 31 20 54 |@ ?dup |NIF -1 T|
|00001190| 48 45 4e 0d 09 54 48 45 | 4e 0d 09 75 3e 0d 09 49 |HEN..THE|N..u>..I|
|000011a0| 46 0d 09 09 33 20 62 65 | 65 70 20 20 63 72 20 20 |F...3 be|ep cr |
|000011b0| 6d 73 67 23 20 37 36 09 | 5c 20 22 53 6f 75 72 63 |msg# 76.|\ "Sourc|
|000011c0| 65 20 6c 61 74 65 72 20 | 74 68 61 6e 20 63 6f 6d |e later |than com|
|000011d0| 70 69 6c 65 64 20 76 65 | 72 73 69 6f 6e 22 0d 09 |piled ve|rsion"..|
|000011e0| 54 48 45 4e 20 20 3b 0d | 0d 0d 5c 20 3f 4f 50 45 |THEN ;.|..\ ?OPE|
|000011f0| 4e 5f 49 4e 5f 51 45 20 | 69 73 20 65 78 70 6f 72 |N_IN_QE |is expor|
|00001200| 74 65 64 2e 20 20 49 74 | 20 73 65 65 73 20 69 66 |ted. It| sees if|
|00001210| 20 74 68 65 20 70 61 73 | 73 65 64 2d 69 6e 20 66 | the pas|sed-in f|
|00001220| 69 6c 65 20 63 61 6e 20 | 62 65 20 6f 70 65 6e 65 |ile can |be opene|
|00001230| 64 0d 5c 20 69 6e 20 51 | 75 69 63 6b 20 45 64 69 |d.\ in Q|uick Edi|
|00001240| 74 20 76 69 61 20 61 6e | 20 41 70 70 6c 65 45 76 |t via an| AppleEv|
|00001250| 65 6e 74 2e 20 20 54 68 | 65 20 76 61 6c 75 65 20 |ent. Th|e value |
|00001260| 51 45 3f 20 69 73 20 6c | 65 66 74 20 69 6e 64 69 |QE? is l|eft indi|
|00001270| 63 61 74 69 6e 67 0d 5c | 20 74 68 65 20 72 65 73 |cating.\| the res|
|00001280| 75 6c 74 2e 20 20 49 74 | 27 73 20 6e 6f 74 20 61 |ult. It|'s not a|
|00001290| 20 73 65 72 69 6f 75 73 | 20 70 72 6f 62 6c 65 6d | serious| problem|
|000012a0| 20 69 66 20 77 65 20 63 | 61 6e 27 74 20 66 69 6e | if we c|an't fin|
|000012b0| 64 20 74 68 65 20 66 69 | 6c 65 2c 20 62 75 74 0d |d the fi|le, but.|
|000012c0| 5c 20 69 74 27 73 20 6e | 69 63 65 20 69 66 20 77 |\ it's n|ice if w|
|000012d0| 65 20 63 61 6e 2e 0d 0d | 3a 20 3f 4f 50 45 4e 5f |e can...|: ?OPEN_|
|000012e0| 49 4e 5f 51 45 20 20 7b | 20 5e 66 69 6c 65 20 2d |IN_QE {| ^file -|
|000012f0| 2d 20 7d 0d 09 66 61 6c | 73 65 20 2d 3e 20 51 45 |- }..fal|se -> QE|
|00001300| 3f 0d 09 41 70 70 6c 65 | 45 76 65 6e 74 73 3f 20 |?..Apple|Events? |
|00001310| 20 30 45 58 49 54 0d 09 | 67 65 74 6e 61 6d 65 3a | 0EXIT..|getname:|
|00001320| 20 5e 66 69 6c 65 20 20 | 6e 61 6d 65 3a 20 46 53 | ^file |name: FS|
|00001330| 0d 09 30 20 73 65 74 56 | 72 65 66 3a 20 46 53 20 |..0 setV|ref: FS |
|00001340| 20 30 20 73 65 74 44 69 | 72 49 44 3a 20 46 53 0d | 0 setDi|rID: FS.|
|00001350| 09 6e 65 77 3a 20 46 53 | 0d 09 49 46 09 09 5c 20 |.new: FS|..IF..\ |
|00001360| 41 6e 20 65 72 72 6f 72 | 20 6f 63 63 75 72 65 64 |An error| occured|
|00001370| 2e 20 20 54 68 65 20 66 | 69 6c 65 20 6d 69 67 68 |. The f|ile migh|
|00001380| 74 20 68 61 76 65 20 62 | 65 65 6e 20 6f 70 65 6e |t have b|een open|
|00001390| 65 64 20 76 69 61 0d 09 | 09 09 5c 20 20 73 74 61 |ed via..|..\ sta|
|000013a0| 6e 64 61 72 64 20 66 69 | 6c 65 2e 20 20 49 6e 20 |ndard fi|le. In |
|000013b0| 74 68 69 73 20 63 61 73 | 65 2c 20 74 6f 70 44 69 |this cas|e, topDi|
|000013c0| 72 20 77 69 6c 6c 20 62 | 65 20 73 65 74 2e 20 20 |r will b|e set. |
|000013d0| 4c 65 74 27 73 0d 09 09 | 09 5c 20 20 74 72 79 2e |Let's...|.\ try.|
|000013e0| 2e 2e 0d 09 09 67 65 74 | 4e 61 6d 65 3a 20 5e 66 |.....get|Name: ^f|
|000013f0| 69 6c 65 20 20 6e 61 6d | 65 3a 20 46 53 0d 09 09 |ile nam|e: FS...|
|00001400| 30 20 73 65 74 56 72 65 | 66 3a 20 46 53 20 20 74 |0 setVre|f: FS t|
|00001410| 6f 70 44 69 72 20 73 65 | 74 44 69 72 49 44 3a 20 |opDir se|tDirID: |
|00001420| 46 53 0d 09 09 6e 65 77 | 3a 20 66 73 20 20 20 3f |FS...new|: fs ?|
|00001430| 45 58 49 54 09 09 09 5c | 20 4f 75 74 20 69 66 20 |EXIT...\| Out if |
|00001440| 77 65 20 73 74 69 6c 6c | 20 63 61 6e 27 74 20 66 |we still| can't f|
|00001450| 69 6e 64 20 69 74 0d 09 | 54 48 45 4e 0d 09 0d 09 |ind it..|THEN....|
|00001460| 67 65 74 4e 61 6d 65 3a | 20 46 53 20 20 6e 61 6d |getName:| FS nam|
|00001470| 65 3a 20 71 65 66 0d 09 | 67 65 74 56 72 65 66 3a |e: qef..|getVref:|
|00001480| 20 46 53 20 20 73 65 74 | 56 72 65 66 3a 20 71 65 | FS set|Vref: qe|
|00001490| 66 0d 09 67 65 74 44 69 | 72 49 44 3a 20 46 53 20 |f..getDi|rID: FS |
|000014a0| 20 73 65 74 44 69 72 49 | 44 3a 20 71 65 66 0d 09 | setDirI|D: qef..|
|000014b0| 71 65 66 20 30 20 30 20 | 20 20 6f 70 65 6e 46 69 |qef 0 0 | openFi|
|000014c0| 6c 65 3a 20 74 51 45 09 | 3f 45 58 49 54 0d 09 09 |le: tQE.|?EXIT...|
|000014d0| 09 09 09 09 5c 20 49 66 | 20 41 45 20 73 65 6e 64 |....\ If| AE send|
|000014e0| 20 66 61 69 6c 65 64 2c | 20 6d 61 79 62 65 20 51 | failed,| maybe Q|
|000014f0| 45 20 69 73 6e 27 74 20 | 74 68 65 72 65 20 61 74 |E isn't |there at|
|00001500| 20 61 6c 6c 21 0d 09 74 | 72 75 65 20 2d 3e 20 51 | all!..t|rue -> Q|
|00001510| 45 3f 20 20 3b 0d 09 09 | 0d 0d 3a 20 28 4f 50 45 |E? ;...|..: (OPE|
|00001520| 4e 5f 53 52 43 29 0d 09 | 32 64 75 70 20 20 70 75 |N_SRC)..|2dup pu|
|00001530| 74 3a 20 24 74 6d 70 20 | 20 6e 61 6d 65 3a 20 73 |t: $tmp | name: s|
|00001540| 72 63 0d 09 75 73 65 5f | 6d 6f 64 3f 0d 09 4e 49 |rc..use_|mod?..NI|
|00001550| 46 0d 09 09 6d 6b 5f 63 | 66 61 20 40 20 20 73 65 |F...mk_c|fa @ se|
|00001560| 74 44 69 72 49 44 3a 20 | 73 72 63 0d 09 54 48 45 |tDirID: |src..THE|
|00001570| 4e 0d 09 6f 70 65 6e 52 | 65 61 64 4f 6e 6c 79 3a |N..openR|eadOnly:|
|00001580| 20 73 72 63 20 20 3f 45 | 58 49 54 20 20 09 09 5c | src ?E|XIT ..\|
|00001590| 20 4f 75 74 20 6f 6e 20 | 65 72 72 6f 72 0d 09 63 | Out on |error..c|
|000015a0| 68 6b 5f 64 61 74 65 0d | 09 73 72 63 20 3f 6f 70 |hk_date.|.src ?op|
|000015b0| 65 6e 5f 69 6e 5f 51 45 | 20 20 51 45 3f 0d 09 49 |en_in_QE| QE?..I|
|000015c0| 46 09 63 6c 6f 73 65 3a | 20 73 72 63 20 20 64 72 |F.close:| src dr|
|000015d0| 6f 70 20 20 45 58 49 54 | 20 20 54 48 45 4e 0d 09 |op EXIT| THEN..|
|000015e0| 6f 70 65 6e 5f 73 72 63 | 5f 77 69 6e 64 6f 77 0d |open_src|_window.|
|000015f0| 09 67 65 74 3a 20 24 74 | 6d 70 20 20 74 69 74 6c |.get: $t|mp titl|
|00001600| 65 3a 20 64 77 0d 09 73 | 72 63 20 20 72 65 61 64 |e: dw..s|rc read|
|00001610| 41 6c 6c 3a 20 73 20 20 | 63 6c 6f 73 65 3a 20 73 |All: s |close: s|
|00001620| 72 63 20 20 64 72 6f 70 | 0d 09 30 20 2d 3e 20 63 |rc drop|..0 -> c|
|00001630| 75 72 73 5f 70 6f 73 20 | 20 73 65 74 5f 64 73 70 |urs_pos | set_dsp|
|00001640| 20 20 75 70 64 61 74 65 | 3a 20 64 77 20 20 3b 0d | update|: dw ;.|
|00001650| 0d 0d 3a 20 53 52 43 5f | 4e 41 4d 45 0d 09 6d 6b |..: SRC_|NAME..mk|
|00001660| 5f 63 66 61 20 3e 6e 61 | 6d 65 20 6e 3e 63 6f 75 |_cfa >na|me n>cou|
|00001670| 6e 74 20 31 2d 20 20 3b | 0d 0d 3a 20 4f 50 45 4e |nt 1- ;|..: OPEN|
|00001680| 5f 53 52 43 0d 09 73 72 | 63 5f 6e 61 6d 65 20 20 |_SRC..sr|c_name |
|00001690| 28 6f 70 65 6e 5f 73 72 | 63 29 20 20 3b 0d 0d 3a |(open_sr|c) ;..:|
|000016a0| 20 4f 50 45 4e 5f 53 52 | 43 5f 49 4e 5f 4d 4f 44 | OPEN_SR|C_IN_MOD|
|000016b0| 0d 09 74 78 74 4e 61 6d | 65 3a 20 74 68 65 4d 6f |..txtNam|e: theMo|
|000016c0| 64 20 20 28 6f 70 65 6e | 5f 73 72 63 29 20 20 3b |d (open|_src) ;|
|000016d0| 0d 0d 0d 5c 20 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |...\ The| followi|
|000016e0| 6e 67 20 77 6f 72 64 73 | 20 61 72 65 20 75 73 65 |ng words| are use|
|000016f0| 64 20 69 6e 20 63 6f 6e | 6a 75 6e 63 74 69 6f 6e |d in con|junction|
|00001700| 20 77 69 74 68 20 51 75 | 69 63 6b 20 45 64 69 74 | with Qu|ick Edit|
|00001710| 2e 0d 0d 5c 20 45 44 49 | 54 20 69 73 20 65 78 70 |...\ EDI|T is exp|
|00001720| 6f 72 74 65 64 2e 20 20 | 49 74 20 6f 70 65 6e 73 |orted. |It opens|
|00001730| 20 74 68 65 20 67 69 76 | 65 6e 20 66 69 6c 65 20 | the giv|en file |
|00001740| 69 6e 20 51 45 20 69 66 | 20 70 6f 73 73 69 62 6c |in QE if| possibl|
|00001750| 65 2e 0d 5c 20 55 73 61 | 67 65 3a 20 20 65 64 69 |e..\ Usa|ge: edi|
|00001760| 74 20 78 78 78 78 0d 0d | 3a 20 45 44 49 54 0d 09 |t xxxx..|: EDIT..|
|00001770| 73 65 74 4e 61 6d 65 3a | 20 73 72 63 0d 09 6f 70 |setName:| src..op|
|00001780| 65 6e 52 65 61 64 4f 6e | 6c 79 3a 20 73 72 63 20 |enReadOn|ly: src |
|00001790| 20 09 09 5c 20 47 65 74 | 20 66 75 6c 6c 20 70 61 | ..\ Get| full pa|
|000017a0| 74 68 6e 61 6d 65 2e 0d | 09 3f 65 72 72 6f 72 20 |thname..|.?error |
|000017b0| 36 36 09 09 09 09 5c 20 | 22 63 6f 75 6c 64 6e 27 |66....\ |"couldn'|
|000017c0| 74 20 66 69 6e 64 20 73 | 6f 75 72 63 65 20 66 69 |t find s|ource fi|
|000017d0| 6c 65 22 0d 09 73 72 63 | 20 3f 6f 70 65 6e 5f 69 |le"..src| ?open_i|
|000017e0| 6e 5f 51 45 0d 09 63 6c | 6f 73 65 3a 20 73 72 63 |n_QE..cl|ose: src|
|000017f0| 20 20 64 72 6f 70 0d 09 | 51 45 3f 20 6e 6f 74 20 | drop..|QE? not |
|00001800| 20 3f 65 72 72 6f 72 20 | 36 37 09 09 5c 20 22 51 | ?error |67..\ "Q|
|00001810| 75 69 63 6b 20 45 64 69 | 74 20 6e 6f 74 20 6f 70 |uick Edi|t not op|
|00001820| 65 6e 20 6f 72 20 73 79 | 73 37 20 6e 6f 74 20 72 |en or sy|s7 not r|
|00001830| 75 6e 6e 69 6e 67 22 0d | 3b 0d 0d 5c 20 4f 50 45 |unning".|;..\ OPE|
|00001840| 4e 53 4f 55 52 43 45 20 | 69 73 20 65 78 70 6f 72 |NSOURCE |is expor|
|00001850| 74 65 64 2e 20 20 54 68 | 69 73 20 77 6f 72 64 20 |ted. Th|is word |
|00001860| 69 73 20 63 61 6c 6c 65 | 64 20 66 72 6f 6d 20 51 |is calle|d from Q|
|00001870| 45 2c 20 73 6f 20 77 65 | 20 63 61 6e 20 61 73 73 |E, so we| can ass|
|00001880| 75 6d 65 0d 5c 20 51 45 | 20 69 73 20 74 68 65 72 |ume.\ QE| is ther|
|00001890| 65 2e 20 20 51 45 20 69 | 73 20 61 73 6b 69 6e 67 |e. QE i|s asking|
|000018a0| 20 75 73 20 74 6f 20 69 | 64 65 6e 74 69 66 79 20 | us to i|dentify |
|000018b0| 74 68 65 20 73 6f 75 72 | 63 65 20 66 69 6c 65 20 |the sour|ce file |
|000018c0| 66 6f 72 20 74 68 65 20 | 67 69 76 65 6e 0d 5c 20 |for the |given.\ |
|000018d0| 77 6f 72 64 2c 20 61 6e | 64 20 74 68 65 6e 20 63 |word, an|d then c|
|000018e0| 61 6c 6c 20 51 45 20 62 | 61 63 6b 20 74 6f 20 6f |all QE b|ack to o|
|000018f0| 70 65 6e 20 74 68 61 74 | 20 66 69 6c 65 2e 20 20 |pen that| file. |
|00001900| 54 68 65 20 66 6f 72 6d | 61 74 20 6f 66 20 74 68 |The form|at of th|
|00001910| 65 20 73 74 72 69 6e 67 | 0d 5c 20 73 65 6e 74 20 |e string|.\ sent |
|00001920| 66 72 6f 6d 20 51 45 20 | 28 6c 6f 63 61 74 65 64 |from QE |(located|
|00001930| 20 69 6e 20 51 45 73 74 | 72 29 20 69 73 20 20 46 | in QEst|r) is F|
|00001940| 69 6e 64 53 6f 75 72 63 | 65 20 78 78 78 78 78 2e |indSourc|e xxxxx.|
|00001950| 20 20 41 74 20 74 68 69 | 73 20 70 6f 69 6e 74 0d | At thi|s point.|
|00001960| 5c 20 77 65 27 72 65 20 | 45 56 41 4c 55 41 54 45 |\ we're |EVALUATE|
|00001970| 69 6e 67 2c 20 61 6e 64 | 20 68 61 76 65 20 70 61 |ing, and| have pa|
|00001980| 72 73 65 64 20 74 68 65 | 20 46 69 6e 64 53 6f 75 |rsed the| FindSou|
|00001990| 72 63 65 2c 20 73 6f 20 | 77 65 20 63 61 6e 20 6e |rce, so |we can n|
|000019a0| 6f 77 0d 5c 20 73 69 6d | 70 6c 79 20 63 61 6c 6c |ow.\ sim|ply call|
|000019b0| 20 44 45 46 49 4e 45 44 | 3f 2e 0d 5c 20 4e 6f 74 | DEFINED|?..\ Not|
|000019c0| 65 3a 20 74 68 69 73 20 | 77 6f 72 64 20 69 73 20 |e: this |word is |
|000019d0| 61 6c 73 6f 20 63 61 6c | 6c 65 64 20 4c 4f 43 41 |also cal|led LOCA|
|000019e0| 54 45 2c 20 77 68 69 63 | 68 20 49 20 6e 6f 77 20 |TE, whic|h I now |
|000019f0| 74 68 69 6e 6b 20 69 73 | 20 61 20 62 65 74 74 65 |think is| a bette|
|00001a00| 72 20 6e 61 6d 65 2e 0d | 0d 3a 20 4f 50 45 4e 53 |r name..|.: OPENS|
|00001a10| 4f 55 52 43 45 0d 09 64 | 65 66 69 6e 65 64 3f 0d |OURCE..d|efined?.|
|00001a20| 09 49 46 09 6c 6f 63 61 | 74 65 5f 73 72 63 0d 09 |.IF.loca|te_src..|
|00001a30| 45 4c 53 45 0d 09 09 31 | 20 62 65 65 70 0d 09 09 |ELSE...1| beep...|
|00001a40| 72 65 73 65 74 3a 20 51 | 45 73 74 72 0d 09 09 31 |reset: Q|Estr...1|
|00001a50| 31 20 73 6b 69 70 3a 20 | 51 45 73 74 72 20 20 09 |1 skip: |QEstr .|
|00001a60| 5c 20 73 6b 69 70 20 6f | 76 65 72 20 4f 70 65 6e |\ skip o|ver Open|
|00001a70| 53 6f 75 72 63 65 20 0d | 09 09 67 65 74 3a 20 51 |Source .|..get: Q|
|00001a80| 45 73 74 72 20 74 79 70 | 65 20 73 70 61 63 65 20 |Estr typ|e space |
|00001a90| 20 2e 22 20 4e 6f 74 20 | 44 65 66 69 6e 65 64 21 | ." Not |Defined!|
|00001aa0| 21 22 0d 09 54 48 45 4e | 20 20 3b 0d 0d 0d 5c 20 |!"..THEN| ;...\ |
|00001ab0| 64 65 66 3f 3f 20 69 73 | 20 65 78 70 6f 72 74 65 |def?? is| exporte|
|00001ac0| 64 2e 20 20 49 74 27 73 | 20 6e 65 65 64 65 64 20 |d. It's| needed |
|00001ad0| 62 79 20 74 68 65 20 51 | 45 20 73 70 65 63 69 61 |by the Q|E specia|
|00001ae0| 6c 20 6d 65 6e 75 20 69 | 74 65 6d 20 64 65 66 3f |l menu i|tem def?|
|00001af0| 3f 0d 0d 3a 20 64 65 66 | 3f 3f 20 5c 20 31 39 44 |?..: def|?? \ 19D|
|00001b00| 65 63 39 33 20 44 42 48 | 20 73 6c 69 67 68 74 6c |ec93 DBH| slightl|
|00001b10| 79 20 63 68 61 6e 67 65 | 64 20 74 6f 20 73 68 6f |y change|d to sho|
|00001b20| 77 20 75 73 20 74 68 65 | 20 77 6f 72 64 20 69 6e |w us the| word in|
|00001b30| 20 71 75 65 73 74 69 6f | 6e 20 61 6e 64 0d 09 09 | questio|n and...|
|00001b40| 5c 20 20 64 69 73 70 6c | 61 79 20 74 68 65 20 61 |\ displ|ay the a|
|00001b50| 6e 73 77 65 72 0d 09 72 | 65 73 65 74 3a 20 51 45 |nswer..r|eset: QE|
|00001b60| 73 74 72 0d 09 36 20 73 | 6b 69 70 3a 20 51 45 73 |str..6 s|kip: QEs|
|00001b70| 74 72 20 20 5c 20 73 6b | 69 70 20 6f 76 65 72 20 |tr \ sk|ip over |
|00001b80| 64 65 66 3f 3f 20 0d 09 | 67 65 74 3a 20 51 45 73 |def?? ..|get: QEs|
|00001b90| 74 72 20 74 79 70 65 20 | 73 70 61 63 65 0d 09 64 |tr type |space..d|
|00001ba0| 65 66 69 6e 65 64 3f 0d | 09 6e 69 70 0d 09 49 46 |efined?.|.nip..IF|
|00001bb0| 09 09 2e 22 20 44 65 66 | 69 6e 65 64 22 0d 09 45 |..." Def|ined"..E|
|00001bc0| 4c 53 45 09 2e 22 20 4e | 6f 74 20 44 65 66 69 6e |LSE.." N|ot Defin|
|00001bd0| 65 64 21 21 22 0d 09 54 | 48 45 4e 20 3b 0d 0d 0d |ed!!"..T|HEN ;...|
|00001be0| 5c 09 09 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 20 65 6e |\..=====|===== en|
|00001bf0| 64 20 6f 66 20 51 45 2d | 72 65 6c 61 74 65 64 20 |d of QE-|related |
|00001c00| 77 6f 72 64 73 20 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |words ==|========|
|00001c10| 3d 3d 3d 0d 0d 0d 3a 20 | 28 43 52 45 41 54 45 5f |===...: |(CREATE_|
|00001c20| 4c 4f 47 29 0d 09 68 65 | 72 65 20 2d 3e 20 66 69 |LOG)..he|re -> fi|
|00001c30| 6c 65 73 74 61 72 74 5f | 64 70 0d 09 6e 65 77 3a |lestart_|dp..new:|
|00001c40| 20 24 6c 67 31 20 20 6e | 65 77 3a 20 24 6c 67 32 | $lg1 n|ew: $lg2|
|00001c50| 0d 09 24 20 42 33 30 31 | 30 30 30 30 20 70 61 64 |..$ B301|0000 pad|
|00001c60| 20 21 09 5c 20 55 6e 69 | 71 75 65 20 6d 61 72 6b | !.\ Uni|que mark|
|00001c70| 65 72 20 66 6f 72 20 6c | 6f 67 20 66 69 6c 65 73 |er for l|og files|
|00001c80| 20 7c 20 76 65 72 73 69 | 6f 6e 0d 09 66 61 6c 73 | | versi|on..fals|
|00001c90| 65 20 2d 3e 20 72 65 6c | 6f 63 43 68 6b 3f 0d 09 |e -> rel|ocChk?..|
|00001ca0| 68 65 72 65 20 70 61 64 | 20 34 2b 20 72 65 6c 6f |here pad| 4+ relo|
|00001cb0| 63 21 0d 09 74 72 75 65 | 20 2d 3e 20 72 65 6c 6f |c!..true| -> relo|
|00001cc0| 63 43 68 6b 3f 0d 09 70 | 61 64 20 38 20 20 70 75 |cChk?..p|ad 8 pu|
|00001cd0| 74 3a 20 24 6c 67 31 20 | 20 3b 0d 0d 0d 3a 20 28 |t: $lg1 | ;...: (|
|00001ce0| 57 52 49 54 45 5f 4c 4f | 47 29 09 09 5c 20 43 61 |WRITE_LO|G)..\ Ca|
|00001cf0| 6c 6c 65 64 20 74 6f 20 | 77 72 69 74 65 20 6f 75 |lled to |write ou|
|00001d00| 74 20 74 68 65 20 6c 6f | 67 20 61 6e 64 20 70 72 |t the lo|g and pr|
|00001d10| 6f 66 69 6c 65 20 73 74 | 72 69 6e 67 73 20 74 6f |ofile st|rings to|
|00001d20| 20 74 68 65 0d 09 09 09 | 5c 20 20 32 20 63 6f 72 | the....|\ 2 cor|
|00001d30| 72 65 73 70 6f 6e 64 69 | 6e 67 20 66 69 6c 65 73 |respondi|ng files|
|00001d40| 0d 09 67 65 74 6e 61 6d | 65 3a 20 74 6f 70 66 69 |..getnam|e: topfi|
|00001d50| 6c 65 20 20 70 75 74 3a | 20 24 74 6d 70 0d 09 22 |le put:| $tmp.."|
|00001d60| 20 2e 6c 6f 67 22 20 20 | 61 64 64 3a 20 24 74 6d | .log" |add: $tm|
|00001d70| 70 0d 09 61 6c 6c 3a 20 | 24 74 6d 70 20 20 6e 61 |p..all: |$tmp na|
|00001d80| 6d 65 3a 20 6c 6f 67 0d | 09 75 73 65 5f 6d 6f 64 |me: log.|.use_mod|
|00001d90| 3f 20 20 49 46 20 20 30 | 20 20 45 4c 53 45 20 20 |? IF 0| ELSE |
|00001da0| 74 6f 70 44 69 72 20 20 | 54 48 45 4e 0d 09 73 65 |topDir |THEN..se|
|00001db0| 74 44 69 72 49 44 3a 20 | 6c 6f 67 0d 09 09 5c 20 |tDirID: |log...\ |
|00001dc0| 4f 4b 20 74 6f 20 75 73 | 65 20 7a 65 72 6f 20 66 |OK to us|e zero f|
|00001dd0| 6f 72 20 6d 6f 64 75 6c | 65 73 2c 20 73 69 6e 63 |or modul|es, sinc|
|00001de0| 65 20 74 68 65 20 6d 6f | 64 75 6c 65 27 73 20 73 |e the mo|dule's s|
|00001df0| 6f 75 72 63 65 0d 09 09 | 5c 20 66 69 6c 65 20 6e |ource...|\ file n|
|00001e00| 61 6d 65 20 77 69 6c 6c | 20 62 65 20 66 75 6c 6c |ame will| be full|
|00001e10| 79 20 71 75 61 6c 69 66 | 69 65 64 2e 0d 09 63 72 |y qualif|ied...cr|
|00001e20| 65 61 74 65 3a 20 6c 6f | 67 20 20 3f 64 75 70 0d |eate: lo|g ?dup.|
|00001e30| 09 49 46 20 20 2e 20 73 | 70 61 63 65 20 2e 22 20 |.IF . s|pace ." |
|00001e40| 49 2f 4f 20 65 72 72 20 | 63 72 65 61 74 69 6e 67 |I/O err |creating|
|00001e50| 20 6c 6f 67 20 66 69 6c | 65 20 22 20 61 62 6f 72 | log fil|e " abor|
|00001e60| 74 20 20 54 48 45 4e 0d | 09 30 20 73 65 74 44 69 |t THEN.|.0 setDi|
|00001e70| 72 49 44 3a 20 6c 6f 67 | 0d 09 27 74 79 70 65 20 |rID: log|..'type |
|00001e80| 53 4c 4f 47 20 20 27 74 | 79 70 65 20 4d 4f 50 53 |SLOG 't|ype MOPS|
|00001e90| 20 20 73 65 74 3a 20 6c | 6f 67 0d 09 72 65 73 65 | set: l|og..rese|
|00001ea0| 74 3a 20 24 6c 67 31 20 | 20 6c 65 6e 3a 20 24 6c |t: $lg1 | len: $l|
|00001eb0| 67 31 20 20 5e 31 73 74 | 3a 20 24 6c 67 31 20 32 |g1 ^1st|: $lg1 2|
|00001ec0| 2b 20 20 77 21 0d 09 61 | 6c 6c 3a 20 24 6c 67 31 |+ w!..a|ll: $lg1|
|00001ed0| 20 20 77 72 69 74 65 3a | 20 6c 6f 67 20 20 4f 4b | write:| log OK|
|00001ee0| 3f 20 20 61 6c 6c 3a 20 | 24 6c 67 32 20 20 77 72 |? all: |$lg2 wr|
|00001ef0| 69 74 65 3a 20 6c 6f 67 | 20 20 4f 4b 3f 0d 09 63 |ite: log| OK?..c|
|00001f00| 6c 6f 73 65 3a 20 6c 6f | 67 20 20 4f 4b 3f 0d 09 |lose: lo|g OK?..|
|00001f10| 72 65 6c 65 61 73 65 3a | 20 24 6c 67 31 20 20 72 |release:| $lg1 r|
|00001f20| 65 6c 65 61 73 65 3a 20 | 24 6c 67 32 20 20 3b 0d |elease: |$lg2 ;.|
|00001f30| 0d 0d 3a 20 4f 50 45 4e | 5f 4c 4f 47 09 09 09 5c |..: OPEN|_LOG...\|
|00001f40| 20 45 78 70 6f 72 74 65 | 64 20 28 66 6f 72 20 65 | Exporte|d (for e|
|00001f50| 72 72 6f 72 20 68 61 6e | 64 6c 69 6e 67 29 0d 09 |rror han|dling)..|
|00001f60| 66 61 6c 73 65 20 2d 3e | 20 6c 6f 67 5f 74 68 65 |false ->| log_the|
|00001f70| 72 65 3f 0d 09 63 6c 65 | 61 72 3a 20 24 6c 6f 67 |re?..cle|ar: $log|
|00001f80| 20 20 63 6c 65 61 72 3a | 20 24 70 72 66 0d 09 75 | clear:| $prf..u|
|00001f90| 73 65 5f 6d 6f 64 3f 0d | 09 49 46 0d 09 09 22 20 |se_mod?.|.IF..." |
|00001fa0| 2e 74 78 74 2e 6c 6f 67 | 22 20 65 78 74 6e 61 6d |.txt.log|" extnam|
|00001fb0| 65 3a 20 74 68 65 4d 6f | 64 20 20 70 75 74 3a 20 |e: theMo|d put: |
|00001fc0| 24 74 6d 70 0d 09 09 61 | 6c 6c 3a 20 24 74 6d 70 |$tmp...a|ll: $tmp|
|00001fd0| 20 20 6e 61 6d 65 3a 20 | 6c 6f 67 0d 5c 09 09 62 | name: |log.\..b|
|00001fe0| 61 73 65 3a 20 74 68 65 | 4d 6f 64 20 34 2b 20 40 |ase: the|Mod 4+ @|
|00001ff0| 20 20 73 65 74 44 69 72 | 49 44 3a 20 6c 6f 67 0d | setDir|ID: log.|
|00002000| 09 45 4c 53 45 0d 09 09 | 6d 6b 5f 63 66 61 20 34 |.ELSE...|mk_cfa 4|
|00002010| 2b 20 20 77 40 0d 09 09 | 4e 49 46 20 20 28 20 4e |+ w@...|NIF ( N|
|00002020| 6f 20 6c 6f 67 20 66 69 | 6c 65 20 29 0d 09 09 09 |o log fi|le )....|
|00002030| 63 6c 65 61 72 3a 20 24 | 6c 6f 67 20 20 45 58 49 |clear: $|log EXI|
|00002040| 54 0d 09 09 54 48 45 4e | 0d 09 09 22 20 2e 6c 6f |T...THEN|..." .lo|
|00002050| 67 22 20 61 64 64 3a 20 | 24 74 6d 70 0d 09 09 61 |g" add: |$tmp...a|
|00002060| 6c 6c 3a 20 24 74 6d 70 | 20 20 6e 61 6d 65 3a 20 |ll: $tmp| name: |
|00002070| 6c 6f 67 20 20 30 20 73 | 65 74 56 72 65 66 3a 20 |log 0 s|etVref: |
|00002080| 6c 6f 67 0d 09 09 6d 6b | 5f 63 66 61 20 40 20 20 |log...mk|_cfa @ |
|00002090| 73 65 74 44 69 72 49 44 | 3a 20 6c 6f 67 0d 09 54 |setDirID|: log..T|
|000020a0| 48 45 4e 0d 09 6f 70 65 | 6e 52 65 61 64 4f 6e 6c |HEN..ope|nReadOnl|
|000020b0| 79 3a 20 6c 6f 67 20 20 | 3f 45 58 49 54 09 09 5c |y: log |?EXIT..\|
|000020c0| 20 49 66 20 65 72 72 6f | 72 2c 20 6d 61 79 62 65 | If erro|r, maybe|
|000020d0| 20 6c 6f 67 20 6e 6f 74 | 20 74 68 65 72 65 2e 0d | log not| there..|
|000020e0| 09 70 61 64 20 38 20 72 | 65 61 64 3a 20 6c 6f 67 |.pad 8 r|ead: log|
|000020f0| 20 20 4f 4b 3f 0d 09 70 | 61 64 20 77 40 20 20 24 | OK?..p|ad w@ $|
|00002100| 20 42 33 30 31 20 3d 20 | 20 30 45 58 49 54 09 09 | B301 = | 0EXIT..|
|00002110| 09 5c 20 4f 75 74 20 69 | 66 20 6e 6f 74 20 76 61 |.\ Out i|f not va|
|00002120| 6c 69 64 20 6c 6f 67 20 | 66 69 6c 65 0d 09 74 72 |lid log |file..tr|
|00002130| 75 65 20 2d 3e 20 6c 6f | 67 5f 74 68 65 72 65 3f |ue -> lo|g_there?|
|00002140| 0d 09 75 73 65 5f 6d 6f | 64 3f 0d 09 49 46 0d 09 |..use_mo|d?..IF..|
|00002150| 09 62 61 73 65 3a 20 74 | 68 65 4d 6f 64 0d 09 09 |.base: t|heMod...|
|00002160| 23 69 6d 70 3a 20 74 68 | 65 4d 6f 64 20 20 32 2a |#imp: th|eMod 2*|
|00002170| 20 2b 20 20 38 20 2b 0d | 09 45 4c 53 45 0d 09 09 | + 8 +.|.ELSE...|
|00002180| 70 61 64 20 34 2b 20 40 | 61 62 73 0d 09 54 48 45 |pad 4+ @|abs..THE|
|00002190| 4e 0d 09 2d 3e 20 66 69 | 6c 65 73 74 61 72 74 5f |N..-> fi|lestart_|
|000021a0| 64 70 0d 09 6c 6f 67 20 | 20 70 61 64 20 32 2b 20 |dp..log | pad 2+ |
|000021b0| 77 40 20 38 20 2d 20 20 | 72 65 61 64 4e 3a 20 24 |w@ 8 - |readN: $|
|000021c0| 6c 6f 67 0d 09 6c 6f 67 | 20 20 72 65 61 64 52 65 |log..log| readRe|
|000021d0| 73 74 3a 20 24 70 72 66 | 20 20 63 6c 6f 73 65 3a |st: $prf| close:|
|000021e0| 20 6c 6f 67 20 20 64 72 | 6f 70 0d 5c 09 72 64 3a | log dr|op.\.rd:|
|000021f0| 20 24 6c 6f 67 20 20 72 | 64 3a 20 24 70 72 66 0d | $log r|d: $prf.|
|00002200| 5c 09 73 65 74 3a 20 66 | 77 69 6e 64 20 20 64 75 |\.set: f|wind du|
|00002210| 6d 70 3a 20 24 6c 6f 67 | 20 20 73 65 74 3a 20 64 |mp: $log| set: d|
|00002220| 77 09 09 5c 20 64 65 62 | 75 67 67 69 6e 67 20 6f |w..\ deb|ugging o|
|00002230| 6e 6c 79 0d 09 73 72 63 | 5f 74 68 65 72 65 3f 20 |nly..src|_there? |
|00002240| 49 46 20 20 72 65 64 72 | 61 77 20 20 54 48 45 4e |IF redr|aw THEN|
|00002250| 0d 09 74 72 75 65 20 2d | 3e 20 6c 6f 67 5f 74 68 |..true -|> log_th|
|00002260| 65 72 65 3f 20 20 3b 0d | 0d 0d 3a 20 43 4c 09 09 |ere? ;.|..: CL..|
|00002270| 5c 20 43 6c 6f 73 65 20 | 73 72 63 20 61 6e 64 20 |\ Close |src and |
|00002280| 6c 6f 67 20 65 74 63 2e | 0d 09 73 72 63 5f 74 68 |log etc.|..src_th|
|00002290| 65 72 65 3f 20 20 30 45 | 58 49 54 0d 09 63 6c 6f |ere? 0E|XIT..clo|
|000022a0| 73 65 3a 20 64 77 20 20 | 72 65 6c 65 61 73 65 3a |se: dw |release:|
|000022b0| 20 73 20 20 72 65 6c 65 | 61 73 65 3a 20 24 74 6d | s rele|ase: $tm|
|000022c0| 70 20 20 72 65 6c 65 61 | 73 65 3a 20 24 6c 6f 67 |p relea|se: $log|
|000022d0| 20 20 72 65 6c 65 61 73 | 65 3a 20 24 70 72 66 0d | releas|e: $prf.|
|000022e0| 09 63 6c 6f 73 65 3a 20 | 73 72 63 20 64 72 6f 70 |.close: |src drop|
|000022f0| 0d 09 66 61 6c 73 65 20 | 2d 3e 20 6c 6f 67 5f 74 |..false |-> log_t|
|00002300| 68 65 72 65 3f 20 20 66 | 61 6c 73 65 20 2d 3e 20 |here? f|alse -> |
|00002310| 73 72 63 5f 74 68 65 72 | 65 3f 20 20 66 61 6c 73 |src_ther|e? fals|
|00002320| 65 20 2d 3e 20 51 45 3f | 0d 09 73 65 74 46 77 69 |e -> QE?|..setFwi|
|00002330| 6e 64 0d 09 64 72 6f 70 | 3a 20 65 78 74 72 61 73 |nd..drop|: extras|
|00002340| 6d 6f 64 20 20 3b 0d 0d | 0d 3a 20 28 46 49 4e 44 |mod ;..|.: (FIND|
|00002350| 4d 4b 29 09 09 5c 20 28 | 20 63 66 61 20 30 20 2d |MK)..\ (| cfa 0 -|
|00002360| 2d 20 29 0d 09 64 72 6f | 70 20 20 64 75 70 20 2d |- )..dro|p dup -|
|00002370| 3e 20 6d 6b 5f 63 66 61 | 20 20 32 2d 20 77 40 78 |> mk_cfa| 2- w@x|
|00002380| 20 66 69 6c 65 2d 6d 61 | 72 6b 20 3d 20 2d 3e 20 | file-ma|rk = -> |
|00002390| 65 6e 64 54 72 61 76 3f | 20 20 3b 0d 09 0d 3a 20 |endTrav?| ;...: |
|000023a0| 46 49 4e 44 5f 4d 41 52 | 4b 3f 09 5c 20 28 20 73 |FIND_MAR|K?.\ ( s|
|000023b0| 74 61 72 74 2d 61 64 64 | 72 20 2d 2d 20 29 0d 09 |tart-add|r -- )..|
|000023c0| 5b 27 5d 20 28 66 69 6e | 64 6d 6b 29 20 20 30 20 |['] (fin|dmk) 0 |
|000023d0| 20 72 6f 74 20 20 74 72 | 61 76 2d 66 72 6f 6d 0d | rot tr|av-from.|
|000023e0| 09 65 6e 64 54 72 61 76 | 3f 20 20 3b 0d 0d 0d 3a |.endTrav|? ;...:|
|000023f0| 20 4c 4f 43 41 54 45 5f | 53 52 43 20 20 7b 20 74 | LOCATE_|SRC { t|
|00002400| 68 65 43 66 61 20 2d 2d | 20 7d 09 09 5c 20 45 78 |heCfa --| }..\ Ex|
|00002410| 70 6f 72 74 65 64 2e 20 | 20 4f 70 65 6e 73 20 73 |ported. | Opens s|
|00002420| 6f 75 72 63 65 20 77 69 | 6e 64 6f 77 20 66 6f 72 |ource wi|ndow for|
|00002430| 20 67 69 76 65 6e 0d 09 | 09 09 09 09 09 09 09 5c | given..|.......\|
|00002440| 20 64 65 66 69 6e 69 74 | 69 6f 6e 2c 20 69 66 20 | definit|ion, if |
|00002450| 70 6f 73 73 69 62 6c 65 | 2e 0d 09 6c 6f 63 6b 3a |possible|...lock:|
|00002460| 20 65 78 74 72 61 73 6d | 6f 64 09 09 5c 20 53 69 | extrasm|od..\ Si|
|00002470| 6e 63 65 20 77 65 20 68 | 61 76 65 20 61 20 77 69 |nce we h|ave a wi|
|00002480| 6e 64 6f 77 2c 20 61 6e | 64 20 77 69 6e 64 6f 77 |ndow, an|d window|
|00002490| 73 0d 09 09 09 09 09 09 | 5c 20 6d 75 73 74 6e 27 |s.......|\ mustn'|
|000024a0| 74 20 6d 6f 76 65 21 0d | 09 75 73 65 5f 6d 6f 64 |t move!.|.use_mod|
|000024b0| 3f 0d 09 4e 49 46 09 74 | 68 65 43 66 61 20 66 69 |?..NIF.t|heCfa fi|
|000024c0| 6e 64 5f 6d 61 72 6b 3f | 0d 09 09 4e 49 46 0d 09 |nd_mark?|...NIF..|
|000024d0| 09 09 73 72 63 5f 74 68 | 65 72 65 3f 20 20 49 46 |..src_th|ere? IF|
|000024e0| 20 20 63 6c 20 20 54 48 | 45 4e 20 20 45 58 49 54 | cl TH|EN EXIT|
|000024f0| 0d 09 09 54 48 45 4e 0d | 09 54 48 45 4e 0d 09 75 |...THEN.|.THEN..u|
|00002500| 73 65 5f 6d 6f 64 3f 0d | 09 49 46 09 6f 70 65 6e |se_mod?.|.IF.open|
|00002510| 5f 73 72 63 5f 69 6e 5f | 6d 6f 64 20 20 6f 70 65 |_src_in_|mod ope|
|00002520| 6e 5f 6c 6f 67 0d 09 09 | 66 61 6c 73 65 20 2d 3e |n_log...|false ->|
|00002530| 20 75 73 65 5f 6d 6f 64 | 3f 09 5c 20 46 6f 72 20 | use_mod|?.\ For |
|00002540| 6e 65 78 74 20 74 69 6d | 65 0d 09 45 4c 53 45 0d |next tim|e..ELSE.|
|00002550| 09 09 6f 70 65 6e 5f 73 | 72 63 20 20 6f 70 65 6e |..open_s|rc open|
|00002560| 5f 6c 6f 67 0d 09 54 48 | 45 4e 0d 09 51 45 3f 20 |_log..TH|EN..QE? |
|00002570| 49 46 20 20 74 68 65 43 | 66 61 20 3e 6e 61 6d 65 |IF theC|fa >name|
|00002580| 20 6e 3e 63 6f 75 6e 74 | 20 20 66 69 6e 64 3a 20 | n>count| find: |
|00002590| 74 51 45 20 20 64 72 6f | 70 20 20 54 48 45 4e 20 |tQE dro|p THEN |
|000025a0| 20 3b 0d 0d 0d 3a 20 55 | 53 45 5f 4d 4f 44 55 4c | ;...: U|SE_MODUL|
|000025b0| 45 09 5c 20 28 20 5e 6d | 6f 64 20 2d 2d 20 29 0d |E.\ ( ^m|od -- ).|
|000025c0| 09 2d 3e 20 74 68 65 4d | 6f 64 20 20 74 72 75 65 |.-> theM|od true|
|000025d0| 20 2d 3e 20 75 73 65 5f | 6d 6f 64 3f 20 20 3b 0d | -> use_|mod? ;.|
|000025e0| 0d 3a 20 50 52 4f 46 5f | 53 54 52 09 5c 20 45 78 |.: PROF_|STR.\ Ex|
|000025f0| 70 6f 72 74 65 64 20 2d | 20 63 61 6c 6c 65 64 20 |ported -| called |
|00002600| 62 79 20 44 65 62 75 67 | 4d 6f 64 20 74 6f 20 67 |by Debug|Mod to g|
|00002610| 65 74 20 68 6f 6c 64 20 | 6f 66 20 74 68 65 20 70 |et hold |of the p|
|00002620| 72 6f 66 69 6c 65 0d 09 | 09 09 5c 20 20 73 74 72 |rofile..|..\ str|
|00002630| 69 6e 67 20 61 6e 64 20 | 73 6f 75 72 63 65 20 73 |ing and |source s|
|00002640| 74 72 69 6e 67 2e 0d 09 | 72 65 73 65 74 3a 20 24 |tring...|reset: $|
|00002650| 70 72 66 20 20 72 65 73 | 65 74 3a 20 73 0d 09 24 |prf res|et: s..$|
|00002660| 70 72 66 20 20 73 20 20 | 3b 0d 0d 0d 5c 09 09 09 |prf s |;...\...|
|00002670| 3d 3d 3d 3d 3d 3d 3d 3d | 20 43 6f 64 65 20 66 6f |========| Code fo|
|00002680| 72 20 6c 6f 61 64 69 6e | 67 20 61 6e 64 20 72 65 |r loadin|g and re|
|00002690| 6c 6f 61 64 69 6e 67 20 | 3d 3d 3d 3d 3d 3d 3d 3d |loading |========|
|000026a0| 3d 0d 0d 3a 20 50 55 52 | 47 45 5f 49 4e 49 54 5f |=..: PUR|GE_INIT_|
|000026b0| 41 43 54 49 4f 4e 53 20 | 20 7b 20 5c 20 69 6e 64 |ACTIONS | { \ ind|
|000026c0| 65 78 20 2d 2d 20 7d 0d | 09 09 09 5c 20 57 65 20 |ex -- }.|...\ We |
|000026d0| 63 61 6c 6c 20 74 68 69 | 73 20 62 65 66 6f 72 65 |call thi|s before|
|000026e0| 20 72 65 6c 6f 61 64 69 | 6e 67 2c 20 74 6f 20 67 | reloadi|ng, to g|
|000026f0| 65 74 20 72 69 64 20 6f | 66 20 61 6e 79 0d 09 09 |et rid o|f any...|
|00002700| 09 5c 20 69 6e 76 61 6c | 69 64 20 65 6e 74 72 69 |.\ inval|id entri|
|00002710| 65 73 20 6f 75 74 20 6f | 66 20 49 4e 49 54 5f 41 |es out o|f INIT_A|
|00002720| 43 54 49 4f 4e 53 2e 0d | 09 30 20 2d 3e 20 69 6e |CTIONS..|.0 -> in|
|00002730| 64 65 78 0d 09 42 45 47 | 49 4e 0d 09 09 69 6e 64 |dex..BEG|IN...ind|
|00002740| 65 78 20 20 73 69 7a 65 | 3a 20 69 6e 69 74 5f 61 |ex size|: init_a|
|00002750| 63 74 69 6f 6e 73 20 20 | 3e 3d 20 20 3f 45 58 49 |ctions |>= ?EXI|
|00002760| 54 0d 09 09 69 6e 64 65 | 78 20 20 5e 65 6c 65 6d |T...inde|x ^elem|
|00002770| 3a 20 69 6e 69 74 5f 61 | 63 74 69 6f 6e 73 20 20 |: init_a|ctions |
|00002780| 40 61 62 73 20 20 68 65 | 72 65 20 75 3e 0d 09 09 |@abs he|re u>...|
|00002790| 49 46 09 69 6e 64 65 78 | 20 20 72 65 6d 6f 76 65 |IF.index| remove|
|000027a0| 3a 20 69 6e 69 74 5f 61 | 63 74 69 6f 6e 73 0d 09 |: init_a|ctions..|
|000027b0| 09 45 4c 53 45 09 31 20 | 2b 2b 3e 20 69 6e 64 65 |.ELSE.1 |++> inde|
|000027c0| 78 0d 09 09 54 48 45 4e | 0d 09 41 47 41 49 4e 20 |x...THEN|..AGAIN |
|000027d0| 20 3b 0d 0d 0d 3a 20 3c | 43 53 20 20 7b 20 61 64 | ;...: <|CS { ad|
|000027e0| 64 72 20 6c 65 6e 20 63 | 20 5c 20 6f 66 66 73 20 |dr len c| \ offs |
|000027f0| 2d 2d 20 61 64 64 72 20 | 6c 65 6e 20 6f 66 66 73 |-- addr |len offs|
|00002800| 20 7d 0d 09 6c 65 6e 20 | 2d 3e 20 6f 66 66 73 0d | }..len |-> offs.|
|00002810| 09 61 64 64 72 20 20 61 | 64 64 72 20 6c 65 6e 20 |.addr a|ddr len |
|00002820| 2b 20 31 2d 20 20 44 4f | 0d 09 09 69 20 63 40 20 |+ 1- DO|...i c@ |
|00002830| 20 63 20 3d 20 49 46 20 | 20 4c 45 41 56 45 20 20 | c = IF | LEAVE |
|00002840| 54 48 45 4e 0d 09 09 2d | 31 20 2b 2b 3e 20 6f 66 |THEN...-|1 ++> of|
|00002850| 66 73 0d 09 2d 31 20 2b | 4c 4f 4f 50 0d 09 61 64 |fs..-1 +|LOOP..ad|
|00002860| 64 72 20 6c 65 6e 20 6f | 66 66 73 20 20 3b 0d 0d |dr len o|ffs ;..|
|00002870| 0d 3a 20 2b 4c 4f 47 09 | 09 74 72 75 65 20 20 2d |.: +LOG.|.true -|
|00002880| 3e 20 6c 6f 67 3f 20 20 | 3b 0d 3a 20 2d 4c 4f 47 |> log? |;.: -LOG|
|00002890| 09 09 66 61 6c 73 65 20 | 2d 3e 20 6c 6f 67 3f 20 |..false |-> log? |
|000028a0| 20 3b 0d 0d 0d 3a 20 53 | 41 56 45 2d 4c 4f 41 44 | ;...: S|AVE-LOAD|
|000028b0| 0d 09 67 65 74 4e 61 6d | 65 3a 20 74 6f 70 46 69 |..getNam|e: topFi|
|000028c0| 6c 65 20 20 70 75 74 3a | 20 24 74 6d 70 20 20 62 |le put:| $tmp b|
|000028d0| 6c 20 2b 3a 20 24 74 6d | 70 20 20 72 65 73 65 74 |l +: $tm|p reset|
|000028e0| 3a 20 24 74 6d 70 0d 09 | 26 20 3a 20 20 3c 63 68 |: $tmp..|& : <ch|
|000028f0| 73 65 61 72 63 68 3a 20 | 24 74 6d 70 20 20 6e 65 |search: |$tmp ne|
|00002900| 67 61 74 65 20 73 6b 69 | 70 3a 20 24 74 6d 70 0d |gate ski|p: $tmp.|
|00002910| 09 67 65 74 3a 20 24 74 | 6d 70 20 20 73 48 64 72 |.get: $t|mp sHdr|
|00002920| 20 20 66 69 6c 65 2d 6d | 61 72 6b 20 77 2c 0d 09 | file-m|ark w,..|
|00002930| 74 6f 70 44 69 72 20 2c | 20 20 6c 6f 67 3f 20 77 |topDir ,| log? w|
|00002940| 2c 20 20 74 6f 70 44 61 | 74 65 20 2c 0d 09 72 65 |, topDa|te ,..re|
|00002950| 6c 65 61 73 65 3a 20 24 | 74 6d 70 20 20 3b 0d 0d |lease: $|tmp ;..|
|00002960| 0d 3a 20 4c 4f 41 44 49 | 54 20 20 7b 20 5c 20 73 |.: LOADI|T { \ s|
|00002970| 76 43 75 72 73 20 2d 2d | 20 7d 0d 09 77 61 74 63 |vCurs --| }..watc|
|00002980| 68 63 75 72 73 20 20 70 | 75 72 67 65 5f 69 6e 69 |hcurs p|urge_ini|
|00002990| 74 5f 61 63 74 69 6f 6e | 73 0d 09 63 75 72 73 20 |t_action|s..curs |
|000029a0| 2d 3e 20 73 76 43 75 72 | 73 20 2d 63 75 72 73 0d |-> svCur|s -curs.|
|000029b0| 09 67 65 74 46 69 6c 65 | 49 6e 66 6f 3a 20 74 6f |.getFile|Info: to|
|000029c0| 70 46 69 6c 65 20 20 4e | 49 46 20 20 74 6f 70 46 |pFile N|IF topF|
|000029d0| 69 6c 65 20 37 36 20 2b | 20 40 20 20 45 4c 53 45 |ile 76 +| @ ELSE|
|000029e0| 20 20 30 20 20 54 48 45 | 4e 20 20 2d 3e 20 74 6f | 0 THE|N -> to|
|000029f0| 70 44 61 74 65 0d 09 63 | 6c 65 61 72 3a 20 74 6f |pDate..c|lear: to|
|00002a00| 70 46 69 6c 65 0d 09 74 | 6f 70 44 69 72 20 20 73 |pFile..t|opDir s|
|00002a10| 65 74 44 69 72 49 44 3a | 20 74 6f 70 46 69 6c 65 |etDirID:| topFile|
|00002a20| 0d 09 73 61 76 65 2d 6c | 6f 61 64 0d 09 4d 42 63 |..save-l|oad..MBc|
|00002a30| 6f 6d 70 20 4c 64 46 72 | 6f 6d 4d 6f 64 20 20 64 |omp LdFr|omMod d|
|00002a40| 72 6f 70 3a 20 6c 6f 61 | 64 46 69 6c 65 0d 5c 09 |rop: loa|dFile.\.|
|00002a50| 6c 6f 67 3f 20 20 49 46 | 20 20 2d 6c 6f 67 20 20 |log? IF| -log |
|00002a60| 54 48 45 4e 0d 09 73 76 | 43 75 72 73 20 2d 3e 20 |THEN..sv|Curs -> |
|00002a70| 63 75 72 73 0d 09 61 72 | 72 6f 77 63 75 72 73 20 |curs..ar|rowcurs |
|00002a80| 20 3b 0d 0d 0d 3a 20 4c | 20 20 20 20 20 20 20 20 | ;...: L| |
|00002a90| 20 5c 20 4c 6f 61 64 0d | 09 70 75 73 68 4e 65 77 | \ Load.|.pushNew|
|00002aa0| 3a 20 6c 6f 61 64 66 69 | 6c 65 0d 09 27 74 79 70 |: loadfi|le..'typ|
|00002ab0| 65 20 54 45 58 54 20 31 | 20 73 74 64 67 65 74 3a |e TEXT 1| stdget:|
|00002ac0| 20 74 6f 70 66 69 6c 65 | 0d 09 49 46 09 67 65 74 | topfile|..IF.get|
|00002ad0| 44 69 72 49 44 20 20 64 | 75 70 20 20 73 65 74 44 |DirID d|up setD|
|00002ae0| 69 72 49 44 3a 20 74 6f | 70 46 69 6c 65 20 20 2d |irID: to|pFile -|
|00002af0| 3e 20 74 6f 70 44 69 72 | 0d 09 09 6c 6f 61 64 69 |> topDir|...loadi|
|00002b00| 74 0d 09 45 4c 53 45 0d | 09 09 63 6c 65 61 72 3a |t..ELSE.|..clear:|
|00002b10| 20 6c 6f 61 64 66 69 6c | 65 0d 09 54 48 45 4e 20 | loadfil|e..THEN |
|00002b20| 20 3b 20 20 0d 0d 3a 20 | 46 4d 09 09 5c 20 46 6f | ; ..: |FM..\ Fo|
|00002b30| 72 67 65 74 20 74 6f 20 | 6d 61 72 6b 0d 09 68 65 |rget to |mark..he|
|00002b40| 72 65 20 66 69 6e 64 5f | 6d 61 72 6b 3f 20 20 6e |re find_|mark? n|
|00002b50| 6f 74 20 61 62 6f 72 74 | 22 20 4e 6f 20 6d 61 72 |ot abort|" No mar|
|00002b60| 6b 21 22 0d 09 6d 6b 5f | 63 66 61 20 3e 6c 69 6e |k!"..mk_|cfa >lin|
|00002b70| 6b 20 28 66 6f 72 67 65 | 74 29 20 20 3b 0d 0d 3a |k (forge|t) ;..:|
|00002b80| 20 52 4c 0d 09 68 65 72 | 65 20 66 69 6e 64 5f 6d | RL..her|e find_m|
|00002b90| 61 72 6b 3f 20 20 6e 6f | 74 20 61 62 6f 72 74 22 |ark? no|t abort"|
|00002ba0| 20 4c 20 6e 6f 74 20 64 | 6f 6e 65 21 22 0d 09 63 | L not d|one!"..c|
|00002bb0| 6c 09 09 5c 20 43 6c 6f | 73 65 20 73 6f 75 72 63 |l..\ Clo|se sourc|
|00002bc0| 65 20 77 69 6e 64 6f 77 | 20 69 66 20 6f 70 65 6e |e window| if open|
|00002bd0| 20 61 73 20 69 74 20 70 | 72 6f 62 61 62 6c 79 0d | as it p|robably.|
|00002be0| 09 09 09 5c 20 77 6f 6e | 27 74 20 62 65 20 76 61 |...\ won|'t be va|
|00002bf0| 6c 69 64 20 61 6e 79 20 | 6d 6f 72 65 2e 0d 09 70 |lid any |more...p|
|00002c00| 75 73 68 6e 65 77 3a 20 | 6c 6f 61 64 66 69 6c 65 |ushnew: |loadfile|
|00002c10| 0d 09 73 72 63 5f 6e 61 | 6d 65 20 20 6e 61 6d 65 |..src_na|me name|
|00002c20| 3a 20 74 6f 70 46 69 6c | 65 0d 09 6d 6b 5f 63 66 |: topFil|e..mk_cf|
|00002c30| 61 20 40 20 20 64 75 70 | 20 20 2d 3e 20 74 6f 70 |a @ dup| -> top|
|00002c40| 44 69 72 20 20 73 65 74 | 44 69 72 49 44 3a 20 74 |Dir set|DirID: t|
|00002c50| 6f 70 46 69 6c 65 0d 5c | 09 6d 6b 5f 63 66 61 20 |opFile.\|.mk_cfa |
|00002c60| 34 2b 20 77 40 78 20 20 | 2b 2b 3e 20 6c 6f 67 3f |4+ w@x |++> log?|
|00002c70| 0d 09 6d 6b 5f 63 66 61 | 20 3e 6c 69 6e 6b 20 28 |..mk_cfa| >link (|
|00002c80| 66 6f 72 67 65 74 29 20 | 20 6c 6f 61 64 69 74 20 |forget) | loadit |
|00002c90| 20 3b 0d 0d 0d 0d 5c 20 | 50 75 74 20 4e 45 45 44 | ;....\ |Put NEED|
|00002ca0| 20 58 58 58 20 61 74 20 | 74 68 65 20 73 74 61 72 | XXX at |the star|
|00002cb0| 74 20 6f 66 20 61 20 66 | 69 6c 65 20 74 68 61 74 |t of a f|ile that|
|00002cc0| 20 72 65 71 75 69 72 65 | 73 20 58 58 58 20 74 6f | require|s XXX to|
|00002cd0| 20 62 65 20 61 6c 72 65 | 61 64 79 0d 5c 20 6c 6f | be alre|ady.\ lo|
|00002ce0| 61 64 65 64 2e 20 20 49 | 66 20 74 68 65 20 77 6f |aded. I|f the wo|
|00002cf0| 72 64 20 58 58 58 20 69 | 73 20 6e 6f 74 20 64 65 |rd XXX i|s not de|
|00002d00| 66 69 6e 65 64 2c 20 61 | 20 66 69 6c 65 20 6f 66 |fined, a| file of|
|00002d10| 20 74 68 61 74 20 6e 61 | 6d 65 20 69 73 20 6c 6f | that na|me is lo|
|00002d20| 61 64 65 64 2e 0d 5c 20 | 4e 6f 74 65 20 74 68 61 |aded..\ |Note tha|
|00002d30| 74 20 6f 6e 6c 79 20 6f | 6e 65 20 62 6c 61 6e 6b |t only o|ne blank|
|00002d40| 20 6f 72 20 74 61 62 20 | 69 73 20 61 6c 6c 6f 77 | or tab |is allow|
|00002d50| 65 64 20 62 65 74 77 65 | 65 6e 20 4e 45 45 44 20 |ed betwe|en NEED |
|00002d60| 61 6e 64 20 74 68 65 20 | 69 6c 65 6e 61 6d 65 2e |and the |ilename.|
|00002d70| 0d 5c 20 54 68 69 73 20 | 69 73 20 62 65 63 61 75 |.\ This |is becau|
|00002d80| 73 65 20 77 65 20 75 73 | 65 20 57 4f 52 44 22 20 |se we us|e WORD" |
|00002d90| 74 6f 20 72 65 61 64 20 | 74 68 65 20 69 6c 65 6e |to read |the ilen|
|00002da0| 61 6d 65 2c 20 73 6f 20 | 74 68 61 74 20 6e 61 6d |ame, so |that nam|
|00002db0| 65 73 20 77 69 74 68 0d | 5c 20 65 6d 62 65 64 64 |es with.|\ embedd|
|00002dc0| 65 64 20 62 6c 61 6e 6b | 73 20 61 72 65 20 61 6c |ed blank|s are al|
|00002dd0| 6c 6f 77 65 64 2e 0d 0d | 3a 20 4e 45 45 44 20 20 |lowed...|: NEED |
|00002de0| 7b 20 5c 20 73 76 4c 6f | 67 20 73 76 54 6f 70 44 |{ \ svLo|g svTopD|
|00002df0| 69 72 20 73 76 54 6f 70 | 44 61 74 65 20 2d 2d 20 |ir svTop|Date -- |
|00002e00| 7d 0d 09 77 6f 72 64 22 | 20 20 63 6f 75 6e 74 09 |}..word"| count.|
|00002e10| 09 09 09 5c 20 47 65 74 | 20 6e 61 6d 65 20 66 72 |...\ Get| name fr|
|00002e20| 6f 6d 20 69 6e 70 75 74 | 0d 09 70 75 74 3a 20 24 |om input|..put: $|
|00002e30| 74 6d 70 20 20 62 6c 20 | 2b 3a 20 24 74 6d 70 20 |tmp bl |+: $tmp |
|00002e40| 20 72 65 73 65 74 3a 20 | 24 74 6d 70 0d 09 26 20 | reset: |$tmp..& |
|00002e50| 3a 20 20 3c 63 68 73 65 | 61 72 63 68 3a 20 24 74 |: <chse|arch: $t|
|00002e60| 6d 70 20 20 6e 65 67 61 | 74 65 20 73 6b 69 70 3a |mp nega|te skip:|
|00002e70| 20 24 74 6d 70 0d 09 67 | 65 74 3a 20 24 74 6d 70 | $tmp..g|et: $tmp|
|00002e80| 20 20 73 46 69 6e 64 20 | 20 6e 69 70 0d 09 49 46 | sFind | nip..IF|
|00002e90| 20 20 72 65 6c 65 61 73 | 65 3a 20 24 74 6d 70 20 | releas|e: $tmp |
|00002ea0| 20 45 58 49 54 20 20 54 | 48 45 4e 09 5c 20 46 6f | EXIT T|HEN.\ Fo|
|00002eb0| 75 6e 64 20 2d 20 6e 6f | 74 68 69 6e 67 20 65 6c |und - no|thing el|
|00002ec0| 73 65 20 74 6f 20 64 6f | 0d 09 0d 09 09 09 09 09 |se to do|........|
|00002ed0| 09 09 09 09 5c 20 4e 6f | 74 20 66 6f 75 6e 64 20 |....\ No|t found |
|00002ee0| 2d 20 6c 6f 61 64 20 69 | 74 0d 09 6c 61 74 65 73 |- load i|t..lates|
|00002ef0| 74 20 6e 61 6d 65 3e 20 | 32 2d 20 77 40 78 20 20 |t name> |2- w@x |
|00002f00| 66 69 6c 65 2d 6d 61 72 | 6b 20 3d 0d 09 49 46 09 |file-mar|k =..IF.|
|00002f10| 09 09 09 5c 20 54 68 61 | 74 20 77 61 73 20 61 20 |...\ Tha|t was a |
|00002f20| 66 69 6c 65 2d 6d 61 72 | 6b 20 2d 20 66 6f 72 67 |file-mar|k - forg|
|00002f30| 65 74 20 69 74 20 73 6f | 20 52 4c 0d 09 09 09 09 |et it so| RL.....|
|00002f40| 09 5c 20 20 77 6f 6e 27 | 74 20 6d 61 6b 65 20 75 |.\ won'|t make u|
|00002f50| 73 20 72 65 6c 6f 61 64 | 20 4e 45 45 44 65 64 20 |s reload| NEEDed |
|00002f60| 66 69 6c 65 73 0d 09 09 | 6c 61 74 65 73 74 20 6e |files...|latest n|
|00002f70| 3e 6c 69 6e 6b 20 28 66 | 6f 72 67 65 74 29 0d 09 |>link (f|orget)..|
|00002f80| 54 48 45 4e 0d 09 70 75 | 73 68 6e 65 77 3a 20 6c |THEN..pu|shnew: l|
|00002f90| 6f 61 64 46 69 6c 65 20 | 20 67 65 74 3a 20 24 74 |oadFile | get: $t|
|00002fa0| 6d 70 20 20 31 2d 20 20 | 6e 61 6d 65 3a 20 74 6f |mp 1- |name: to|
|00002fb0| 70 66 69 6c 65 0d 09 72 | 65 6c 65 61 73 65 3a 20 |pfile..r|elease: |
|00002fc0| 24 74 6d 70 0d 09 6c 6f | 67 3f 20 2d 3e 20 73 76 |$tmp..lo|g? -> sv|
|00002fd0| 4c 6f 67 0d 09 2d 6c 6f | 67 09 09 09 09 09 09 09 |Log..-lo|g.......|
|00002fe0| 5c 20 44 6f 6e 27 74 20 | 6c 6f 67 20 4e 45 45 44 |\ Don't |log NEED|
|00002ff0| 65 64 20 66 69 6c 65 0d | 09 6f 70 65 6e 52 65 61 |ed file.|.openRea|
|00003000| 64 4f 6e 6c 79 3a 20 74 | 6f 70 46 69 6c 65 20 20 |dOnly: t|opFile |
|00003010| 4f 4b 3f 0d 09 63 6c 6f | 73 65 3a 20 74 6f 70 46 |OK?..clo|se: topF|
|00003020| 69 6c 65 20 20 64 72 6f | 70 0d 09 67 65 74 46 69 |ile dro|p..getFi|
|00003030| 6c 65 49 6e 66 6f 3a 20 | 74 6f 70 46 69 6c 65 20 |leInfo: |topFile |
|00003040| 20 4f 4b 3f 0d 09 74 6f | 70 44 61 74 65 20 2d 3e | OK?..to|pDate ->|
|00003050| 20 73 76 54 6f 70 44 61 | 74 65 0d 09 74 6f 70 44 | svTopDa|te..topD|
|00003060| 69 72 20 2d 3e 20 73 76 | 54 6f 70 44 69 72 0d 5c |ir -> sv|TopDir.\|
|00003070| 09 67 65 74 44 69 72 49 | 44 3a 20 74 6f 70 46 69 |.getDirI|D: topFi|
|00003080| 6c 65 20 20 2d 3e 20 74 | 6f 70 44 69 72 09 5c 20 |le -> t|opDir.\ |
|00003090| 49 27 6d 20 6e 6f 74 20 | 74 6f 6f 20 73 75 72 65 |I'm not |too sure|
|000030a0| 20 77 68 79 20 74 68 69 | 73 20 64 6f 65 73 6e 27 | why thi|s doesn'|
|000030b0| 74 20 77 6f 72 6b 0d 09 | 30 20 2d 3e 20 74 6f 70 |t work..|0 -> top|
|000030c0| 44 69 72 0d 09 63 6c 65 | 61 72 3a 20 74 6f 70 46 |Dir..cle|ar: topF|
|000030d0| 69 6c 65 09 09 09 09 09 | 5c 20 4c 65 61 76 65 73 |ile.....|\ Leaves|
|000030e0| 20 6e 61 6d 65 20 66 69 | 65 6c 64 20 69 6e 74 61 | name fi|eld inta|
|000030f0| 63 74 0d 09 6c 6f 61 64 | 69 74 09 09 09 09 09 09 |ct..load|it......|
|00003100| 09 5c 20 4c 6f 61 64 20 | 4e 45 45 44 65 64 20 66 |.\ Load |NEEDed f|
|00003110| 69 6c 65 0d 09 73 76 4c | 6f 67 20 49 46 20 20 2b |ile..svL|og IF +|
|00003120| 6c 6f 67 20 20 54 48 45 | 4e 0d 09 73 76 54 6f 70 |log THE|N..svTop|
|00003130| 44 61 74 65 20 2d 3e 20 | 74 6f 70 44 61 74 65 0d |Date -> |topDate.|
|00003140| 09 73 76 54 6f 70 44 69 | 72 20 20 2d 3e 20 74 6f |.svTopDi|r -> to|
|00003150| 70 44 69 72 0d 09 73 61 | 76 65 2d 6c 6f 61 64 20 |pDir..sa|ve-load |
|00003160| 20 3b 0d 0d 27 20 63 6c | 20 20 73 65 74 72 65 6c | ;..' cl| setrel|
|00003170| 65 61 73 65 0d 00 00 00 | 00 00 00 00 00 00 00 00 |ease....|........|
|00003180| 00 00 01 00 00 00 01 3c | 00 00 00 3c 00 00 00 3b |.......<|...<...;|
|00003190| 00 00 02 66 36 09 00 09 | 7f 31 06 00 00 00 00 02 |...f6...|.1......|
|000031a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031b0| 0d 45 78 74 72 61 73 6d | 6f 64 2e 74 78 74 02 00 |.Extrasm|od.txt..|
|000031c0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000031d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000031e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031f0| 00 00 ab 06 23 37 00 00 | 00 00 00 00 01 77 00 00 |....#7..|.....w..|
|00003200| 02 67 35 6e 00 09 7f 31 | 06 00 00 00 00 00 00 00 |.g5n...1|........|
|00003210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 0a 00 00 |........|........|
|00003240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003250| 00 00 00 00 00 06 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003260| 00 00 a7 b0 50 23 00 01 | 34 49 05 00 00 00 02 68 |....P#..|4I.....h|
|00003270| 2f 4a 00 0d 7f 31 06 00 | 00 00 00 0d 00 00 00 00 |/J...1..|........|
|00003280| 00 00 00 38 00 00 00 00 | 00 00 15 86 00 00 02 09 |...8....|........|
|00003290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 23 71 |........|......#q|
|000032b0| 00 00 23 7b 00 00 00 00 | 00 00 00 00 00 00 01 00 |..#{....|........|
|000032c0| 00 00 01 3c 00 00 00 3c | 00 00 00 3b 00 71 f3 b8 |...<...<|...;.q..|
|000032d0| 0f 6e 00 00 00 1c 00 32 | 00 00 4d 49 46 4f 00 00 |.n.....2|..MIFO..|
|000032e0| 00 0a 00 80 00 00 00 00 | 00 00 00 71 fa 6c 08 4d |........|...q.l.M|
|000032f0| 69 73 63 49 6e 66 6f 00 | 00 00 00 00 00 00 00 00 |iscInfo.|........|
+--------+-------------------------+-------------------------+--------+--------+