Home » Archimedes archive » Acorn User » AU 1997-12.adf » Regulars » StarInfo/Expound/!Expound/RunExpound

StarInfo/Expound/!Expound/RunExpound

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 » Archimedes archive » Acorn User » AU 1997-12.adf » Regulars
Filename: StarInfo/Expound/!Expound/RunExpound
Read OK:
File size: 0112 bytes
Load address: 0000
Exec address: 0000
File contents
   10SYS "OS_GetEnv" TO path$
   20i=INSTR(path$,"-expound")
   30path$=MID$(path$,i+9)
   40name$=FNleaf(path$)
   50OSCLI"TaskWindow ""<Expound$Dir>.Expound "+path$+""" -quit -name ""Expound:"+name$+""""
   60END
   70
   80DEF FNleaf(s$)
   90l$=""
  100WHILE RIGHT$(s$,1)<>"."
  110 l$=RIGHT$(s$,1)+l$
  120 s$=LEFT$(s$)
  130ENDWHILE
  140=l$

ș "OS_GetEnv" � path$
i=�path$,"-expound")
path$=�path$,i+9)
(name$=�leaf(path$)
2W�"TaskWindow ""<Expound$Dir>.Expound "+path$+""" -quit -name ""Expound:"+name$+""""
<�
F
P� �leaf(s$)
Z	l$=""
dȕ �s$,1)<>"."
n l$=�s$,1)+l$
x s$=�s$)
��
�=l$
�
00000000  0d 00 0a 1a c8 99 20 22  4f 53 5f 47 65 74 45 6e  |...... "OS_GetEn|
00000010  76 22 20 b8 20 70 61 74  68 24 0d 00 14 18 69 3d  |v" . path$....i=|
00000020  a7 70 61 74 68 24 2c 22  2d 65 78 70 6f 75 6e 64  |.path$,"-expound|
00000030  22 29 0d 00 1e 15 70 61  74 68 24 3d c1 70 61 74  |")....path$=.pat|
00000040  68 24 2c 69 2b 39 29 0d  00 28 16 6e 61 6d 65 24  |h$,i+9)..(.name$|
00000050  3d a4 6c 65 61 66 28 70  61 74 68 24 29 0d 00 32  |=.leaf(path$)..2|
00000060  57 ff 22 54 61 73 6b 57  69 6e 64 6f 77 20 22 22  |W."TaskWindow ""|
00000070  3c 45 78 70 6f 75 6e 64  24 44 69 72 3e 2e 45 78  |<Expound$Dir>.Ex|
00000080  70 6f 75 6e 64 20 22 2b  70 61 74 68 24 2b 22 22  |pound "+path$+""|
00000090  22 20 2d 71 75 69 74 20  2d 6e 61 6d 65 20 22 22  |" -quit -name ""|
000000a0  45 78 70 6f 75 6e 64 3a  22 2b 6e 61 6d 65 24 2b  |Expound:"+name$+|
000000b0  22 22 22 22 0d 00 3c 05  e0 0d 00 46 04 0d 00 50  |""""..<....F...P|
000000c0  0f dd 20 a4 6c 65 61 66  28 73 24 29 0d 00 5a 09  |.. .leaf(s$)..Z.|
000000d0  6c 24 3d 22 22 0d 00 64  12 c8 95 20 c2 73 24 2c  |l$=""..d... .s$,|
000000e0  31 29 3c 3e 22 2e 22 0d  00 6e 11 20 6c 24 3d c2  |1)<>"."..n. l$=.|
000000f0  73 24 2c 31 29 2b 6c 24  0d 00 78 0c 20 73 24 3d  |s$,1)+l$..x. s$=|
00000100  c0 73 24 29 0d 00 82 05  ce 0d 00 8c 07 3d 6c 24  |.s$).........=l$|
00000110  0d ff                                             |..|
00000112