Calc Invoices to Pay?

Fairlight fairlite at fairlite.com
Thu Mar 13 06:03:39 PDT 2008


With neither thought nor caution, Stanley Barnett blurted:
> >     Put the numbers into an array of size N.
> >     Loop X from 0 to 2^N-1.
> >         Init sum to zero.
> >         Loop Y from 0 to N-1.
> >             If bit Y is set in X, add invoice[Y] to sum.
> >         Check if sum is desired about.
> 
> What would the filepro code look like?

How much is it worth to you?

> How long would it take filepro to do this?  

Only one way to find out.

mark->


More information about the Filepro-list mailing list