From: Harry Ohlsen Date: 2004-05-14T09:30:02+09:00 Subject: Re: How to make combinations of an array to produce all possible expressions? Robert Klemme wrote: > Ah, similar idea but nicer coding. Coming from you, that's a much appreciated compliment! > I like especially your calculation of > the counting range and int[idx] as bit test. I didn't know that one. I discovered during a re-browse of pickaxe a couple of months ago, but this is the first time I've actually had a chance to use it. > Btw, you don't need the test for length 0 if you do > > for n in 1 ... (2<