Greed: Difference between revisions

No change in size ,  6 years ago
m
→‎{{header|REXX}}: attributed (within a comment in the program) the game's inventor.
m (→‎{{header|REXX}}: added wording to the REXX section header.)
m (→‎{{header|REXX}}: attributed (within a comment in the program) the game's inventor.)
Line 349:
=={{header|REXX}}==
No attempt was made to validate the input the input arguments (parameters) for this REXX program.
<lang rexx>/*REXX program lets a user play the game of GREED (by Matthew Day) from the console (terminal). */
parse arg sw sd @ b ?r . /*obtain optional argumenst from the CL*/
if sw=='' | sw=="," then sw=79 /*cols specified? Then use the default*/