Even Distribution

Jerry Jensen jerry at jhjensen.com
Fri Apr 17 00:28:45 EDT 2020


 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