On Thu, Feb 06, 2003 at 03:10:03PM +0100, Niels Möller () @ Pike (-) developers forum wrote:
First write an iterator code that generates all strings, starting with the empty string, all one-character strings, all two-character strings, and so on.
i'd just do sort(indices(~(<1>)) and iterate over that.
greetings, martin.