| NSEL | I | number of items (subset size) |
| NCAND | I | number of candidates (set size) |
| LIST | I(NSEL) | latest combination, LIST(1)=0 to initialize |
| J | I | status: |
| 0 = OK | ||
LIST(1)=1, LIST(2)=2, ..., LIST(NSEL)=NSELThis is also the combination returned for the ``finished'' (J=1) case. The final permutation to be generated is:
LIST(1)=NCAND, LIST(2)=NCAND1, ...,
LIST(NSEL)=NCANDNSEL+1
SLALIB --- Positional Astronomy Library