ZL.LACE with lists of different lengths

    Aug 10 2018 | 10:35 am
    Hi, I wonder if somebody can help to make this Zl.Lace that may work with two lists of different lengths, I would like to use all the values in the longest lists repeating some of the shortest.

    • Aug 10 2018 | 3:58 pm
      I'm afraid there is no ready made solution for this case. Below my try on this:
    • Aug 10 2018 | 4:43 pm
      Thanks Klsdiz!! I think that may work!... do you know also if there is a way to combine randomly the two lists in pairs? I am using a Zl Scramble before mixing them but maybe there is already a function that can that do that allowing the duplication on the shortest list to fulfil the use of all the elements of the longest list... cheers
    • Aug 10 2018 | 7:15 pm
      No, I don't think so. I think scramble before interlacing is the easiest solution. Otherwise you have to do all the bookkeeping of list indexes yourself. Or if you want to go into total randomness, you can just pick random elements from both lists:
    • Aug 10 2018 | 7:36 pm
      Thanks! appreciated!