Permutations: Difference between revisions

m
→‎numbers: changed highlighting in the header section. -- ~~~~
m (→‎names: correct a subroutine invocation. -- ~~~~)
m (→‎numbers: changed highlighting in the header section. -- ~~~~)
Line 2,223:
===numbers===
This version is modeled after the Maxima program (as far as output).
<br><br>It doesn't have the formatting capabilities of REXX version 1, nor can it handle taking <math> '''X </math>''' items taken <math>''' Y </math>''' at-a-time.
<lang rexx>/*REXX program shows permutations of '''N ''' number of objects (1,2,3, ...).*/
parse arg n .; if n=='' then n=3 /*Not specified? Assume default*/
/*populate the first permuatation*/