home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d3xx
/
d308
/
freq.lha
/
FReq
/
Examples
/
More
< prev
next >
Wrap
Text File
|
1990-01-18
|
702b
|
32 lines
/* more (REXX) - More command using FReq as a file requester */
/* This program assumes you have the More command located in your
SYS:Utility directory */
if ~(Show('P', 'FileRequester')) then
do
ADDRESS COMMAND "Run >NIL: DEVS:Freq"
ADDRESS COMMAND "WaitForPort FileRequester"
if ~(Show('P', 'FileRequester')) then
do
say "UnAble to Load FileRequester"
exit
end
end
OPTIONS RESULTS
ADDRESS "FileRequester"
'SetPattern' /* clear some defaults */
'SetFileName'
more = "TRUE"
do while more = "TRUE"
'SetTitle Select a Document to READ'
'DisplayDef'
'GETFILENAME'
if (RC = 0) then
ADDRESS COMMAND "SYS:Utility/More" '"' || Result || '"'
else
more = "FALSE"
end
exit 0