[futurebasic] Re: [FB]Base conversion and repetition.

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2003 : Group Archive : Group : All Groups

From: Scott Spencer <sj3@...>
Date: Fri, 18 Jul 2003 15:49:16 -0700
Alain,

I didn't look at your code too close, but was wondering what value you 
are expecting _withDuplicates and _withoutDuplicates to be.  The enum 
as programmed below will set them as follows:

_withDuplicates      = 0
_withoutDuplicates = 1

Is that what you intended?

On Friday, July 18, 2003, at 03:04  AM, Alain Pastor wrote:

> While I've yet to understand while the difference I got with the 
> previous code, to make it work in both circumstances, I had to do this 
> (note that the function returns now the number of combinations):
>
> '-----------
> '~'A
> '                       Runtime : RNTM Lite.INCL
> '~'B
> begin enum
> _withDuplicates
> _withoutDuplicates
> end enum
>
----
Scott Spencer
SJ3 Solutions
sj3@...