Even Distribution

Skip Kimpel skiplondon at gmail.com
Fri Apr 17 09:43:42 EDT 2020


You did not over simplify at all!  I used your basic concept and tweaked it
and then applied it to my nested repeats and BAM... got it.

Thanks again, everybody!


On Fri, Apr 17, 2020 at 12:28 AM Jerry Jensen <jerry at jhjensen.com> wrote:

>  Hi Skip,
> Forgive me if this is not the answer you seek, or an oversimplification,
> but there is an easy way to find if the jobs can be exactly evenly
> distributed, with nothing left over:
> if (tjobs mod tdrivers) = 0 then // it is evenly distrutable.
> .Jerry
> > On Apr 16, 2020, at 7:41 PM, Skip Kimpel via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > I have working on creating a loop that would divide the number of jobs by
> > the number of users and then checking to see to see if it is evenly
> > divisible but that is kind of where I am stuck.  Everything I have tried
> > thus far has proven to be unsuccessful.

More information about the use-livecode mailing list