Amiga World Official AmigaDOS 2 Companion - eBook-ENG

Page 365

Practical ARexx respnum =

if say +

C2D(response)

(respnum <= numchar)

count)

347

then

|

(respnum > numchar +

do

"You must

enter a

letter

from A to

"D2C(numchar

count)

say

signal menu end

volsub = volname

LIST

"

respnum =

""""

>T:cat"

||

numchar vol.volsub

volname

||

"DATES

":"""

BLOCK ALL"

return = Open(input_file,"Treat","R") return = Open(out_file,"T:list","W")

do until

EOF (input_file)

in__line = ReadLn (input_file) if in_line = "" then iterate

if Left (in_line,l) = ":" then iterate if Left (in_line,ll) = "Directory """ then do len = Length(in_line)

in_line = SubStr(in_line,12,len +1-12) qpos

= Pos("""",in_line)

curdir = Left (in_line,qpos

-

1)

iterate end

if Find(in_line,"blocks used") timepos = LastPos(" datepos

propos

= LastPos("

= LastPos("

blockpos fpos

",in_line,timepos

",in_line,datepos

= LastPos("

= LastPos("

~= 0 then iterate

",in_line) -

-

",in_line,propos

",in_line,blockpos

fname

= Left(in_line,fpos

fname

=

-1

fdate

= SubStr(in_line,datepos

-

1)

1) -

1)

1)

)

Strip(fname,"T")

+

1,timepos

-

1,propos

-

datepos)

block =

SubStr(in_line,blockpos

+

blockpos) if block

=

"Dir"

then

return = WriteLn(out_file,fname Path="curdir"

"(Dir)

C/M="fdate)

else

return = WriteLn(out_file,fname " Path="curdir" M="fdate"Size="block)

end

C/


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.