Kilowatt Software's
Classic Rexx Tutorial
Language Level 4.00 (TRL-2)

A hand of cards example

This example deals a hand of cards and displays it in Bridge layout. This program was written for PC console display. For other display media you will need to alter the code associated with the suitImage variable.

The Bridge layout shows the North and South hands centered. The West and East hands are displayed on the left and right side. Consequently, hands that are dealt are stored in the stem variable named HAND. prior to display.

This program also includes a shell sort -- see procedure sortDescending.


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

Last updated on: 14 Aug 2002