Taking multiple numbers such as coordinates and outputting one number.


    Jan 14 2012 | 7:37 am
    I am trying to use a coll to input a list of to numbers and I want it to spit out a single value should I be using the coll or is there a better object and if I should use the coll then what is the format that I have to put the list in. I have tried the following:
    0 0, 0;
    0 1, 1;
    0 2, 2;
    0 3, 3;
    0 4, 4;
    0 5, 5;
    0 6, 6;
    0 7, 7;
    0 8, 8;
    0 9, 9;
    0 10, 10;
    0 11, 11;
    0 12, 12;
    0 13, 12;
    0 14, 12;
    1 0, 13;
    1 1, 14;
    1 2, 15;
    1 3, 16;
    1 4, 17;
    1 5, 18;
    1 6, 19;
    1 7, 20;
    1 8, 21;
    1 9, 22;
    1 10, 23;
    1 11, 24;
    1 12, 25;
    1 13, 25;
    1 14, 25;
    This does not seem to work please help.

    • Jan 14 2012 | 9:37 am
      I really don't understand what you're trying to accomplish here, but the format for coll is:
      index, data_1 data_n;
    • Jan 14 2012 | 9:42 am
      yup, the comma must go.
    • Jan 15 2012 | 12:20 am
      I want it to recieve a list of two numbers such as 0 0 and then output one number. So if I send it a packed list of 0 13 I want it to output 13. Or 1 13 then 26.
    • Jan 15 2012 | 1:22 am
      If the pattern you've shown repeats every 15 digits then the following patch will accomplish what you want.