Permutations: Difference between revisions

m
→‎{{header|REXX}}: changed the argument documentation, also added a comment in the header section. -- ~~~~
(→‎{{header|REXX}}: restructured the REXX program to use less space on RC. -- ~~~~)
m (→‎{{header|REXX}}: changed the argument documentation, also added a comment in the header section. -- ~~~~)
Line 2,036:
 
=={{header|REXX}}==
This program could be made a lot simplier if the "things" were just numbers.
<lang rexx>/*REXX program generates all permutations of N different objects. */
 
/*inbetweenChars & names are optional.*/
parse arg things bunch inbetweenChars names
 
/* inbetweenChars (optional) defaults to a [null]. */
/* names names (optional) defaults to digits (and letters). */
 
call permSets things,bunch,inbetweenChars,names