home *** CD-ROM | disk | FTP | other *** search
- /* Show (rexx) - uses the C:Show command to display pictures */
-
- /* ** Note ** You can use any IFF display program. Just call it Show
- and put it in your C: directory */
-
- if ~(Show('P', 'FileRequester')) then
- do
- ADDRESS COMMAND "C:Run <NIL: >NIL: DEVS:Freq <NIL: >NIL:"
- ADDRESS COMMAND "C:WaitForPort FileRequester"
- if ~(Show('P', 'FileRequester')) then
- exit
- end
-
- OPTIONS RESULTS
- ADDRESS "FileRequester"
- 'SetFileName' /* clear the file name */
- more = "TRUE"
- do while more = "TRUE"
- 'SetTitle Select a Picture to View'
- 'DisplayDef'
- 'GETFILENAME'
- if (RC = 0) then
- ADDRESS COMMAND "C:Show" Result
- else
- more = "FALSE"
- end
- exit
-