Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !Internet » StarterPak/!Newsbase/Transports/taylor/addgroup
StarterPak/!Newsbase/Transports/taylor/addgroup
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !Internet |
Filename: | StarterPak/!Newsbase/Transports/taylor/addgroup |
Read OK: | ✔ |
File size: | 0A40 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM >addgroup 20REM add a group to the <NewsBase$TaylorConfig>.active file 30REM 40REM Author: Gunnar ZREPORTtl 50REM Date: 19-Sep-1994 60REM Last modified: 13-Nov-1994 70 80ONERROR REPORT:PRINT" at line ";ERL:END 90 100LIBRARY "<NewsBase$TaylorDir>.ScriptLib" 110 120REM get the command line parameters. 130PROCentry 140IF (argc = 3) THEN 150 IF argv$(1) = "-n" THEN 160 N$ = argv$(2) 170 ELSE 180 PROCexit(1, "Invalid Parameters") 190 ENDIF 200ELSE 210 PROCexit(1, "Invalid Parameters") 220ENDIF 230REM remove spaces from group name 240group$ = FNstripspaces(N$) 250group$ = FNtolower(group$) 260 270path$ = FNgetenv("NewsBase$TaylorConfig") 280IF path$ = "" THEN 290 PROCexit(1, "NewsBase$TaylorConfig has not been found") 300ENDIF 310 320IF FNobjtype(path$ + ".active") <> 0 THEN 330 REM we make a copy of our current groups file. Then we copy 340 REM that back line by line, inserting the new group where it 350 REM lexically fits in. 360 OSCLI ("copy " + path$ + ".active " + path$ + ".active~ F~C~V") 370 in% = OPENIN(path$ + ".active~") 380 IF in% = 0 THEN PROCexit(1, "could not open active~ file") 390 out% = OPENOUT(path$ + ".active") 400 IF out% = 0 THEN PROCexit(1, "could not open active file") 410 o$ = GET$#in% 420 WHILE o$ <> "" 430 n$ = GET$#in% 440 BPUT #out%, o$ 450 REM IF o$ < group$ AND n$ > group$ THEN 460 IF n$="" THEN 470 BPUT #out%, group$ 480 ENDIF 490 o$ = n$ 500 ENDWHILE 510 CLOSE #in% 520 CLOSE #out% 530ELSE 540 out% = OPENOUT(path$ + ".active") 550 IF out% = 0 THEN PROCexit(1, "could not open groups file") 560 BPUT #out%, group$ 570 CLOSE #out% 580ENDIF 590 600OSCLI ("settype " + path$ + ".active FFF") 610 620REM update newgroups file... I am not sure wether this is going 630REM to work as I expect it to... If this file is not writable, 631REM don't complain, just ignore it. 640REM p1$ = FNgetenv("NewsDir$Dir") 650REM IF p1$ <> "" THEN 660REM p1$ += ".scrap.NewTaylor" 670REM IF FNobjtype(p1$) <> 0 THEN 680REM u% = OPENUP(p1$) 690REM ELSE 700REM u% = OPENOUT(p1$) 710REM ENDIF 711REM IF u% > 0 THEN 720REM BPUT#u%, group$ 730REM CLOSE#u% 731REM ENDIF 740REM ENDIF 750 760PROCexit(0, "Group added") 770END 780 790REM convert all characters in a string to lowercase. 800REM 810DEF FNtolower(a$) 820LOCAL i%, c$, cdiff 830cdiff = ASC"a" - ASC"A" 840FOR i% = 1 TO LENa$ 850 c$ = MID$(a$, i%, 1) 860 IF c$ >= "A" AND c$ <= "Z" THEN 870 MID$(a$, i%, 1) = CHR$(ASC(c$) + cdiff) 880 ENDIF 890= a$ 900 910REM exit from here, returning appropriate info. 920REM 930DEFPROCexit(n%,a$) 940OSCLI("set NewsBase$ReturnCode "+STR$n%) 950OSCLI("set NewsBase$ReturnInfo "+a$) 960END 970ENDPROC 980 990DEFFNobjtype(f$) 1000LOCALF% 1010SYS"XOS_File",17,f$TOt%;F% 1020IF(F%AND1)THEN=-1:ELSE=t%
� >addgroup <� add a group to the <NewsBase$TaylorConfig>.active file � (!� Author: Gunnar Z�tl 2!� Date: 19-Sep-1994 <!� Last modified: 13-Nov-1994 F P� �:�" at line ";�:� Z d'ț "<NewsBase$TaylorDir>.ScriptLib" n x&� get the command line parameters. � �entry �� (argc = 3) � � � argv$(1) = "-n" � � N$ = argv$(2) � � �* �exit(1, "Invalid Parameters") � � �� �& �exit(1, "Invalid Parameters") �� �#� remove spaces from group name �group$ = �stripspaces(N$) �group$ = �tolower(group$) ,path$ = �getenv("NewsBase$TaylorConfig") � path$ = "" � "< �exit(1, "NewsBase$TaylorConfig has not been found") ,� 6 @(� �objtype(path$ + ".active") <> 0 � JA � we make a copy of our current groups file. Then we copy TB � that back line by line, inserting the new group where it ^ � lexically fits in. hC � ("copy " + path$ + ".active " + path$ + ".active~ F~C~V") r# in% = �(path$ + ".active~") |; � in% = 0 � �exit(1, "could not open active~ file") �# out% = �(path$ + ".active") �; � out% = 0 � �exit(1, "could not open active file") � o$ = �#in% � ȕ o$ <> "" � n$ = �#in% � � #out%, o$ �1 � IF o$ < group$ AND n$ > group$ THEN � � n$="" � � � #out%, group$ � � � o$ = n$ � � � � #in% � #out% � # out% = �(path$ + ".active") &; � out% = 0 � �exit(1, "could not open groups file") 0 � #out%, group$ : � #out% D� N X*� ("settype " + path$ + ".active FFF") b lA� update newgroups file... I am not sure wether this is going v@� to work as I expect it to... If this file is not writable, w%� don't complain, just ignore it. �#� p1$ = FNgetenv("NewsDir$Dir") �� IF p1$ <> "" THEN �#� p1$ += ".scrap.NewTaylor" �%� IF FNobjtype(p1$) <> 0 THEN �� u% = OPENUP(p1$) �� ELSE �� u% = OPENOUT(p1$) �� ENDIF �� IF u% > 0 THEN �� BPUT#u%, group$ �� CLOSE#u% �� ENDIF �� ENDIF � ��exit(0, "Group added") � 6� convert all characters in a string to lowercase. � *� �tolower(a$) 4� i%, c$, cdiff >cdiff = �"a" - �"A" H� i% = 1 � �a$ R c$ = �a$, i%, 1) \! � c$ >= "A" � c$ <= "Z" � f* �a$, i%, 1) = �(�(c$) + cdiff) p � z= a$ � �1� exit from here, returning appropriate info. �� ���exit(n%,a$) �%�("set NewsBase$ReturnCode "+�n%) �$�("set NewsBase$ReturnInfo "+a$) �� �� � �ݤobjtype(f$) ��F% �ș"XOS_File",17,f$�t%;F% ��(F%�1)�=-1:�=t% �
00000000 0d 00 0a 0f f4 20 3e 61 64 64 67 72 6f 75 70 0d |..... >addgroup.| 00000010 00 14 3c f4 20 61 64 64 20 61 20 67 72 6f 75 70 |..<. add a group| 00000020 20 74 6f 20 74 68 65 20 3c 4e 65 77 73 42 61 73 | to the <NewsBas| 00000030 65 24 54 61 79 6c 6f 72 43 6f 6e 66 69 67 3e 2e |e$TaylorConfig>.| 00000040 61 63 74 69 76 65 20 66 69 6c 65 0d 00 1e 05 f4 |active file.....| 00000050 0d 00 28 21 f4 20 41 75 74 68 6f 72 3a 20 20 20 |..(!. Author: | 00000060 20 20 20 20 20 20 47 75 6e 6e 61 72 20 5a f6 74 | Gunnar Z.t| 00000070 6c 0d 00 32 21 f4 20 44 61 74 65 3a 20 20 20 20 |l..2!. Date: | 00000080 20 20 20 20 20 20 20 31 39 2d 53 65 70 2d 31 39 | 19-Sep-19| 00000090 39 34 0d 00 3c 21 f4 20 4c 61 73 74 20 6d 6f 64 |94..<!. Last mod| 000000a0 69 66 69 65 64 3a 20 20 31 33 2d 4e 6f 76 2d 31 |ified: 13-Nov-1| 000000b0 39 39 34 0d 00 46 04 0d 00 50 19 ee 85 20 f6 3a |994..F...P... .:| 000000c0 f1 22 20 61 74 20 6c 69 6e 65 20 22 3b 9e 3a e0 |." at line ";.:.| 000000d0 0d 00 5a 04 0d 00 64 27 c8 9b 20 22 3c 4e 65 77 |..Z...d'.. "<New| 000000e0 73 42 61 73 65 24 54 61 79 6c 6f 72 44 69 72 3e |sBase$TaylorDir>| 000000f0 2e 53 63 72 69 70 74 4c 69 62 22 0d 00 6e 04 0d |.ScriptLib"..n..| 00000100 00 78 26 f4 20 67 65 74 20 74 68 65 20 63 6f 6d |.x&. get the com| 00000110 6d 61 6e 64 20 6c 69 6e 65 20 70 61 72 61 6d 65 |mand line parame| 00000120 74 65 72 73 2e 0d 00 82 0a f2 65 6e 74 72 79 0d |ters......entry.| 00000130 00 8c 12 e7 20 28 61 72 67 63 20 3d 20 33 29 20 |.... (argc = 3) | 00000140 8c 0d 00 96 1b 20 20 20 20 e7 20 61 72 67 76 24 |..... . argv$| 00000150 28 31 29 20 3d 20 22 2d 6e 22 20 8c 0d 00 a0 19 |(1) = "-n" .....| 00000160 20 20 20 20 20 20 20 20 4e 24 20 3d 20 61 72 67 | N$ = arg| 00000170 76 24 28 32 29 0d 00 aa 09 20 20 20 20 cc 0d 00 |v$(2).... ...| 00000180 b4 2a 20 20 20 20 20 20 20 20 f2 65 78 69 74 28 |.* .exit(| 00000190 31 2c 20 22 49 6e 76 61 6c 69 64 20 50 61 72 61 |1, "Invalid Para| 000001a0 6d 65 74 65 72 73 22 29 0d 00 be 09 20 20 20 20 |meters").... | 000001b0 cd 0d 00 c8 05 cc 0d 00 d2 26 20 20 20 20 f2 65 |.........& .e| 000001c0 78 69 74 28 31 2c 20 22 49 6e 76 61 6c 69 64 20 |xit(1, "Invalid | 000001d0 50 61 72 61 6d 65 74 65 72 73 22 29 0d 00 dc 05 |Parameters")....| 000001e0 cd 0d 00 e6 23 f4 20 72 65 6d 6f 76 65 20 73 70 |....#. remove sp| 000001f0 61 63 65 73 20 66 72 6f 6d 20 67 72 6f 75 70 20 |aces from group | 00000200 6e 61 6d 65 0d 00 f0 1d 67 72 6f 75 70 24 20 3d |name....group$ =| 00000210 20 a4 73 74 72 69 70 73 70 61 63 65 73 28 4e 24 | .stripspaces(N$| 00000220 29 0d 00 fa 1d 67 72 6f 75 70 24 20 3d 20 a4 74 |)....group$ = .t| 00000230 6f 6c 6f 77 65 72 28 67 72 6f 75 70 24 29 0d 01 |olower(group$)..| 00000240 04 04 0d 01 0e 2c 70 61 74 68 24 20 3d 20 a4 67 |.....,path$ = .g| 00000250 65 74 65 6e 76 28 22 4e 65 77 73 42 61 73 65 24 |etenv("NewsBase$| 00000260 54 61 79 6c 6f 72 43 6f 6e 66 69 67 22 29 0d 01 |TaylorConfig")..| 00000270 18 12 e7 20 70 61 74 68 24 20 3d 20 22 22 20 8c |... path$ = "" .| 00000280 0d 01 22 3c 20 20 20 20 f2 65 78 69 74 28 31 2c |.."< .exit(1,| 00000290 20 22 4e 65 77 73 42 61 73 65 24 54 61 79 6c 6f | "NewsBase$Taylo| 000002a0 72 43 6f 6e 66 69 67 20 68 61 73 20 6e 6f 74 20 |rConfig has not | 000002b0 62 65 65 6e 20 66 6f 75 6e 64 22 29 0d 01 2c 05 |been found")..,.| 000002c0 cd 0d 01 36 04 0d 01 40 28 e7 20 a4 6f 62 6a 74 |...6...@(. .objt| 000002d0 79 70 65 28 70 61 74 68 24 20 2b 20 22 2e 61 63 |ype(path$ + ".ac| 000002e0 74 69 76 65 22 29 20 3c 3e 20 30 20 8c 0d 01 4a |tive") <> 0 ...J| 000002f0 41 20 20 20 20 f4 20 77 65 20 6d 61 6b 65 20 61 |A . we make a| 00000300 20 63 6f 70 79 20 6f 66 20 6f 75 72 20 63 75 72 | copy of our cur| 00000310 72 65 6e 74 20 67 72 6f 75 70 73 20 66 69 6c 65 |rent groups file| 00000320 2e 20 54 68 65 6e 20 77 65 20 63 6f 70 79 0d 01 |. Then we copy..| 00000330 54 42 20 20 20 20 f4 20 74 68 61 74 20 62 61 63 |TB . that bac| 00000340 6b 20 6c 69 6e 65 20 62 79 20 6c 69 6e 65 2c 20 |k line by line, | 00000350 69 6e 73 65 72 74 69 6e 67 20 74 68 65 20 6e 65 |inserting the ne| 00000360 77 20 67 72 6f 75 70 20 77 68 65 72 65 20 69 74 |w group where it| 00000370 0d 01 5e 1c 20 20 20 20 f4 20 6c 65 78 69 63 61 |..^. . lexica| 00000380 6c 6c 79 20 66 69 74 73 20 69 6e 2e 0d 01 68 43 |lly fits in...hC| 00000390 20 20 20 20 ff 20 28 22 63 6f 70 79 20 22 20 2b | . ("copy " +| 000003a0 20 70 61 74 68 24 20 2b 20 22 2e 61 63 74 69 76 | path$ + ".activ| 000003b0 65 20 22 20 2b 20 70 61 74 68 24 20 2b 20 22 2e |e " + path$ + ".| 000003c0 61 63 74 69 76 65 7e 20 46 7e 43 7e 56 22 29 0d |active~ F~C~V").| 000003d0 01 72 23 20 20 20 20 69 6e 25 20 3d 20 8e 28 70 |.r# in% = .(p| 000003e0 61 74 68 24 20 2b 20 22 2e 61 63 74 69 76 65 7e |ath$ + ".active~| 000003f0 22 29 0d 01 7c 3b 20 20 20 20 e7 20 69 6e 25 20 |")..|; . in% | 00000400 3d 20 30 20 8c 20 f2 65 78 69 74 28 31 2c 20 22 |= 0 . .exit(1, "| 00000410 63 6f 75 6c 64 20 6e 6f 74 20 6f 70 65 6e 20 61 |could not open a| 00000420 63 74 69 76 65 7e 20 66 69 6c 65 22 29 0d 01 86 |ctive~ file")...| 00000430 23 20 20 20 20 6f 75 74 25 20 3d 20 ae 28 70 61 |# out% = .(pa| 00000440 74 68 24 20 2b 20 22 2e 61 63 74 69 76 65 22 29 |th$ + ".active")| 00000450 0d 01 90 3b 20 20 20 20 e7 20 6f 75 74 25 20 3d |...; . out% =| 00000460 20 30 20 8c 20 f2 65 78 69 74 28 31 2c 20 22 63 | 0 . .exit(1, "c| 00000470 6f 75 6c 64 20 6e 6f 74 20 6f 70 65 6e 20 61 63 |ould not open ac| 00000480 74 69 76 65 20 66 69 6c 65 22 29 0d 01 9a 12 20 |tive file").... | 00000490 20 20 20 6f 24 20 3d 20 be 23 69 6e 25 0d 01 a4 | o$ = .#in%...| 000004a0 13 20 20 20 20 c8 95 20 6f 24 20 3c 3e 20 22 22 |. .. o$ <> ""| 000004b0 0d 01 ae 16 20 20 20 20 20 20 20 20 6e 24 20 3d |.... n$ =| 000004c0 20 be 23 69 6e 25 0d 01 b8 17 20 20 20 20 20 20 | .#in%.... | 000004d0 20 20 d5 20 23 6f 75 74 25 2c 20 6f 24 0d 01 c2 | . #out%, o$...| 000004e0 31 20 20 20 20 20 20 20 20 f4 20 49 46 20 6f 24 |1 . IF o$| 000004f0 20 3c 20 67 72 6f 75 70 24 20 41 4e 44 20 6e 24 | < group$ AND n$| 00000500 20 3e 20 67 72 6f 75 70 24 20 54 48 45 4e 0d 01 | > group$ THEN..| 00000510 cc 15 20 20 20 20 20 20 20 20 e7 20 6e 24 3d 22 |.. . n$="| 00000520 22 20 8c 0d 01 d6 1f 20 20 20 20 20 20 20 20 20 |" ..... | 00000530 20 20 20 d5 20 23 6f 75 74 25 2c 20 67 72 6f 75 | . #out%, grou| 00000540 70 24 0d 01 e0 0d 20 20 20 20 20 20 20 20 cd 0d |p$.... ..| 00000550 01 ea 13 20 20 20 20 20 20 20 20 6f 24 20 3d 20 |... o$ = | 00000560 6e 24 0d 01 f4 09 20 20 20 20 ce 0d 01 fe 0e 20 |n$.... ..... | 00000570 20 20 20 d9 20 23 69 6e 25 0d 02 08 0f 20 20 20 | . #in%.... | 00000580 20 d9 20 23 6f 75 74 25 0d 02 12 05 cc 0d 02 1c | . #out%........| 00000590 23 20 20 20 20 6f 75 74 25 20 3d 20 ae 28 70 61 |# out% = .(pa| 000005a0 74 68 24 20 2b 20 22 2e 61 63 74 69 76 65 22 29 |th$ + ".active")| 000005b0 0d 02 26 3b 20 20 20 20 e7 20 6f 75 74 25 20 3d |..&; . out% =| 000005c0 20 30 20 8c 20 f2 65 78 69 74 28 31 2c 20 22 63 | 0 . .exit(1, "c| 000005d0 6f 75 6c 64 20 6e 6f 74 20 6f 70 65 6e 20 67 72 |ould not open gr| 000005e0 6f 75 70 73 20 66 69 6c 65 22 29 0d 02 30 17 20 |oups file")..0. | 000005f0 20 20 20 d5 20 23 6f 75 74 25 2c 20 67 72 6f 75 | . #out%, grou| 00000600 70 24 0d 02 3a 0f 20 20 20 20 d9 20 23 6f 75 74 |p$..:. . #out| 00000610 25 0d 02 44 05 cd 0d 02 4e 04 0d 02 58 2a ff 20 |%..D....N...X*. | 00000620 28 22 73 65 74 74 79 70 65 20 22 20 2b 20 70 61 |("settype " + pa| 00000630 74 68 24 20 2b 20 22 2e 61 63 74 69 76 65 20 46 |th$ + ".active F| 00000640 46 46 22 29 0d 02 62 04 0d 02 6c 41 f4 20 75 70 |FF")..b...lA. up| 00000650 64 61 74 65 20 6e 65 77 67 72 6f 75 70 73 20 66 |date newgroups f| 00000660 69 6c 65 2e 2e 2e 20 49 20 61 6d 20 6e 6f 74 20 |ile... I am not | 00000670 73 75 72 65 20 77 65 74 68 65 72 20 74 68 69 73 |sure wether this| 00000680 20 69 73 20 67 6f 69 6e 67 0d 02 76 40 f4 20 74 | is going..v@. t| 00000690 6f 20 77 6f 72 6b 20 61 73 20 49 20 65 78 70 65 |o work as I expe| 000006a0 63 74 20 69 74 20 74 6f 2e 2e 2e 20 49 66 20 74 |ct it to... If t| 000006b0 68 69 73 20 66 69 6c 65 20 69 73 20 6e 6f 74 20 |his file is not | 000006c0 77 72 69 74 61 62 6c 65 2c 0d 02 77 25 f4 20 64 |writable,..w%. d| 000006d0 6f 6e 27 74 20 63 6f 6d 70 6c 61 69 6e 2c 20 6a |on't complain, j| 000006e0 75 73 74 20 69 67 6e 6f 72 65 20 69 74 2e 0d 02 |ust ignore it...| 000006f0 80 23 f4 20 70 31 24 20 3d 20 46 4e 67 65 74 65 |.#. p1$ = FNgete| 00000700 6e 76 28 22 4e 65 77 73 44 69 72 24 44 69 72 22 |nv("NewsDir$Dir"| 00000710 29 0d 02 8a 17 f4 20 49 46 20 70 31 24 20 3c 3e |)..... IF p1$ <>| 00000720 20 22 22 20 54 48 45 4e 0d 02 94 23 f4 20 20 20 | "" THEN...#. | 00000730 20 20 70 31 24 20 2b 3d 20 22 2e 73 63 72 61 70 | p1$ += ".scrap| 00000740 2e 4e 65 77 54 61 79 6c 6f 72 22 0d 02 9e 25 f4 |.NewTaylor"...%.| 00000750 20 20 20 20 20 49 46 20 46 4e 6f 62 6a 74 79 70 | IF FNobjtyp| 00000760 65 28 70 31 24 29 20 3c 3e 20 30 20 54 48 45 4e |e(p1$) <> 0 THEN| 00000770 0d 02 a8 1e f4 20 20 20 20 20 20 20 20 20 75 25 |..... u%| 00000780 20 3d 20 4f 50 45 4e 55 50 28 70 31 24 29 0d 02 | = OPENUP(p1$)..| 00000790 b2 0e f4 20 20 20 20 20 45 4c 53 45 0d 02 bc 1f |... ELSE....| 000007a0 f4 20 20 20 20 20 20 20 20 20 75 25 20 3d 20 4f |. u% = O| 000007b0 50 45 4e 4f 55 54 28 70 31 24 29 0d 02 c6 0f f4 |PENOUT(p1$).....| 000007c0 20 20 20 20 20 45 4e 44 49 46 0d 02 c7 18 f4 20 | ENDIF..... | 000007d0 20 20 20 20 49 46 20 75 25 20 3e 20 30 20 54 48 | IF u% > 0 TH| 000007e0 45 4e 0d 02 d0 1d f4 20 20 20 20 20 20 20 20 20 |EN..... | 000007f0 42 50 55 54 23 75 25 2c 20 67 72 6f 75 70 24 0d |BPUT#u%, group$.| 00000800 02 da 16 f4 20 20 20 20 20 20 20 20 20 43 4c 4f |.... CLO| 00000810 53 45 23 75 25 0d 02 db 0f f4 20 20 20 20 20 45 |SE#u%..... E| 00000820 4e 44 49 46 0d 02 e4 0b f4 20 45 4e 44 49 46 0d |NDIF..... ENDIF.| 00000830 02 ee 04 0d 02 f8 1b f2 65 78 69 74 28 30 2c 20 |........exit(0, | 00000840 22 47 72 6f 75 70 20 61 64 64 65 64 22 29 0d 03 |"Group added")..| 00000850 02 05 e0 0d 03 0c 04 0d 03 16 36 f4 20 63 6f 6e |..........6. con| 00000860 76 65 72 74 20 61 6c 6c 20 63 68 61 72 61 63 74 |vert all charact| 00000870 65 72 73 20 69 6e 20 61 20 73 74 72 69 6e 67 20 |ers in a string | 00000880 74 6f 20 6c 6f 77 65 72 63 61 73 65 2e 0d 03 20 |to lowercase... | 00000890 05 f4 0d 03 2a 12 dd 20 a4 74 6f 6c 6f 77 65 72 |....*.. .tolower| 000008a0 28 61 24 29 0d 03 34 13 ea 20 69 25 2c 20 63 24 |(a$)..4.. i%, c$| 000008b0 2c 20 63 64 69 66 66 0d 03 3e 17 63 64 69 66 66 |, cdiff..>.cdiff| 000008c0 20 3d 20 97 22 61 22 20 2d 20 97 22 41 22 0d 03 | = ."a" - ."A"..| 000008d0 48 12 e3 20 69 25 20 3d 20 31 20 b8 20 a9 61 24 |H.. i% = 1 . .a$| 000008e0 0d 03 52 18 20 20 20 20 63 24 20 3d 20 c1 61 24 |..R. c$ = .a$| 000008f0 2c 20 69 25 2c 20 31 29 0d 03 5c 21 20 20 20 20 |, i%, 1)..\! | 00000900 e7 20 63 24 20 3e 3d 20 22 41 22 20 80 20 63 24 |. c$ >= "A" . c$| 00000910 20 3c 3d 20 22 5a 22 20 8c 0d 03 66 2a 20 20 20 | <= "Z" ...f* | 00000920 20 20 20 20 20 c1 61 24 2c 20 69 25 2c 20 31 29 | .a$, i%, 1)| 00000930 20 3d 20 bd 28 97 28 63 24 29 20 2b 20 63 64 69 | = .(.(c$) + cdi| 00000940 66 66 29 0d 03 70 09 20 20 20 20 cd 0d 03 7a 08 |ff)..p. ...z.| 00000950 3d 20 61 24 0d 03 84 04 0d 03 8e 31 f4 20 65 78 |= a$.......1. ex| 00000960 69 74 20 66 72 6f 6d 20 68 65 72 65 2c 20 72 65 |it from here, re| 00000970 74 75 72 6e 69 6e 67 20 61 70 70 72 6f 70 72 69 |turning appropri| 00000980 61 74 65 20 69 6e 66 6f 2e 0d 03 98 05 f4 0d 03 |ate info........| 00000990 a2 11 dd f2 65 78 69 74 28 6e 25 2c 61 24 29 0d |....exit(n%,a$).| 000009a0 03 ac 25 ff 28 22 73 65 74 20 4e 65 77 73 42 61 |..%.("set NewsBa| 000009b0 73 65 24 52 65 74 75 72 6e 43 6f 64 65 20 22 2b |se$ReturnCode "+| 000009c0 c3 6e 25 29 0d 03 b6 24 ff 28 22 73 65 74 20 4e |.n%)...$.("set N| 000009d0 65 77 73 42 61 73 65 24 52 65 74 75 72 6e 49 6e |ewsBase$ReturnIn| 000009e0 66 6f 20 22 2b 61 24 29 0d 03 c0 05 e0 0d 03 ca |fo "+a$)........| 000009f0 05 e1 0d 03 d4 04 0d 03 de 11 dd a4 6f 62 6a 74 |............objt| 00000a00 79 70 65 28 66 24 29 0d 03 e8 07 ea 46 25 0d 03 |ype(f$).....F%..| 00000a10 f2 1c c8 99 22 58 4f 53 5f 46 69 6c 65 22 2c 31 |...."XOS_File",1| 00000a20 37 2c 66 24 b8 74 25 3b 46 25 0d 03 fc 14 e7 28 |7,f$.t%;F%.....(| 00000a30 46 25 80 31 29 8c 3d 2d 31 3a 8b 3d 74 25 0d ff |F%.1).=-1:.=t%..| 00000a40