home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / REXXCH03.ZIP / ASSIGN.CMD < prev    next >
OS/2 REXX Batch file  |  1991-03-11  |  628b  |  13 lines

  1. /* some assignments */
  2. amount = 100                    /* assigns 100 to amount      */
  3. money = "dollars"               /* assigns "dollars" to money */
  4. say amount money                /* displays "100 dollars"     */
  5. amount = amount + 25            /* adds 25 to amount          */
  6. say amount money                /* displays "125 dollars"     */
  7.  
  8. /* Now get som input from the user */
  9.  
  10. say "Type a line, then press the Enter key" /* prompts the user to type */
  11. pull anything                    /* waits for the user to press the Enter key*/
  12. say "You typed:" anything        /* displays the input on the screen */
  13.