home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / WordProcessors / INTERWORD1.DMS / in.adf / Rexx / DiskOperations.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1993-03-15  |  620 b   |  29 lines

  1. /*
  2.  *
  3.  * Script name:     DiskOperations.rexx
  4.  * Author:          Franz Hemmer
  5.  * Purpose:         Demonstrate how to put up the 'Disk Operations' requester in InterWord.
  6.  * Related Program: InterWord Pro
  7.  * Written:         02.03.93
  8.  *
  9.  */
  10.  
  11. /*--------------------*/
  12. /* Get result in 'rc' */
  13. /*--------------------*/
  14. Options Results
  15.  
  16. /*----------------------------------------------*/
  17. /* Address InterWord port, and execute command. */
  18. /*----------------------------------------------*/
  19. ADDRESS INTERWORD1 DISK_OPERATIONS
  20. IF rc > 0 THEN
  21.     DO
  22.         SAY INTERWORD.LASTERROR
  23.     END
  24. ELSE
  25.     DO
  26.         SAY 'Disk Operations ok!'
  27.     END
  28. ENDIF
  29.