Forums > MaxMSP

coll inserting data, index in wrong order

March 17, 2014 | 6:40 am

Hi,

In the following patch you can see coll inserts the wrong indexes against the data I am inserting. Im wondering why this is? Should I not be using indexes and instead inserting the first column as symbol?

<code>

– Pasted Max Patch, click to expand. –

</code>


March 17, 2014 | 7:32 am

Are you sure you want to insert data? Inserting will renumber the coll!

If you just want to fill the coll, get rid of the "insert" in your message of do something like this:

<code>

– Pasted Max Patch, click to expand. –

</code>


March 17, 2014 | 7:34 am

Hi !
look what will happen if you send two times the same message , eg [insert 100 Device],[insert 100 Device].
As you are "inserting" [Coll] will increase your index . you need to use [store] message instead.

– Pasted Max Patch, click to expand. –

March 17, 2014 | 3:06 pm

Thanks peeps. Great solutionz :)


Viewing 4 posts - 1 through 4 (of 4 total)