by Don Wiss <donwiss@[EMAIL PROTECTED]
>
Mar 16, 2008 at 01:00 PM
On Sun, 16 Mar 2008 15:12:37 GMT, gwhite@[EMAIL PROTECTED]
(Doug White) wrote:
>For inputs, there will be the desired postage, and a vector of available
>stamp values. I figure you want to start with multiples of the highest
>stamp value, and then work your way down in value(s) to minimize the
>number of stamps. Other possible inputs could be the maximum number of
>stamps acceptable and the "comparison tolerance" of how much over the
>exact amount is OK.
I have written something similar. It looks at a bunch of folders in a
folder and finds the best fit that is just less than the size of the DVD
that I want to burn them to. The logic I follow is a bit hard to explain
here. It is in APL+Win 7.2. I don't think it will load under version 5. So
I've sent you PDF printouts of the two main functions. They are amply
commented.
Don <www.donwiss.com> (e-mail link at home page bottom).