home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 January / SOFM_Jan1996.bin / pc / os2 / zoc / install.fil / SCRIPT / RXSAMPLE / MISC / 1_FIRST next >
Encoding:
Text File  |  1995-09-08  |  369 b   |  20 lines

  1. /* REXX */
  2. /* ^^^^^^ REXX programs always begin with /* REXX */ on the first line */
  3.  
  4. /* clear the screen */
  5. 'CLS'
  6.  
  7. /* set a variable */
  8. WHO= World
  9.  
  10. /* output text and variable */
  11. 'WRITELN "Hello' WHO '!"'
  12.  
  13. /* Ask user for his/her name */
  14. 'ASK "What is your name"'
  15. WHO= ZOCRESULT()
  16.  
  17. /* print some text to the ZOC window */
  18. 'WRITELN "Hello' WHO '!"'
  19.  
  20.