World Cup group stage: Difference between revisions

m
→‎version 2, generated game sets: added whitespace to the wording in the REXX section header.
(Added Wren)
m (→‎version 2, generated game sets: added whitespace to the wording in the REXX section header.)
Line 962:
:::*   used lowercase spellings of REXX keywords for easier reading.
:::*   removed some deadcode   (code not needed   or   code not used).
:::*   elided unnecessary   '''do'''   groups and/or loops.
:::*   aligned the numbers in the output   (used a consisted width/length).
:::*   added whitespace within assignments and other REXX clauses.
:::*   used a consistent indentation for   '''do'''   groups and/or loops.
:::*   aligned statements within   '''do'''   groups and/or loops.
:::*   didn't split   '''then'''   '''else'''   clauses.
:::*   used more compound statements   (so as to possibly have all the REXX code on one screen).
Line 974:
:::*   added more comments to explain what the statements are doing.
:::*   programmatically determined the length of the largest number that's displayed.
:::*   used   '''for'''   in   '''do'''   loops instead of   '''to'''   (faster).
:::*   added a title and indices for the boxed output to indicate what is being displayed.
:::*   used an idiomatic value for the   ''number''   of columns for the "point" numbers.
:::*   used an idiomatic method to show the place winners.
:::*   added the capability to simulate a   ''Cricket World Cup''.
<lang rexx>/*REXX pgm calculates world cup standings based on the number of games won by the teams.*/
parse arg teams win . /*obtain optional argument from the CL.*/