Hi,
For a arbitrary length string (I know the length at runtime), what loop will give me the following series of numbers?
say for $length =4
1111 1112 1113 1121 1122 1123 1131 1132 .. 3111 3112 3113 .. 3333
For a given $length, I can do this using $length nested for loops, but I can't work out how to do it for any length string.
Thanks for your wisdom.
SD
In reply to Generating lists of strings by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |