home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
install
/
reqtools
/
rexxreqtools
/
examples
/
buffered.rexx
next >
Wrap
OS/2 REXX Batch file
|
1994-10-19
|
1KB
|
29 lines
/* Buffered.rexx
* Demonstrates buffered filerequesters
*
* NOTE: `,' is a continuation character for statements that must be entered
* on several source lines!!
*/
NL = '0a'x
call addlib("rexxreqtools.library", 0, -30, 0)
call rtezrequest("This is an example of" || NL ||,
"buffered filerequesters.", "Show me")
call rtfilerequest(, , "Pick a file", , "rtfi_buffer = true")
call rtezrequest("If we now use the filerequester" || NL ||,
"again it will have remembered" || NL ||,
"the last directories contents.", "Show me more")
call rtfilerequest(, , "Pick another file")
if ~rtezrequest("Now, if you started this script from a Shell and if you" || NL ||,
"start this script again from the same Shell, the file-" || NL ||,
"requester will remember the last directories contents" || NL ||,
"inbetween executions of this script.",,
"I'll try it|I just tried it") then
call rtfreefilebuffer()