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

  1. /*
  2.  *
  3.  * Script name:     Style.rexx
  4.  * Author:          Franz Hemmer
  5.  * Purpose:         Demonstrate how to set the style in InterWord.
  6.  * Related Program: InterWord Pro
  7.  * Written:         03.03.93
  8.  *
  9.  */
  10.  
  11. /*--------------------*/
  12. /* Get result in 'rc' */
  13. /*--------------------*/
  14. OPTIONS RESULTS
  15. PARSE ARG type
  16.  
  17. /*---------------------------*/
  18. /* Check for type parameter. */
  19. /*---------------------------*/
  20. IF type = "" THEN
  21.     DO
  22.         SAY 'Usage: Style <type>'
  23.         SAY 'Supported styles: NORMAL, ITALIC, BOLD, ...'
  24.         EXIT 5
  25.     END
  26. ENDIF
  27.  
  28. /*-------------------------*/
  29. /* Address INTERWORD port. */
  30. /*-------------------------*/
  31. ADDRESS INTERWORD1 STYLE type
  32.