> Instead of 0, 1, 2, 3, 4, 5, 6 may be red, green, blue, yellow, black,
white.
>
> Instead of 0, 1, 2, 3, 4, 5, 6 may be 0, 1, 33, 57, 100, 104.
>
> Replacing 0, 1, 2, 3, 4, 5, 6 by a general list of anything

Read the manual sections on the permutation and combination structs. You
can use the indices stored in the data struct member to index into any
array you want. For example, you could use it to index into an array of
color names.

- Rhys

Reply via email to