Kilowatt Software L.L.C.
Classic Rexx Tutorial
Language Level 4.00 (TRL-2)

Advanced examples

Here are several advanced Rexx programming examples.

  1. Replace all occurrences of one string by another string

  2. Text twirl

  3. Rexx interactive shell -- REXXTRY

  4. Calendar display

  5. Pictorial form file revision

  6. Process set of lines at end of source

  7. Guessing game to determine who buys coffee

  8. A hand of cards example -- a separate web page


Replace all occurrences of one string by another string


Text twirl

The TWIRL program is a simple program that produces all of the permutations of the letters within a word. It can be helpful for solving common jumbles that appear in daily newspapers. It is a good example of various Rexx capabilities. The program is remarkably short.


Rexx interactive shell -- REXXTRY

The REXXTRY program is a simple, but useful, interactive Rexx command shell.


Calendar display


Pictorial form file revision


Process set of lines at end of source


Guessing game to determine who buys coffee


Kilowatt Software L.L.C. -- Classic Rexx Tutorial -- Back to top
Click here if you have any comments or questions regarding this tutorial

Last updated on: 28 Nov 2015